
/* ==========================================
   AXVIA — WEBSITE INTAKE
   COMPLETE STYLESHEET
========================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');


/* ==========================================
   VARIABLES
========================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f8faff;

  --surface: #ffffff;
  --surface-soft: #f5f8ff;
  --surface-hover: #edf3ff;

  --border: #e3eaf4;
  --border-strong: #c9d6e8;

  --text: #131c2e;
  --text-soft: #53627a;
  --text-muted: #8290a5;

  --primary: #2458ed;
  --primary-hover: #1745d0;
  --primary-light: #e9efff;
  --primary-border: #cbd9ff;

  --blue: #2458ed;

  --success: #16865a;
  --danger: #db4455;

  --radius-sm: 10px;
  --radius-md: 15px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --font-body: "DM Sans", sans-serif;
  --font-heading: "Manrope", sans-serif;

  --shadow:
    0 16px 50px rgba(28, 55, 105, 0.07);

  --shadow-small:
    0 5px 22px rgba(28, 55, 105, 0.045);

  --shadow-primary:
    0 9px 24px rgba(36, 88, 237, 0.18);
}


/* ==========================================
   RESET
========================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
}

body {
  margin: 0;
  min-width: 320px;

  background:
    radial-gradient(
      ellipse 70% 35% at 100% 5%,
      rgba(36, 88, 237, 0.045),
      transparent 80%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fbfcff 100%
    );

  color: var(--text);

  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;

  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}


/* ==========================================
   APP
========================================== */

.intake-app {
  display: flex;
  flex-direction: column;

  min-height: 100vh;
  min-height: 100dvh;
}


/* ==========================================
   HEADER
========================================== */

.intake-header {
  position: sticky;
  top: 0;
  z-index: 100;

  width: 100%;

  border-bottom: 1px solid var(--border);

  background: rgba(255, 255, 255, 0.97);

  box-shadow:
    0 2px 12px rgba(20, 28, 45, 0.025);
}

.intake-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  width: min(1180px, calc(100% - 48px));
  min-height: 76px;

  margin: 0 auto;
}


/* ========================================
   Logo
======================================== */

.intake-logo {
  display: inline-flex;
  align-items: center;

  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;

  line-height: 1;
  letter-spacing: -0.075em;

  color: var(--text);
}

.intake-logo span {
  color: var(--primary);
}


/* ========================================
   Header Status
======================================== */

.intake-header-status {
  display: inline-flex;
  align-items: center;

  gap: 9px;

  color: var(--text-soft);

  font-size: 10px;
  font-weight: 800;

  line-height: 1.5;
  letter-spacing: 0.09em;

  text-transform: uppercase;
}

.status-dot {
  display: block;
  flex-shrink: 0;

  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: var(--primary);

  box-shadow:
    0 0 0 4px var(--primary-light);
}


/* ==========================================
   PROGRESS BAR
========================================== */

.progress-shell {
  position: sticky;
  top: 76px;
  z-index: 90;

  width: 100%;

  background: rgba(248, 250, 255, 0.98);

  border-bottom: 1px solid var(--border);
}

.progress-container {
  width: min(1180px, calc(100% - 48px));

  margin: 0 auto;
  padding: 14px 0 16px;
}

.progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 15px;

  margin-bottom: 10px;
}

.progress-label {
  color: var(--text-soft);

  font-size: 10px;
  font-weight: 800;

  line-height: 1.5;
  letter-spacing: 0.09em;

  text-transform: uppercase;
}

.progress-count {
  color: var(--text-muted);

  font-size: 11px;
  font-weight: 600;
}

.progress-count strong {
  color: var(--primary);
  font-weight: 800;
}


/* ========================================
   Progress Track
======================================== */

.progress-track {
  width: 100%;
  height: 5px;

  overflow: hidden;

  border-radius: var(--radius-pill);

  background: #e4eaf4;
}

.progress-fill {
  width: 11.111%;
  height: 100%;

  border-radius: inherit;

  background: var(--primary);

  transition:
    width 0.3s ease;
}


/* ==========================================
   FORM AND STEPS
========================================== */

.intake-form {
  width: 100%;
  flex: 1;
}

.form-step {
  display: none;

  width: 100%;

  padding: 60px 24px 75px;
}

.form-step.active {
  display: block;

  animation:
    stepFadeIn 0.25s ease both;
}

@keyframes stepFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ========================================
   Step Containers
======================================== */

.step-container {
  width: min(900px, 100%);
  margin: 0 auto;
}

.step-container-intro {
  width: min(1040px, 100%);

  text-align: center;
}

.step-container-review {
  width: min(1180px, 100%);
}


/* ==========================================
   EYEBROWS
========================================== */

.step-eyebrow {
  display: flex;
  align-items: center;

  gap: 11px;

  margin-bottom: 19px;

  color: var(--primary);

  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 800;

  line-height: 1.5;
  letter-spacing: 0.12em;

  text-transform: uppercase;
}

.step-container-intro .step-eyebrow {
  justify-content: center;
}

.step-eyebrow-line {
  display: block;
  flex-shrink: 0;

  width: 25px;
  height: 2px;

  border-radius: var(--radius-pill);

  background: var(--primary);
}


/* ==========================================
   TITLES
========================================== */

.step-title {
  max-width: 760px;

  margin: 0;

  color: var(--text);

  font-family: var(--font-heading);

  font-size: clamp(38px, 4.7vw, 59px);
  font-weight: 800;

  line-height: 1.12;
  letter-spacing: -0.065em;

  text-wrap: balance;
}

.step-title span {
  display: block;

  color: var(--primary);
}

.step-title-large {
  max-width: 880px;
  margin: 0 auto;

  font-size: clamp(45px, 5.8vw, 72px);
}

.step-title-large span {
  color: var(--primary);
}


/* ========================================
   Descriptions
======================================== */

.step-description {
  max-width: 680px;

  margin: 20px 0 0;

  color: var(--text-soft);

  font-size: 15px;
  font-weight: 400;

  line-height: 1.8;
}

.step-description-large {
  max-width: 760px;

  margin: 23px auto 0;

  font-size: 16px;
  line-height: 1.8;
}


/* ==========================================
   INTRO SUMMARY
========================================== */

.intro-summary {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 16px;

  margin-top: 40px;

  text-align: left;
}

.intro-summary-item {
  position: relative;

  min-height: 175px;

  padding: 25px;

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  background: var(--surface);

  box-shadow: var(--shadow-small);

  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.intro-summary-item:hover {
  transform: translateY(-3px);

  border-color: var(--primary-border);

  box-shadow: var(--shadow);
}

.intro-summary-number {
  display: inline-block;

  margin-bottom: 25px;

  color: var(--primary);

  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;

  letter-spacing: 0.08em;
}

.intro-summary-item strong {
  display: block;

  color: var(--text);

  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;

  line-height: 1.45;
  letter-spacing: -0.025em;
}

.intro-summary-item p {
  margin: 8px 0 0;

  color: var(--text-soft);

  font-size: 12px;
  line-height: 1.75;
}

.intro-note {
  margin-top: 20px;

  color: var(--text-muted);

  font-size: 12px;
  line-height: 1.7;
}


/* ==========================================
   FORM GRID
========================================== */

.form-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 23px;

  margin-top: 35px;
}

.form-grid-after {
  margin-top: 30px;
}

.form-field {
  display: flex;
  flex-direction: column;

  min-width: 0;
}

.form-field-full {
  grid-column: 1 / -1;
}


/* ==========================================
   FIELD LABELS
========================================== */

.form-field label,
.dynamic-field-heading label,
.choice-heading label {
  display: block;

  margin-bottom: 9px;

  color: var(--text);

  font-size: 12px;
  font-weight: 800;

  line-height: 1.5;
}

.form-field label > span:not(.label-optional) {
  color: var(--primary);
}

.label-optional {
  margin-left: 6px;

  color: var(--text-muted);

  font-size: 10px;
  font-weight: 600;
}


/* ==========================================
   INPUTS
========================================== */

.form-field input,
.form-field textarea,
.form-field select,
.dynamic-row input,
.hours-row input {
  width: 100%;

  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);

  outline: none;

  background: #ffffff;
  color: var(--text);

  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;

  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.form-field input,
.form-field select {
  min-height: 52px;
  padding: 0 16px;
}

.form-field textarea {
  min-height: 135px;
  padding: 15px 16px;

  line-height: 1.7;
  resize: vertical;
}

.form-field select {
  cursor: pointer;

  appearance: none;
  -webkit-appearance: none;

  padding-right: 42px;

  background-image:
    linear-gradient(
      45deg,
      transparent 50%,
      var(--text-soft) 50%
    ),
    linear-gradient(
      135deg,
      var(--text-soft) 50%,
      transparent 50%
    );

  background-position:
    calc(100% - 19px) 23px,
    calc(100% - 14px) 23px;

  background-size:
    5px 5px,
    5px 5px;

  background-repeat: no-repeat;
}

.form-field select option {
  background: #ffffff;
  color: var(--text);
}


/* ========================================
   Input Placeholders
======================================== */

.form-field input::placeholder,
.form-field textarea::placeholder,
.dynamic-row input::placeholder,
.hours-row input::placeholder {
  color: #9ca8b8;
  font-weight: 400;
}


/* ========================================
   Input Hover
======================================== */

.form-field input:hover,
.form-field textarea:hover,
.form-field select:hover,
.dynamic-row input:hover,
.hours-row input:hover {
  border-color: #9db5e2;
}


/* ========================================
   Input Focus
======================================== */

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus,
.dynamic-row input:focus,
.hours-row input:focus {
  border-color: var(--primary);

  box-shadow:
    0 0 0 4px rgba(36, 88, 237, 0.095);

  background-color: #ffffff;
}

.field-help {
  margin-top: 8px;

  color: var(--text-muted);

  font-size: 11px;
  line-height: 1.65;
}


/* ==========================================
   BUTTONS
========================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 11px;

  min-height: 49px;
  padding: 0 22px;

  border: 1px solid transparent;
  border-radius: var(--radius-pill);

  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;

  line-height: 1.4;
  text-align: center;

  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease,
    opacity 0.18s ease;
}

.btn:hover:not(:disabled) {
  transform: translateY(-2px);
}


/* ========================================
   Primary Button
======================================== */

.btn-primary {
  color: #ffffff;

  background: var(--primary);
  border-color: var(--primary);

  box-shadow: var(--shadow-primary);
}

.btn-primary:hover:not(:disabled) {
  background: var(--primary-hover);
  border-color: var(--primary-hover);

  box-shadow:
    0 13px 28px rgba(36, 88, 237, 0.22);
}


/* ========================================
   Secondary Button
======================================== */

.btn-secondary {
  color: var(--text);

  background: #ffffff;
  border-color: var(--border-strong);

  box-shadow:
    0 3px 10px rgba(20, 28, 45, 0.025);
}

.btn-secondary:hover:not(:disabled) {
  color: var(--primary);

  background: var(--primary-light);
  border-color: var(--primary-border);
}


/* ========================================
   Disabled Buttons
======================================== */

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;

  transform: none;
  box-shadow: none;
}


/* ==========================================
   STEP ACTIONS
========================================== */

.step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 15px;

  margin-top: 36px;
  padding-top: 23px;

  border-top: 1px solid var(--border);
}

.step-actions-start {
  justify-content: center;

  margin-top: 34px;
  padding-top: 0;

  border-top: none;
}


/* ==========================================
   DYNAMIC SERVICES
========================================== */

.dynamic-field-section {
  margin-top: 35px;
}

.dynamic-field-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 16px;

  margin-bottom: 15px;
}

.dynamic-field-heading p {
  margin: 4px 0 0;

  color: var(--text-muted);

  font-size: 12px;
  line-height: 1.65;
}

.dynamic-list {
  display: flex;
  flex-direction: column;

  gap: 11px;
}

.dynamic-row {
  display: grid;

  grid-template-columns:
    46px minmax(0, 1fr) 46px;

  align-items: center;
  gap: 11px;
}

.dynamic-number {
  display: grid;
  place-items: center;

  height: 52px;

  border: 1px solid var(--border);
  border-radius: var(--radius-sm);

  background: var(--surface-soft);

  color: var(--primary);

  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
}

.dynamic-row input {
  min-height: 52px;
  padding: 0 16px;
}


/* ========================================
   Remove Service
======================================== */

.dynamic-remove {
  display: grid;
  place-items: center;

  width: 46px;
  height: 46px;

  border: 1px solid var(--border);
  border-radius: var(--radius-sm);

  background: #ffffff;

  color: var(--text-muted);

  font-size: 20px;
  line-height: 1;

  transition:
    color 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.dynamic-remove:hover {
  color: var(--danger);

  background: #fff4f5;
  border-color: #f4cbd0;
}


/* ========================================
   Add Service
======================================== */

.add-item-btn {
  display: inline-flex;
  align-items: center;

  gap: 10px;

  margin-top: 16px;
  padding: 0;

  border: none;
  background: transparent;

  color: var(--primary);

  font-size: 12px;
  font-weight: 800;

  transition: color 0.18s ease;
}

.add-item-btn:hover {
  color: var(--primary-hover);
}

.add-item-btn span {
  display: grid;
  place-items: center;

  width: 25px;
  height: 25px;

  padding-bottom: 2px;

  border: 1px solid var(--primary-border);
  border-radius: 50%;

  background: var(--primary-light);

  font-size: 16px;
  line-height: 1;
}


/* ==========================================
   SUBSECTIONS
========================================== */

.subsection {
  margin-top: 38px;
  padding-top: 30px;

  border-top: 1px solid var(--border);
}

.subsection-heading {
  margin-bottom: 18px;
}

.subsection-heading > span {
  display: block;

  color: var(--text);

  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;

  letter-spacing: -0.025em;
}

.subsection-heading p {
  max-width: 680px;

  margin: 6px 0 0;

  color: var(--text-muted);

  font-size: 12px;
  line-height: 1.7;
}


/* ==========================================
   BUSINESS HOURS
========================================== */

.hours-list {
  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: var(--radius-md);

  background: #ffffff;
}

.hours-row {
  display: grid;

  grid-template-columns:
    150px minmax(0, 1fr);

  align-items: center;
  gap: 20px;

  min-height: 67px;
  padding: 9px 16px 9px 21px;
}

.hours-row + .hours-row {
  border-top: 1px solid var(--border);
}

.hours-row:nth-child(even) {
  background: #fcfdff;
}

.hours-day {
  color: var(--text);

  font-size: 12px;
  font-weight: 700;
}

.hours-row input {
  min-height: 47px;
  padding: 0 14px;
}


/* ==========================================
   UPLOADS
========================================== */

.upload-group {
  margin-top: 34px;
}

.upload-group + .upload-group {
  margin-top: 30px;
  padding-top: 30px;

  border-top: 1px solid var(--border);
}

.upload-group-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 16px;

  margin-bottom: 15px;
}

.upload-label {
  display: block;

  color: var(--text);

  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;

  line-height: 1.45;
}

.upload-group-heading p {
  max-width: 660px;

  margin: 5px 0 0;

  color: var(--text-muted);

  font-size: 12px;
  line-height: 1.7;
}

.upload-optional {
  flex-shrink: 0;

  padding: 5px 10px;

  border: 1px solid var(--border);
  border-radius: var(--radius-pill);

  background: var(--surface-soft);

  color: var(--text-muted);

  font-size: 9px;
  font-weight: 800;

  line-height: 1.5;
  letter-spacing: 0.06em;

  text-transform: uppercase;
}


/* ========================================
   Upload Zone
======================================== */

.upload-zone {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  min-height: 190px;
  padding: 27px;

  border: 1px dashed #b9cbe6;
  border-radius: var(--radius-md);

  background:
    linear-gradient(
      180deg,
      #f9fbff 0%,
      #f3f7ff 100%
    );

  text-align: center;
  cursor: pointer;

  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.upload-zone:hover,
.upload-zone:focus-within {
  transform: translateY(-1px);

  border-color: var(--primary);

  background: #eef4ff;

  box-shadow:
    0 0 0 3px rgba(36, 88, 237, 0.055);
}

.upload-zone input {
  position: absolute;

  width: 1px;
  height: 1px;

  opacity: 0;
  pointer-events: none;
}


/* ========================================
   Upload Icon
======================================== */

.upload-icon {
  display: grid;
  place-items: center;

  width: 51px;
  height: 51px;

  margin-bottom: 14px;

  border: 1px solid var(--primary-border);
  border-radius: 14px;

  background: var(--primary-light);

  color: var(--primary);

  font-size: 22px;
}

.upload-zone strong {
  color: var(--text);

  font-size: 13px;
  font-weight: 800;
}

.upload-zone > span:not(.upload-icon):not(.upload-action) {
  margin-top: 5px;

  color: var(--text-muted);

  font-size: 11px;
  line-height: 1.65;
}


/* ========================================
   Upload Action
======================================== */

.upload-action {
  margin-top: 16px;
  padding: 8px 15px;

  border: 1px solid var(--primary-border);
  border-radius: var(--radius-pill);

  background: #ffffff;

  color: var(--primary);

  font-size: 11px;
  font-weight: 800;
}

.upload-zone-large {
  min-height: 240px;
}

.upload-zone-compact {
  min-height: 100px;
  padding: 20px;
}

.upload-zone-compact strong {
  color: var(--primary);
}


/* ========================================
   Selected Files
======================================== */

.selected-files {
  display: flex;
  flex-wrap: wrap;

  gap: 9px;

  margin-top: 13px;
}

.selected-files:empty {
  display: none;
}

.file-chip {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 8px;

  max-width: 100%;
  padding: 8px 12px;

  border: 1px solid var(--primary-border);
  border-radius: 9px;

  background: var(--primary-light);

  color: var(--text-soft);

  font-size: 11px;
  overflow-wrap: anywhere;
}

.file-chip small {
  color: var(--text-muted);

  font-size: 10px;
  font-weight: 600;
}


/* ==========================================
   CHOICE SECTIONS
========================================== */

.choice-section {
  margin-top: 36px;
}

.choice-heading {
  margin-bottom: 17px;
}

.choice-heading p {
  margin: 5px 0 0;

  color: var(--text-muted);

  font-size: 12px;
  line-height: 1.7;
}


/* ==========================================
   DESIGN STYLE CHOICES
========================================== */

.style-choice-grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 13px;
}

.style-choice {
  position: relative;
  cursor: pointer;
}

.style-choice input {
  position: absolute;

  width: 1px;
  height: 1px;

  opacity: 0;
}


/* ========================================
   Style Choice Card
======================================== */

.style-choice-card {
  display: block;

  min-height: 218px;
  padding: 12px;

  border: 1px solid var(--border);
  border-radius: var(--radius-md);

  background: #ffffff;

  box-shadow: var(--shadow-small);

  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease,
    background 0.18s ease;
}

.style-choice:hover .style-choice-card {
  transform: translateY(-3px);

  border-color: #a7bceb;

  box-shadow:
    0 9px 24px rgba(28, 55, 105, 0.08);
}

.style-choice input:checked + .style-choice-card {
  border-color: var(--primary);

  background: #f9fbff;

  box-shadow:
    0 0 0 3px rgba(36, 88, 237, 0.11);
}

.style-choice input:focus-visible + .style-choice-card {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}


/* ========================================
   Style Preview Elements
======================================== */

.style-preview {
  position: relative;
  display: block;

  height: 120px;

  margin-bottom: 15px;

  overflow: hidden;

  border-radius: 9px;
}

.preview-heading,
.preview-text,
.preview-card {
  position: absolute;
  display: block;
}

.preview-heading {
  top: 25px;
  left: 20px;

  width: 58%;
  height: 8px;

  border-radius: var(--radius-pill);
}

.preview-text {
  top: 44px;
  left: 20px;

  width: 38%;
  height: 5px;

  border-radius: var(--radius-pill);
}

.preview-card {
  right: 20px;
  bottom: 18px;
  left: 20px;

  height: 34px;

  border-radius: 6px;
}


/* ========================================
   Clean Style
======================================== */

.style-preview-clean {
  background: #edf3fb;
}

.style-preview-clean .preview-heading {
  background: #1a2c48;
}

.style-preview-clean .preview-text {
  background: #8499b6;
}

.style-preview-clean .preview-card {
  border: 1px solid #d2ddec;
  background: #ffffff;
}


/* ========================================
   Bold Style
======================================== */

.style-preview-bold {
  background: #111827;
}

.style-preview-bold .preview-heading {
  width: 68%;
  background: #ffffff;
}

.style-preview-bold .preview-text {
  background: #ff5757;
}

.style-preview-bold .preview-card {
  background: #ff5757;
}


/* ========================================
   Premium Style
======================================== */

.style-preview-premium {
  background: #1a1712;
}

.style-preview-premium .preview-heading {
  background: #e6c78d;
}

.style-preview-premium .preview-text {
  background: #9c8967;
}

.style-preview-premium .preview-card {
  border: 1px solid rgba(230, 199, 141, 0.35);
  background: #252119;
}


/* ========================================
   Friendly Style
======================================== */

.style-preview-friendly {
  background: #e4f0e9;
}

.style-preview-friendly .preview-heading {
  background: #34624f;
}

.style-preview-friendly .preview-text {
  background: #83a896;
}

.style-preview-friendly .preview-card {
  background: #ffffff;
}


/* ========================================
   Style Card Text
======================================== */

.style-choice-card strong {
  display: block;

  color: var(--text);

  font-size: 12px;
  font-weight: 800;

  line-height: 1.5;
}

.style-choice-card small {
  display: block;

  margin-top: 5px;

  color: var(--text-muted);

  font-size: 10px;
  line-height: 1.6;
}


/* ==========================================
   CHECKBOX CHOICES
========================================== */

.checkbox-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 11px;
}

.checkbox-choice {
  position: relative;
  cursor: pointer;
}

.checkbox-choice input {
  position: absolute;

  width: 1px;
  height: 1px;

  opacity: 0;
}


/* ========================================
   Checkbox Card
======================================== */

.checkbox-choice span {
  position: relative;

  display: flex;
  align-items: center;

  min-height: 59px;

  padding: 12px 15px 12px 52px;

  border: 1px solid var(--border);
  border-radius: 11px;

  background: #ffffff;

  color: var(--text-soft);

  font-size: 12px;
  font-weight: 700;

  line-height: 1.5;

  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}


/* ========================================
   Checkbox Square
======================================== */

.checkbox-choice span::before {
  content: "";

  position: absolute;
  left: 17px;

  width: 20px;
  height: 20px;

  border: 1px solid #b9c7db;
  border-radius: 6px;

  background: #ffffff;
}


/* ========================================
   Checkbox Checkmark
======================================== */

.checkbox-choice span::after {
  content: "";

  position: absolute;

  left: 23px;
  top: 50%;

  width: 8px;
  height: 5px;

  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;

  opacity: 0;

  transform:
    translateY(-65%)
    rotate(-45deg);
}

.checkbox-choice:hover span {
  border-color: #a6bae5;
}

.checkbox-choice input:checked + span {
  border-color: var(--primary);

  background: #f3f7ff;

  color: var(--text);

  box-shadow:
    0 0 0 2px rgba(36, 88, 237, 0.055);
}

.checkbox-choice input:checked + span::before {
  background: var(--primary);
  border-color: var(--primary);
}

.checkbox-choice input:checked + span::after {
  opacity: 1;
}

.checkbox-choice input:focus-visible + span {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}


/* ==========================================
   FINAL REVIEW
========================================== */

.review-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr) 340px;

  align-items: start;

  gap: 23px;

  margin-top: 35px;
}

.review-main {
  display: flex;
  flex-direction: column;

  gap: 13px;

  min-width: 0;
}


/* ========================================
   Review Cards
======================================== */

.review-card {
  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: var(--radius-md);

  background: #ffffff;

  box-shadow: var(--shadow-small);
}

.review-card-heading {
  display: grid;

  grid-template-columns:
    40px minmax(0, 1fr) auto;

  align-items: center;
  gap: 12px;

  min-height: 62px;
  padding: 11px 18px;

  background: #f8faff;

  border-bottom: 1px solid var(--border);
}

.review-card-heading > span {
  color: var(--primary);

  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;

  letter-spacing: 0.07em;
}

.review-card-heading h3 {
  margin: 0;

  color: var(--text);

  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;

  line-height: 1.4;
  letter-spacing: -0.025em;
}

.review-edit {
  padding: 5px 0 5px 8px;

  border: none;
  background: transparent;

  color: var(--primary);

  font-size: 11px;
  font-weight: 800;

  transition: color 0.18s ease;
}

.review-edit:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.review-content {
  padding: 19px;

  color: var(--text-soft);

  font-size: 12px;
  line-height: 1.85;

  overflow-wrap: anywhere;
}

.review-content strong {
  color: var(--text);
}

.review-content > div + div {
  border-top: 1px solid #f0f3f8;
}


/* ==========================================
   SUBMIT SUMMARY
========================================== */

.submit-summary {
  position: sticky;
  top: 158px;

  overflow: hidden;

  border: 1px solid var(--primary-border);
  border-radius: var(--radius-lg);

  background:
    linear-gradient(
      155deg,
      #f6f9ff 0%,
      #ffffff 75%
    );

  box-shadow: var(--shadow);
}


/* ========================================
   Submit Summary Header
======================================== */

.submit-summary-top {
  padding: 26px 24px 22px;

  border-bottom: 1px solid var(--border);
}

.summary-label {
  display: block;

  margin-bottom: 12px;

  color: var(--primary);

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.submit-summary-top h3 {
  margin: 0;

  color: var(--text);

  font-family: var(--font-heading);
  font-size: 23px;
  font-weight: 800;

  line-height: 1.25;
  letter-spacing: -0.055em;
}

.submit-summary-top p {
  margin: 10px 0 0;

  color: var(--text-soft);

  font-size: 12px;
  line-height: 1.75;
}


/* ========================================
   Summary Features
======================================== */

.submit-summary-features {
  display: flex;
  flex-direction: column;

  gap: 13px;

  padding: 22px 24px;

  border-bottom: 1px solid var(--border);
}

.submit-summary-features div {
  display: flex;
  align-items: center;

  gap: 11px;

  color: var(--text-soft);

  font-size: 11px;
  font-weight: 600;

  line-height: 1.6;
}

.submit-summary-features div span {
  display: grid;
  place-items: center;

  flex-shrink: 0;

  width: 21px;
  height: 21px;

  border: 1px solid var(--primary-border);
  border-radius: 50%;

  background: var(--primary-light);

  color: var(--primary);

  font-size: 11px;
  font-weight: 800;
}


/* ========================================
   Submit Button
======================================== */

.btn-submit {
  width: calc(100% - 48px);

  min-height: 53px;

  margin: 23px 24px 11px;

  font-size: 12px;
}


/* ========================================
   Form Status
======================================== */

.form-status {
  min-height: 20px;

  padding: 0 24px 22px;

  color: var(--text-muted);

  font-size: 11px;
  line-height: 1.6;

  text-align: center;
}

.form-status.error {
  color: var(--danger);
}

.form-status.success {
  color: var(--success);
}

.review-back-action {
  justify-content: flex-start;
}


/* ==========================================
   VALIDATION
========================================== */

.form-field.has-error input,
.form-field.has-error textarea,
.form-field.has-error select {
  border-color: var(--danger);

  box-shadow:
    0 0 0 3px rgba(219, 68, 85, 0.09);
}

.field-error {
  margin-top: 7px;

  color: var(--danger);

  font-size: 11px;
  font-weight: 700;

  line-height: 1.6;
}


/* ==========================================
   SUCCESS SCREEN
========================================== */

.success-screen {
  position: fixed;
  inset: 0;
  z-index: 300;

  display: none;
  align-items: center;
  justify-content: center;

  min-height: 100vh;
  min-height: 100dvh;

  padding: 48px 20px;

  overflow-y: auto;

  background:
    radial-gradient(
      ellipse 65% 45% at 50% 0%,
      rgba(36, 88, 237, 0.09),
      transparent 85%
    ),
    #ffffff;
}

.success-screen.active {
  display: flex;
}

.success-container {
  width: min(720px, 100%);

  margin: auto;

  text-align: center;
}


/* ========================================
   Success Icon
======================================== */

.success-icon {
  display: grid;
  place-items: center;

  width: 66px;
  height: 66px;

  margin: 0 auto 23px;

  border: 1px solid var(--primary-border);
  border-radius: 50%;

  background: var(--primary-light);

  color: var(--primary);

  font-size: 27px;

  box-shadow:
    0 0 0 8px rgba(36, 88, 237, 0.035);
}


/* ========================================
   Success Text
======================================== */

.success-eyebrow {
  color: var(--primary);

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.success-container h2 {
  margin: 14px 0 0;

  color: var(--text);

  font-family: var(--font-heading);

  font-size: clamp(42px, 6vw, 64px);
  font-weight: 800;

  line-height: 1.1;
  letter-spacing: -0.07em;

  text-wrap: balance;
}

.success-container h2 span {
  display: block;
  color: var(--primary);
}

.success-container > p {
  max-width: 610px;

  margin: 20px auto 0;

  color: var(--text-soft);

  font-size: 14px;
  line-height: 1.8;
}


/* ========================================
   Success Next Steps
======================================== */

.success-next {
  margin-top: 36px;
}

.success-next-label {
  display: block;

  margin-bottom: 15px;

  color: var(--text-muted);

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.success-next-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: var(--radius-md);

  background: #ffffff;

  box-shadow: var(--shadow-small);
}

.success-next-grid div {
  padding: 23px 17px;
}

.success-next-grid div + div {
  border-left: 1px solid var(--border);
}

.success-next-grid strong {
  display: block;

  margin-bottom: 8px;

  color: var(--primary);

  font-size: 11px;
  font-weight: 800;

  letter-spacing: 0.07em;
}

.success-next-grid span {
  color: var(--text-soft);

  font-size: 11px;
  line-height: 1.7;
}


/* ==========================================
   FOOTER
========================================== */

.intake-footer {
  margin-top: auto;

  border-top: 1px solid var(--border);

  background: #f8faff;
}

.intake-footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  width: min(1180px, calc(100% - 48px));
  min-height: 74px;

  margin: 0 auto;

  color: var(--text-muted);

  font-size: 10px;
  font-weight: 500;
  line-height: 1.6;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1000px) {

  .style-choice-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .review-layout {
    grid-template-columns: 1fr;
  }

  .submit-summary {
    position: static;

    width: 100%;
    max-width: 520px;
  }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 760px) {

  /* Header and Progress */

  .intake-header-container,
  .progress-container,
  .intake-footer-container {
    width: calc(100% - 32px);
  }

  .intake-header-container {
    min-height: 68px;
  }

  .progress-shell {
    top: 68px;
  }


  /* Steps */

  .form-step {
    padding: 40px 18px 55px;
  }


  /* Typography */

  .step-title {
    font-size: clamp(35px, 8vw, 47px);
    letter-spacing: -0.055em;
  }

  .step-title-large {
    font-size: clamp(39px, 9vw, 54px);
  }

  .step-description,
  .step-description-large {
    max-width: 100%;

    font-size: 14px;
    line-height: 1.75;
  }


  /* Intro */

  .intro-summary {
    grid-template-columns: 1fr;

    gap: 12px;

    margin-top: 30px;
  }

  .intro-summary-item {
    min-height: auto;
    padding: 22px;
  }

  .intro-summary-number {
    margin-bottom: 15px;
  }


  /* Forms */

  .form-grid {
    grid-template-columns: 1fr;

    gap: 20px;

    margin-top: 29px;
  }

  .form-field-full {
    grid-column: auto;
  }


  /* Checkbox Choices */

  .checkbox-grid {
    grid-template-columns: 1fr;
  }


  /* Business Hours */

  .hours-row {
    grid-template-columns:
      110px minmax(0, 1fr);

    gap: 12px;
  }


  /* Review */

  .review-layout {
    margin-top: 30px;
  }

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 520px) {

  /* ======================================
     Header / Progress
  ====================================== */

  .intake-header-container,
  .progress-container,
  .intake-footer-container {
    width: calc(100% - 28px);
  }

  .intake-logo {
    font-size: 23px;
  }

  .intake-header-status {
    gap: 7px;

    font-size: 9px;
    letter-spacing: 0.045em;
  }

  .status-dot {
    width: 7px;
    height: 7px;
  }

  .progress-container {
    padding: 12px 0 14px;
  }


  /* ======================================
     Steps
  ====================================== */

  .form-step {
    padding: 32px 15px 48px;
  }


  /* ======================================
     Titles
  ====================================== */

  .step-eyebrow {
    gap: 9px;

    margin-bottom: 14px;

    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .step-title {
    font-size: clamp(31px, 8.5vw, 39px);

    line-height: 1.14;
    letter-spacing: -0.055em;
  }

  .step-title-large {
    font-size: clamp(35px, 9.2vw, 44px);
  }

  .step-description,
  .step-description-large {
    margin-top: 16px;

    font-size: 13px;
    line-height: 1.75;
  }


  /* ======================================
     Intro
  ====================================== */

  .intro-summary {
    margin-top: 27px;
  }

  .intro-summary-item {
    padding: 19px;
    border-radius: 14px;
  }

  .intro-summary-item strong {
    font-size: 14px;
  }

  .intro-summary-item p {
    font-size: 11px;
  }


  /* ======================================
     Form Fields
  ====================================== */

  .form-grid {
    gap: 19px;
    margin-top: 28px;
  }

  .form-field input,
  .form-field select {
    min-height: 51px;
  }

  .form-field textarea {
    min-height: 120px;
  }


  /* ======================================
     Step Actions
  ====================================== */

  .step-actions {
    gap: 11px;
    margin-top: 29px;
    padding-top: 21px;
  }

  .step-actions .btn {
    flex: 1;
    min-width: 0;

    padding: 0 12px;

    font-size: 11px;
  }

  .step-actions-start .btn {
    width: 100%;
    flex: none;
  }


  /* ======================================
     Dynamic Services
  ====================================== */

  .dynamic-field-section {
    margin-top: 30px;
  }

  .dynamic-row {
    grid-template-columns:
      37px minmax(0, 1fr) 37px;

    gap: 8px;
  }

  .dynamic-number {
    height: 48px;

    font-size: 10px;
  }

  .dynamic-row input {
    min-height: 48px;
    padding-inline: 12px;

    font-size: 12px;
  }

  .dynamic-remove {
    width: 37px;
    height: 37px;
  }


  /* ======================================
     Business Hours
  ====================================== */

  .hours-row {
    grid-template-columns: 1fr;
    gap: 7px;

    padding: 13px;
  }

  .hours-day {
    font-size: 11px;
  }

  .hours-row input {
    min-height: 46px;
  }


  /* ======================================
     Upload Zones
  ====================================== */

  .upload-group {
    margin-top: 30px;
  }

  .upload-group-heading {
    gap: 10px;
  }

  .upload-zone {
    min-height: 170px;
    padding: 22px 15px;
  }

  .upload-zone-large {
    min-height: 205px;
  }

  .upload-icon {
    width: 46px;
    height: 46px;
  }


  /* ======================================
     Style Choices
  ====================================== */

  .style-choice-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .style-choice-card {
    min-height: auto;
    padding: 13px;
  }

  .style-preview {
    height: 125px;
  }


  /* ======================================
     Review Cards
  ====================================== */

  .review-card-heading {
    grid-template-columns:
      30px minmax(0, 1fr) auto;

    gap: 8px;
    padding: 11px 13px;
  }

  .review-card-heading h3 {
    font-size: 12px;
  }

  .review-edit {
    font-size: 10px;
  }

  .review-content {
    padding: 15px;
    font-size: 11px;
  }

  /* The review rows are generated by JS with
     inline grid columns. This prevents mobile
     overflow without changing that JavaScript. */

  .review-content > div {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 3px !important;
    padding: 9px 0 !important;
  }


  /* ======================================
     Submit Summary
  ====================================== */

  .submit-summary {
    max-width: 100%;
  }

  .submit-summary-top,
  .submit-summary-features {
    padding-left: 19px;
    padding-right: 19px;
  }

  .submit-summary-top h3 {
    font-size: 21px;
  }

  .btn-submit {
    width: calc(100% - 38px);

    margin-left: 19px;
    margin-right: 19px;
  }


  /* ======================================
     Success Screen
  ====================================== */

  .success-container h2 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .success-container > p {
    font-size: 13px;
  }

  .success-next-grid {
    grid-template-columns: 1fr;
  }

  .success-next-grid div {
    padding: 17px;
  }

  .success-next-grid div + div {
    border-top: 1px solid var(--border);
    border-left: none;
  }


  /* ======================================
     Footer
  ====================================== */

  .intake-footer-container {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    gap: 5px;

    padding: 18px 0;
  }

}


/* ==========================================
   REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  .form-step.active {
    animation: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

}


/* ==========================================
   END — AXVIA WEBSITE INTAKE
========================================== */
