/* CSS Variables for TD Insurance Green Theme */
:root {
  --primary-color: #33c0b4; /* TD Green */
  --primary-hover: #33c0b4; /* Darker Green */
  --profession-accent: #33c0b4; /* Tiffany blue for Profession step */
  --profession-accent-light: rgba(51, 192, 180, 0.12);
  --primary-light: #e6f4e6; /* Soft Green background */
  --primary-glow: rgba(0, 138, 0, 0.12);
  
  --dark-green: #33c0b4; /* Dark Forest Green for headers and accents */
  
  --text-dark: #2F2F2E; /* Charcoal/Off-black */
  --text-medium: #666666; /* Medium Grey */
  --text-light: #767676; /* Muted Grey */
  
  --bg-page: #F4F7F6; /* Soft green-gray background */
  --bg-card: #FFFFFF; /* Pure White background for form container */
  --border-color: #CCCCCC; /* Muted light border */
  --border-focus: #008a00;
  
  --error-color: #33c0b4;
  --error-bg: rgba(51, 192, 180, 0.10); /* Soft red tint */
  --success-color: #008a00;
  --success-bg: #e6f4e6;
  
  --font-sans: "Open Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Open Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --border-radius: 4px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  
  --transition-smooth: all 0.2s ease-in-out;
}

/* Global Utilities */
.hidden {
  display: none !important;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.5;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

/* Sticky Header */
.sticky-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background-color: rgb(230, 0, 0);
  border-top: 0;
  border-bottom: 1px solid rgb(230, 0, 0);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.03);
  z-index: 1000;
}

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

.header-logo {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.logo-img {
  max-height: 32px; /* Reduced from 48px to look compact and premium */
  width: auto;
  object-fit: contain;
}

.header-title {
  flex: 2;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  padding: 0 16px;
}

.header-phone {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 15px;
  transition: var(--transition-smooth);
}

.phone-link:hover {
  color: var(--primary-color);
}

.phone-icon {
  display: none; /* Hide old phone icon to match TD screenshot */
}

.phone-number {
  border-bottom: 1.5px solid transparent;
}

.phone-link:hover .phone-number {
  border-bottom-color: var(--primary-color);
}

.phone-arrow {
  margin-left: 6px;
  font-size: 14px;
  font-weight: bold;
  color: var(--primary-color);
}

/* Progress Subheader */
.progress-subheader {
  background-color: #FFFFFF;
  border-bottom: 1px solid #EAEAEA;
  padding: 14px 0 0 0;
  position: sticky;
  top: 70px; /* Adjusted to match sticky-header height of 70px */
  z-index: 990;
}

.progress-container {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px 12px 24px;
}

.progress-left {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--text-medium);
}

.progress-step-text strong {
  color: var(--text-dark);
  font-weight: 700;
}

.progress-divider {
  margin: 0 8px;
  color: var(--border-color);
}

.progress-title-text {
  font-weight: 500;
  color: var(--text-dark);
}

.progress-right {
  display: flex;
  align-items: center;
}

.secure-badge {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-color); /* Matches TD green lock badge */
}

.secure-icon {
  margin-right: 4px;
  font-size: 12px;
}

/* Visual Progress Line */
.progress-bar-bg {
  width: 100%;
  height: 2px; /* Very thin, clean line */
  background-color: #EAEAEA;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  background-color: var(--primary-color);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Main Content Area */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 100px 24px;
  display: flex;
  justify-content: center;
}

.form-wrapper {
  width: 100%;
  max-width: 720px;
  overflow: visible;
  position: relative;
  transition: height 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
}

#quote-form {
  display: block;
  width: 100%;
}

/* Step Cards - elegant white card containers */
.step-card {
  background-color: var(--bg-card);
  border: 1px solid #E4EBE7;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 63, 45, 0.05);
  padding: 48px 40px;
  width: 100%;
  display: none; /* Hide inactive step cards completely from flow */
  opacity: 0;
}

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

.step-card.active {
  display: block;
  animation: fadeInCard 0.4s ease forwards;
  pointer-events: auto;
}

.step-card.completed {
  display: none; /* Keep completed steps out of the layout flow */
}

/* Step Header - Centered and clean */
.step-header {
  margin-bottom: 10px;
  text-align: center;
}

.step-question {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--dark-green); /* TD Dark Forest Green */
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.step-question::after {
  content: "?";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--primary-color);
  color: var(--primary-color);
  margin-left: 8px;
  vertical-align: middle;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  top: -3px;
}

.step-instruction {
  font-size: 16px;
  color: var(--text-medium);
  line-height: 1.5;
}

/* Main heading color only: if the step header has only one instruction line,
   that line is the top/main heading. Helper text below an H2 stays grey. */
.step-header > .step-instruction:only-child {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

/* Step Body centered container */
.step-body {
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

/* Form Groups and Inputs */
.form-group {
  margin-bottom: 24px;
  position: relative;
}

.field-subtext {
  font-size: 13px;
  color: var(--text-medium);
  margin-top: 8px;
  line-height: 1.4;
}

/* Premium Outlined Input Box (TD Style) */
.input-wrapper {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 8px 16px 10px 16px;
  background-color: #FFFFFF;
  transition: var(--transition-smooth);
  cursor: text;
}

.input-wrapper.input-with-icon {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.input-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Float-styled label inside the box */
.input-wrapper .field-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 2px;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
}

/* Clean, borderless input fields */
.input-wrapper input[type="text"],
.input-wrapper select {
  width: 100%;
  border: none !important;
  outline: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  padding: 2px 0 0 0 !important;
  font-family: var(--font-sans);
  font-size: 16px !important;
  font-weight: 600 !important;
  color: var(--text-dark) !important;
  height: auto;
  line-height: 1.3;
}

.input-wrapper input[type="text"]::placeholder {
  color: var(--text-light);
  opacity: 0.6;
  font-weight: 400;
  font-size:11px;
}

/* Input Focus States */
.input-wrapper:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 1px var(--primary-color);
}

/* Custom Icons Inside Inputs */
.input-icon-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  outline: none;
  margin-left: 10px;
  transition: var(--transition-smooth);
}

.input-icon-btn:hover {
  transform: scale(1.1);
}

.select-chevron {
  font-size: 11px;
  color: var(--text-light);
  pointer-events: none;
  margin-left: 10px;
  display: inline-flex;
  align-items: center;
}

/* Custom Calendar Popup */
.custom-calendar-popup {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 8px;
  width: 100%;
  max-width: 320px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  padding: 16px;
  z-index: 1010;
}

.custom-calendar-popup.hidden {
  display: none;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.cal-nav-btn {
  background: none;
  border: 1px solid var(--border-color);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  color: var(--text-medium);
  transition: var(--transition-smooth);
}

.cal-nav-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background-color: var(--primary-light);
}

.cal-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: 700;
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 6px;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 2px;
}

.cal-day-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.cal-day-cell:hover:not(.disabled) {
  background-color: var(--primary-light);
  color: var(--primary-color);
  font-weight: bold;
}

.cal-day-cell.selected {
  background-color: var(--primary-color) !important;
  color: #FFFFFF !important;
  font-weight: bold;
}

.cal-day-cell.disabled {
  color: var(--border-color);
  cursor: not-allowed;
  background: none;
}

.cal-day-cell.today {
  border: 1px solid var(--primary-color);
  font-weight: bold;
}

/* Custom Autocomplete Dropdown List */
.industry-dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  width: 100%;
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  max-height: 240px;
  overflow-y: auto;
  z-index: 1010;
}

.industry-dropdown-list.hidden {
  display: none;
}

.dropdown-item {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.dropdown-item:hover,
.dropdown-item.highlighted {
  background-color: var(--primary-light);
  color: var(--primary-color);
  font-weight: 500;
}

.dropdown-item-no-results {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-light);
  font-style: italic;
  text-align: center;
}

/* Profession step accent: darker than #33c0b4 */
#step-1 .searchable-select-group .input-wrapper:focus-within {
  border-color: var(--profession-accent);
  box-shadow: 0 0 0 1px var(--profession-accent);
}

#step-1 .searchable-select-group .select-chevron {
  color: var(--profession-accent);
}

#step-1 .industry-dropdown-list {
  border-color: rgba(37, 153, 143, 0.35);
}

#step-1 .dropdown-item:hover,
#step-1 .dropdown-item.highlighted {
  background-color: var(--profession-accent-light);
  color: var(--profession-accent);
}

#step-1 .dropdown-item-badge {
  background-color: var(--profession-accent-light);
  color: var(--profession-accent);
}

#step-1 .dropdown-custom-profession {
  border-top: 1px solid rgba(37, 153, 143, 0.18);
  padding: 12px 14px 14px 14px;
  background: #FFFFFF;
}

#step-1 .dropdown-custom-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--profession-accent);
  margin-bottom: 8px;
}

#step-1 .dropdown-custom-input {
  width: 100%;
  border: 1px solid rgba(37, 153, 143, 0.35);
  border-radius: var(--border-radius);
  background: #FFFFFF;
  padding: 10px 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  outline: none;
}

#step-1 .dropdown-custom-input:focus {
  border-color: var(--profession-accent);
  box-shadow: 0 0 0 1px var(--profession-accent);
}

#step-1 .custom-profession-option {
  border-top: 1px solid rgba(37, 153, 143, 0.18);
}

#step-1 .custom-profession-option .dropdown-item-title {
  color: var(--profession-accent);
}

/* Step 3 & 4: Grid Layouts */
.address-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.col-span-full {
  grid-column: span 2;
}

.owner-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.subsection-title {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 16px;
  margin-bottom: 4px;
  grid-column: span 2;
}

.dob-group {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 12px;
}

/* Custom Select drop arrows wrapper (internal select styling) */
.input-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23767676' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right -6px center;
  padding-right: 24px !important;
}

/* Custom Gender Buttons */
.gender-btn-group {
  display: flex;
  gap: 12px;
  grid-column: span 2;
}

.gender-btn {
  flex: 1;
  padding: 14px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  cursor: pointer;
  outline: none;
  transition: var(--transition-smooth);
}

.gender-btn:hover {
  background-color: #F9F9F9;
  border-color: var(--text-light);
}

.gender-btn.active {
  background-color: var(--primary-color);
  color: #FFFFFF;
  border-color: var(--primary-color);
}

/* Reusable Yes/No Toggles */
.toggle-btn-group {
  display: flex;
  gap: 12px;
}

.toggle-btn {
  flex: 1;
  padding: 14px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  cursor: pointer;
  outline: none;
  transition: var(--transition-smooth);
  text-align: center;
}

.toggle-btn:hover {
  background-color: #F9F9F9;
  border-color: var(--text-light);
}

.toggle-btn.active {
  background-color: var(--primary-color);
  color: #FFFFFF;
  border-color: var(--primary-color);
}

/* Privacy Consent callout styling */
.privacy-consent-group {
  margin-top: 24px;
}

.privacy-intro-block {
  margin-bottom: 14px;
}

.privacy-heading {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 10px;
}

.privacy-intro-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.45;
}

.privacy-callout-card {
  background-color: #F9F9F9;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 18px 20px;
}

.privacy-consent-text {
  font-size: 13px;
  color: var(--text-dark);
  line-height: 1.65;
}

.privacy-consent-text + .privacy-consent-text {
  margin-top: 14px;
}

.privacy-agreement {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  user-select: none;
}

.privacy-checkbox-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.privacy-checkbox-box {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 1.5px solid var(--border-color);
  border-radius: 3px;
  background-color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.privacy-checkbox-input:checked + .privacy-checkbox-box {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.privacy-checkbox-input:checked + .privacy-checkbox-box::after {
  content: "✓";
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.privacy-checkbox-input:focus + .privacy-checkbox-box {
  box-shadow: 0 0 0 3px rgba(51, 192, 180, 0.18);
}

.privacy-consent-group.has-error .privacy-callout-card {
  border-color: var(--error-color);
  background-color: var(--error-bg);
}

/* Navigation Actions - Centered Next button, Help link underneath */
.step-navigation {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #EAEAEA;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.btn {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--border-radius);
  cursor: pointer;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  padding: 12px 32px;
  white-space: nowrap;
  border: none;
}

.btn-primary,
.btn-next,
.btn-submit {
  background-color: var(--primary-color) !important;
  color: #FFFFFF !important;
  width: 100%;
  max-width: 240px;
}

.btn-primary:hover,
.btn-next:hover,
.btn-submit:hover {
  background-color: var(--primary-hover) !important;
}

.btn-primary:active,
.btn-next:active,
.btn-submit:active {
  transform: translateY(1px);
}

/* Hide inline back button completely as it is now at the top left */
.step-navigation .btn-back {
  display: none !important;
}

/* Help link - Styled as a centered text link underneath the Next button */
.navigation-links {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.help-link {
  color: var(--primary-color);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  padding: 0;
  transition: var(--transition-smooth);
}

.help-link:hover {
  color: var(--primary-hover);
}

/* Global Back Button Layout (placed below subheader) */
.global-back-container {
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
  padding: 16px 24px 0 24px;
  display: flex;
  justify-content: flex-start;
}

.btn-global-back {
  background: transparent !important;
  border: none !important;
  color: var(--primary-color) !important;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding: 0;
  transition: var(--transition-smooth);
}

.btn-global-back:hover {
  color: var(--primary-hover) !important;
  text-decoration: underline !important;
}

.btn-global-back i {
  font-size: 13px;
  margin-right: 4px;
}

/* Error Validations Styling */
.error-message {
  color: var(--error-color);
  font-size: 13px;
  font-weight: 700;
  margin-top: 6px;
  display: none;
}

/* When form-group has error, style nested outlined wrapper */
.form-group.has-error .input-wrapper {
  border-color: var(--error-color) !important;
  background-color: var(--error-bg);
}

.form-group.has-error .error-message {
  display: block;
}

/* Success Card Screen */
.success-card {
  background-color: #FFFFFF;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  padding: 50px 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
}

.success-icon-container {
  width: 64px;
  height: 64px;
  background-color: var(--success-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 2px solid var(--success-color);
}

.success-checkmark {
  color: var(--success-color);
  font-size: 32px;
  font-weight: bold;
}

.success-title {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.success-lead {
  font-size: 16px;
  color: var(--text-medium);
  max-width: 500px;
  margin-bottom: 32px;
  line-height: 1.5;
}

.summary-box {
  width: 100%;
  background-color: #F9F9F9;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  padding: 24px;
  text-align: left;
  margin-bottom: 32px;
}

.summary-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

.summary-item {
  display: flex;
  flex-direction: column;
}

.summary-label {
  font-size: 11px;
  color: var(--text-light);
  text-transform: uppercase;
  font-weight: 600;
}

.summary-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 2px;
}

/* Footer Section - Overhauled to TD style */
.form-footer {
  background: linear-gradient(rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.86));
  color: rgba(255, 255, 255, 0.82);
  padding: 46px 24px 32px 24px;
  border-top: 4px solid var(--primary-color);
  position: relative;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-top-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-armchair {
  max-height: 72px;
  width: auto;
  object-fit: contain;
}

.footer-contact-block {
  text-align: left;
}

.footer-contact-title {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.footer-contact-phone {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition-smooth);
}

.footer-contact-phone:hover {
  color: var(--primary-color);
}

.footer-contact-phone-arrow {
  color: var(--primary-color);
  font-weight: 900;
  margin-left: 2px;
}

.footer-hours {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}

.footer-links-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  width: 100%;
}

.footer-link {
  color: var(--primary-color) !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 13.5px;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  text-decoration: underline !important;
  color: var(--primary-hover) !important;
}

.footer-underwriter {
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 6px;
  text-align: center;
}

.footer-copyright {
  font-size: 14px;
  color: #FFFFFF;
  text-align: left;
  margin: 0;
}

.footer-bottom-row {
  width: 100%;
  border-top: 1px solid rgba(51, 192, 180, 0.65);
  margin-top: 34px;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-made-canada {
  font-size: 14px;
  color: #FFFFFF;
  text-align: right;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.canada-flag {
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.canada-flag-svg {
  width: 18px;
  height: 12px;
  display: block;
  border-radius: 1px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.25);
}

/* Capsule Scroll-to-Top Button */
.btn-scroll-top {
  position: absolute;
  right: 40px;
  bottom: 40px;
  background-color: #FFFFFF;
  border: 1.5px solid var(--primary-color);
  color: var(--primary-color);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-scroll-top:hover {
  background-color: var(--primary-light);
  color: var(--primary-hover);
  border-color: var(--primary-hover);
}

.btn-scroll-top-arrow {
  font-size: 11px;
  font-weight: bold;
}

/* Help Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.modal-card {
  background-color: #FFFFFF;
  border-radius: var(--border-radius);
  width: 90%;
  max-width: 500px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-md);
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-smooth);
  z-index: 10;
}

.modal-close-btn:hover {
  color: var(--text-dark);
}

.modal-header {
  padding: 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-icon {
  font-size: 20px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
}

.modal-intro {
  font-size: 15px;
  color: var(--text-medium);
  margin-bottom: 20px;
}

.help-section {
  background-color: #F9F9F9;
  border-radius: var(--border-radius);
  padding: 16px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

.help-section h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.help-section p {
  font-size: 13.5px;
  color: var(--text-medium);
  margin-bottom: 12px;
}

.help-phone-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  transition: var(--transition-smooth);
}

.help-phone-btn:hover {
  background-color: var(--primary-hover);
}

.help-hours {
  display: block;
  font-size: 11px;
  color: var(--text-light);
  margin-top: 8px;
}

/* FAQ Accordion */
.help-faq-section h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question:hover {
  color: var(--primary-color);
}

.faq-toggle {
  font-size: 14px;
  color: var(--text-light);
  transition: transform 0.2s ease;
}

.faq-question.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  font-size: 13px;
  color: var(--text-medium);
}

.faq-answer p {
  padding-top: 8px;
  line-height: 1.5;
}

.faq-question.active + .faq-answer {
  max-height: 160px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
}

.modal-footer .btn {
  max-width: 140px;
  padding: 10px 16px;
  font-size: 14px;
}

/* ==========================================
   REVENUE SLIDER (Step 8)
   ========================================== */
.revenue-slider-container {
  margin-bottom: 24px;
}

.revenue-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(
    to right,
    var(--primary-color) 0%,
    var(--primary-color) 10%,
    var(--border-color) 10%,
    var(--border-color) 100%
  );
  outline: none;
  cursor: pointer;
  margin-bottom: 10px;
  transition: background 0.1s;
}

.revenue-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--primary-color);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 138, 0, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.revenue-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(0, 138, 0, 0.3);
}

.revenue-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--primary-color);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 138, 0, 0.2);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-light);
  font-weight: 600;
  margin-top: 6px;
}

.revenue-display-box {
  background-color: #F9F9F9;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.revenue-display-label {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
}

.revenue-display-value {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-dark);
  font-family: var(--font-heading);
  letter-spacing: -0.5px;
}

/* ==========================================
   RADIO CARD BUTTONS (Step 6 Location Type)
   ========================================== */
.radio-card-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 4px;
}

.radio-card-btn {
  padding: 14px 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  cursor: pointer;
  outline: none;
  transition: var(--transition-smooth);
  text-align: center;
  line-height: 1.3;
}

.radio-card-btn:hover {
  background-color: var(--primary-light);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.radio-card-btn.active {
  background-color: var(--primary-color);
  color: #FFFFFF;
  border-color: var(--primary-color);
}

/* ==========================================
   CONDITIONAL SECTIONS (smooth reveal)
   ========================================== */
.conditional-section {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.35s ease,
              margin-top 0.35s ease;
  margin-top: 0;
  /* Don't use display:none so CSS transitions work */
}

.conditional-section.hidden {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  margin-top: 0;
}

.conditional-section:not(.hidden) {
  max-height: 900px;
  opacity: 1;
  pointer-events: auto;
  margin-top: 24px;
}

/* Responsiveness (Mobile layout adjustments) */
@media (max-width: 768px) {
  .sticky-header {
    height: 52px;
    border-top-width: 3px;
  }

  .header-container {
    padding: 0 12px;
    gap: 8px;
  }

  .header-logo {
    flex: 0 0 auto; /* don't stretch */
  }

  .logo-img {
    max-height: 28px;
  }

  .header-title {
    display: none; /* Hide middle title on phone screen */
  }

  /* Show only phone icon + number in compact form */
  .phone-link {
    font-size: 12px;
    font-weight: 600;
  }

  .phone-icon {
    font-size: 12px;
    margin-right: 4px;
  }

  .phone-arrow {
    display: none;
  }

  /* Progress subheader adjustments */
  .progress-subheader {
    top: 52px;
  }

  .progress-container {
    padding: 0 12px 8px 12px;
  }

  .progress-left {
    font-size: 12px;
  }

  .secure-badge {
    font-size: 11px;
  }

  .main-content {
    padding: 32px 16px 60px 16px;
  }

  .step-question {
    font-size: 22px;
  }

  .step-instruction {
    font-size: 14px;
  }

  .address-fields-grid,
  .owner-fields-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .col-span-full {
    grid-column: span 1;
  }

  .subsection-title {
    grid-column: span 1;
    font-size: 16px;
  }

  .dob-group {
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 8px;
  }

  /* Navigation row on mobile */
  .step-navigation {
    margin-top: 28px;
    padding-top: 16px;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
  }

  .btn-primary,
  .btn-next,
  .btn-submit {
    grid-column: span 2;
    max-width: 100%;
  }

  .step-navigation .btn-back {
    grid-row: 2;
    grid-column: 1;
    justify-self: center;
    margin-left: 0;
  }

  .step-navigation .navigation-links {
    grid-row: 2;
    grid-column: 2;
    justify-self: center;
    margin-right: 0;
  }

  .btn {
    font-size: 14px;
    padding: 11px 16px;
  }

  .help-link {
    font-size: 13px;
  }
}

/* Extra small phones */
@media (max-width: 380px) {
  .phone-number {
    display: none; /* Only show phone icon on very small screens */
  }

  .phone-icon {
    margin-right: 0;
  }

  .logo-img {
    max-height: 24px;
  }

  .btn {
    font-size: 12px;
    padding: 10px 12px;
  }
}

/* DB-powered profession dropdown with category badge */
.dropdown-item-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dropdown-item-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.35;
}

.dropdown-item-badge {
  flex: 0 0 auto;
  max-width: 44%;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f3f4f6;
  color: var(--text-medium);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

.dropdown-item-subtext {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-medium);
  line-height: 1.35;
}


/* Custom red header and contact links */
.sticky-header {
  background-color: rgb(230, 0, 0);
  border-top: 0;
  border-bottom: 1px solid rgb(230, 0, 0);
}

.sticky-header .header-title,
.sticky-header .phone-link,
.sticky-header .phone-number,
.sticky-header .phone-icon,
.sticky-header .whatsapp-icon {
  color: #FFFFFF;
}

.sticky-header .phone-link:hover {
  color: #FFFFFF;
  opacity: 0.9;
}

.sticky-header .phone-link:hover .phone-number {
  border-bottom-color: #FFFFFF;
}

.header-contact-actions {
  gap: 14px;
  flex-wrap: wrap;
}

.header-contact-link {
  gap: 7px;
  color: #FFFFFF;
}

.header-contact-link .phone-icon,
.header-contact-link .whatsapp-icon {
  display: inline-flex;
  font-size: 17px;
}

.header-contact-link .phone-number {
  color: #FFFFFF;
  line-height: 1.2;
}

.logo-img {
  
  border-radius: 4px;
  padding: 3px 8px;
  max-height: 40px;
}

.footer-contact-title i {
  margin-right: 5px;
}

.footer-contact-separator {
  color: var(--text-light);
  font-weight: 400;
  margin: 0 6px;
}

.footer-whatsapp i {
  font-size: 18px;
}

@media (max-width: 768px) {
  .header-contact-actions {
    gap: 10px;
  }

  .header-contact-link .phone-number {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .header-contact-link .phone-number {
    display: none;
  }

  .header-contact-link .phone-icon,
  .header-contact-link .whatsapp-icon {
    font-size: 20px;
  }
}

/* Floating placeholder fields: placeholder shows first, then label appears on click/focus or after value is entered */
.input-wrapper.floating-placeholder .field-label {
  display: none;
  margin-bottom: 2px;
}

.input-wrapper.floating-placeholder.is-focused .field-label,
.input-wrapper.floating-placeholder.has-value .field-label {
  display: block;
}

.input-wrapper.floating-placeholder:not(.is-focused):not(.has-value) {
  padding-top: 14px;
  padding-bottom: 14px;
}

.input-wrapper.floating-placeholder:not(.is-focused):not(.has-value) input[type="text"] {
  padding-top: 0 !important;
}

.input-wrapper.floating-placeholder input[type="text"]::placeholder {
  color: var(--text-light);
  opacity: 0.75;
  font-size: 15px;
  font-weight: 400;
}

.input-wrapper.floating-placeholder.is-focused input[type="text"]::placeholder,
.input-wrapper.floating-placeholder.has-value input[type="text"]::placeholder {
  opacity: 0;
}

.input-wrapper.floating-placeholder select {
  cursor: pointer;
}

/* Step 1 keeps placeholder-only behavior; label should not appear on focus/click */
#step-1 .searchable-select-group .field-label {
  display: none !important;
}

#step-1 .searchable-select-group .input-wrapper input[type="text"] {
  padding-top: 0 !important;
}

/* Clean footer after removing extra links/items */
.form-footer .footer-contact-block {
  text-align: center;
}



@media (max-width: 640px) {
  .footer-bottom-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-copyright,
  .footer-made-canada {
    text-align: center;
  }
}

/* Step 10 coverage checkbox cards */
.coverage-options-group {
  margin-top: 4px;
}

.coverage-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.coverage-checkbox-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background: #FFFFFF;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.coverage-checkbox-card:hover {
  border-color: var(--primary-color);
  background: rgba(51, 192, 180, 0.05);
}

.coverage-checkbox-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.coverage-checkbox-box {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border: 1.5px solid var(--border-color);
  border-radius: 4px;
  background: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: var(--transition-smooth);
}

.coverage-checkbox-input:checked + .coverage-checkbox-box {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.coverage-checkbox-input:checked + .coverage-checkbox-box::after {
  content: "✓";
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.coverage-checkbox-input:focus + .coverage-checkbox-box {
  box-shadow: 0 0 0 3px rgba(51, 192, 180, 0.18);
}

.coverage-checkbox-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: var(--text-dark);
}

.coverage-checkbox-content strong {
  font-size: 15px;
  line-height: 1.35;
}

.coverage-checkbox-content small {
  font-size: 13px;
  color: var(--text-medium);
  line-height: 1.45;
}

.coverage-options-group.has-error .coverage-checkbox-list {
  border: 1px solid var(--error-color);
  border-radius: var(--border-radius);
  padding: 8px;
  background: var(--error-bg);
}

.coverage-other-field {
  margin-top: 18px;
}

/* Logo link + mobile footer line fixes */
.header-logo {
  text-decoration: none !important;
  cursor: pointer;
}

.header-logo .logo-img {
  display: block;
}

.footer-contact-title {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  line-height: 1.45;
  text-align: center;
}

.footer-contact-heading {
  display: inline-block;
}

.canada-flag-svg {
  display: block;
  width: 18px;
  height: auto;
  border-radius: 1px;
}

@media (max-width: 640px) {
  .form-footer {
    padding: 34px 16px 24px 16px;
  }

  .footer-contact-block {
    width: 100%;
    text-align: center;
  }

  .footer-contact-title {
    flex-direction: column;
    align-items: center;
    gap: 7px;
    font-size: 16px;
    line-height: 1.35;
    margin-bottom: 8px;
  }

  .footer-contact-heading,
  .footer-contact-phone {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    line-height: 1.35;
    text-align: center;
  }

  .footer-contact-separator {
    display: none !important;
  }

  .footer-hours {
    max-width: 330px;
    margin: 0 auto;
    text-align: center;
    font-size: 13px;
    line-height: 1.45;
  }

  .footer-bottom-row {
    margin-top: 22px;
    padding-top: 18px;
    gap: 8px;
  }

  .footer-copyright,
  .footer-made-canada {
    width: 100%;
    justify-content: center;
    text-align: center;
    line-height: 1.4;
    font-size: 13px;
  }
}



/* Footer online support agent */
.footer-support-agent {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: 0 0 28px 0;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(51, 192, 180, 0.45);
}

.footer-support-avatar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 108px;
}

.footer-support-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: contain;
  object-position: center center;
  border: 4px solid rgba(255, 255, 255, 0.92);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.footer-support-online {
  margin-top: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(236, 253, 245, 0.96);
  border: 1px solid rgba(187, 247, 208, 0.95);
  color: #15803d;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.online-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  animation: onlineFlash 1.05s ease-in-out infinite;
  box-shadow: 0 0 0 rgba(34, 197, 94, 0.65);
}

@keyframes onlineDotPulse {
  0% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  }
  70% {
    transform: scale(1.15);
    opacity: 0.95;
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

@keyframes onlineTextBlink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

.footer-support-content {
  text-align: left;
  max-width: 620px;
}

.footer-support-content h3 {
  margin: 0 0 6px 0;
  color: #ffffff;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.2;
}

.footer-support-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.5;
}

.footer-support-actions {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-support-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  background: #dc2626;
  color: #ffffff !important;
  border: 1px solid #dc2626;
  text-decoration: none !important;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  transition: var(--transition-smooth);
}

.footer-support-btn:hover {
  background: #b91c1c;
  border-color: #b91c1c;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.footer-support-btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff !important;
}

.footer-support-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff !important;
}

@media (max-width: 640px) {
  .footer-support-agent {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
    padding-bottom: 24px;
    margin-bottom: 24px;
  }

  .footer-support-avatar {
    width: 84px;
    height: 84px;
  }

  .footer-support-content {
    text-align: center;
    max-width: 100%;
  }

  .footer-support-content h3 {
    font-size: 21px;
  }

  .footer-support-content p {
    font-size: 14px;
  }

  .footer-support-actions {
    justify-content: center;
  }

  .footer-support-btn {
    min-width: 116px;
  }
}

/* ===== User requested updates: solid category badges + 5-step vertical flow ===== */
#step-1 .dropdown-item-badge,
.dropdown-item-badge {
  background: var(--profession-accent, #33c0b4) !important;
  color: #ffffff !important;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(51,192,180,0.18);
}

#step-1 .dropdown-item:hover .dropdown-item-badge,
#step-1 .dropdown-item.highlighted .dropdown-item-badge,
.dropdown-item:hover .dropdown-item-badge,
.dropdown-item.highlighted .dropdown-item-badge {
  background: var(--profession-accent, #33c0b4) !important;
  color: #ffffff !important;
}

/* After the 5th internal card, keep completed cards visible above and show the next card below. */
.form-wrapper.vertical-flow {
  height: auto !important;
}

.form-wrapper.vertical-flow .step-card.completed {
  display: none;
}

.form-wrapper.vertical-flow .step-card.completed.flow-visible {
  display: block;
  opacity: 1;
  margin-bottom: 18px;
  pointer-events: auto;
}

.form-wrapper.vertical-flow .step-card.active {
  display: block;
  margin-bottom: 18px;
}

.form-wrapper.vertical-flow .step-card.completed.flow-visible .step-navigation {
  display: none;
}

.form-wrapper.vertical-flow .step-card.completed.flow-visible {
  box-shadow: 0 2px 10px rgba(0, 63, 45, 0.04);
}


/* Completed step update button for step-5 vertical flow */
.form-wrapper.vertical-flow .completed-step-actions {
  display: flex;
  justify-content: flex-end;
  padding: 0 24px 22px;
}

.form-wrapper.vertical-flow .btn-update-step {
  background: var(--profession-accent, #33c0b4);
  color: #ffffff;
  border: 0;
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(51,192,180,0.18);
}

.form-wrapper.vertical-flow .btn-update-step:hover {
  transform: translateY(-1px);
}

/* ===== Compact Sonny agent inside existing footer row ===== */
.footer-main-row {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 74px;
}

.footer-main-row .footer-support-agent {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 0;
  margin: 0;
  border-bottom: 0;
  max-width: 285px;
}

.footer-main-row .footer-support-avatar-wrap {
  min-width: 58px;
  align-items: center;
}

.footer-main-row .footer-support-avatar {
  width: 54px;
  height: 54px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.24);
  object-fit: contain;
  object-position: center center;
  background: #ffffff;
  padding: 2px;
}

.footer-main-row .footer-support-online {
  margin-top: 5px;
  gap: 4px;
  padding: 3px 7px;
  font-size: 10px;
  font-weight: 800;
}

.footer-main-row .online-dot {
  width: 7px;
  height: 7px;
}

.footer-main-row .footer-support-content {
  max-width: 210px;
  text-align: left;
}

.footer-main-row .footer-support-content h3 {
  margin: 0 0 2px 0;
  font-size: 13.5px;
  line-height: 1.2;
  font-weight: 800;
  color: #ffffff;
}

.footer-main-row .footer-support-content p {
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.72);
}

.footer-main-row .footer-support-actions,
.footer-main-row .footer-support-btn,
.footer-main-row .footer-support-btn-outline {
  display: none !important;
}

.footer-main-row .footer-contact-block {
  text-align: center;
  transform: translateX(clamp(42px, 4.5vw, 80px));
}

.footer-main-row .footer-contact-title {
  justify-content: center;
}

.footer-main-row .footer-hours {
  text-align: center;
  margin: 5px auto 0;
}

@media (max-width: 1100px) {
  .footer-main-row {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
    min-height: 0;
  }

  .footer-main-row .footer-support-agent {
    position: static;
    transform: none;
    max-width: 100%;
    justify-content: center;
  }

  .footer-main-row .footer-support-content {
    text-align: left;
  }

  .footer-main-row .footer-contact-block {
    text-align: center;
    transform: none;
  }
}

@media (max-width: 640px) {
  .footer-main-row .footer-support-agent {
    flex-direction: row;
    gap: 10px;
    padding: 0;
    margin: 0;
  }

  .footer-main-row .footer-support-avatar {
    width: 50px;
    height: 50px;
  }

  .footer-main-row .footer-support-content h3 {
    font-size: 13px;
  }

  .footer-main-row .footer-support-content p {
    font-size: 10.5px;
  }
}

/* ===== Reference style Sonny footer layout ===== */
.form-footer {
  padding: 34px 24px 28px 24px;
  background: linear-gradient(rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.88));
}

.footer-reference-layout.footer-main-row {
  width: 100%;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  min-height: 0 !important;
  text-align: center !important;
}

.footer-reference-layout .footer-support-agent {
  position: static !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  width: auto !important;
  max-width: 620px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 18px !important;
  padding: 0 !important;
  margin: 0 auto 2px auto !important;
  border: 0 !important;
}

.footer-reference-layout .footer-support-avatar-wrap {
  min-width: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.footer-reference-layout .footer-support-avatar {
  width: 110px !important;
  height: 110px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center top !important;
  padding: 0 !important;
  background: #111 !important;
  border: 2px solid #12dfd1 !important;
  box-shadow: 0 0 0 2px rgba(18, 223, 209, 0.14), 0 10px 26px rgba(0, 0, 0, 0.28) !important;
}

.footer-reference-layout .footer-support-content {
  max-width: 455px !important;
  text-align: left !important;
}

.footer-reference-layout .footer-support-content h3,
.footer-reference-layout .footer-support-content > p:not(.footer-support-message) {
  display: none !important;
}

.footer-reference-layout .footer-support-message {
  margin: 0 0 8px 0 !important;
  color: #ffffff !important;
  font-size: 22px !important;
  line-height: 1.12 !important;
  font-weight: 500 !important;
  letter-spacing: -0.2px !important;
}

.footer-reference-layout .footer-support-status-row {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
}

.footer-reference-layout .footer-support-online {
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 5px 14px !important;
  min-width: 96px !important;
  border-radius: 999px !important;
  background: transparent !important;
  border: 2px solid #12dfd1 !important;
  color: #ffffff !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}

.footer-reference-layout .online-dot {
  width: 10px !important;
  height: 10px !important;
  background: #22c55e !important;
  border-radius: 50% !important;
  display: inline-block !important;
  animation: onlineDotPulse 1.2s infinite ease-in-out !important;
  box-shadow: 0 0 0 rgba(34, 197, 94, 0.55) !important;
}

.footer-reference-layout .online-text {
  display: inline-block !important;
  color: #ffffff !important;
  animation: onlineTextBlink 1.1s infinite ease-in-out !important;
  letter-spacing: 0.4px !important;
}

.footer-reference-layout .footer-mini-icon {
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 20px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.footer-reference-layout .footer-mini-icon:hover {
  color: #12dfd1 !important;
}

.footer-reference-layout .footer-contact-block {
  width: 100% !important;
  text-align: center !important;
  transform: none !important;
  margin: 0 !important;
}

.footer-reference-layout .footer-contact-title {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 8px 14px !important;
  margin: 0 0 3px 0 !important;
  color: #ffffff !important;
  font-size: 21px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.15px !important;
  text-align: center !important;
}

.footer-reference-layout .footer-contact-heading {
  display: inline-flex !important;
  align-items: center !important;
}

.footer-reference-layout .footer-contact-phone {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #ffffff !important;
  font-size: 21px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.footer-reference-layout .footer-contact-phone i {
  font-size: 20px !important;
  color: #ffffff !important;
}

.footer-reference-layout .footer-contact-separator {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: rgba(255, 255, 255, 0.35) !important;
  font-weight: 400 !important;
  margin: 0 6px !important;
}

.footer-reference-layout .footer-hours {
  margin: 2px auto 0 auto !important;
  text-align: center !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 13.5px !important;
  line-height: 1.4 !important;
}

.footer-bottom-row {
  margin-top: 34px !important;
  padding-top: 23px !important;
}

@keyframes onlineDotPulse {
  0% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  }
  70% {
    transform: scale(1.15);
    opacity: 0.95;
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

@keyframes onlineTextBlink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.42;
  }
}

@media (max-width: 700px) {
  .footer-reference-layout .footer-support-agent {
    gap: 14px !important;
    align-items: center !important;
  }

  .footer-reference-layout .footer-support-avatar {
    width: 86px !important;
    height: 86px !important;
  }

  .footer-reference-layout .footer-support-message {
    font-size: 18px !important;
  }

  .footer-reference-layout .footer-contact-title,
  .footer-reference-layout .footer-contact-phone {
    font-size: 17px !important;
  }

  .footer-reference-layout .footer-hours {
    font-size: 12.5px !important;
  }
}

@media (max-width: 480px) {
  .footer-reference-layout .footer-support-agent {
    flex-direction: column !important;
    text-align: center !important;
  }

  .footer-reference-layout .footer-support-content {
    text-align: center !important;
  }

  .footer-reference-layout .footer-support-status-row {
    justify-content: center !important;
  }

  .footer-reference-layout .footer-contact-title {
    flex-direction: column !important;
    gap: 7px !important;
  }

  .footer-reference-layout .footer-contact-separator {
    display: none !important;
  }
}

/* ===== Final Sonny footer polish matching provided reference ===== */
.form-footer {
  background: #1f1f1f !important;
  padding: 34px 24px 28px 24px !important;
}

.footer-reference-layout.footer-main-row {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  text-align: center !important;
}

.footer-reference-layout .footer-support-agent {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 18px !important;
  max-width: 580px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.footer-reference-layout .footer-support-avatar {
  width: 108px !important;
  height: 108px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center top !important;
  border: 2px solid #12dfd1 !important;
  background: #111 !important;
  box-shadow: 0 0 0 2px rgba(18, 223, 209, 0.14), 0 10px 26px rgba(0, 0, 0, 0.28) !important;
}

.footer-reference-layout .footer-support-content {
  max-width: 430px !important;
  text-align: left !important;
}

.footer-reference-layout .footer-support-message {
  margin: 0 0 8px 0 !important;
  color: #ffffff !important;
  font-size: 21px !important;
  line-height: 1.15 !important;
  font-weight: 500 !important;
  letter-spacing: -0.2px !important;
}

.footer-reference-layout .footer-support-status-row {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
}

.footer-reference-layout .footer-support-online {
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 5px 14px !important;
  min-width: 92px !important;
  border-radius: 999px !important;
  background: transparent !important;
  border: 2px solid #12dfd1 !important;
  color: #ffffff !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}

.footer-reference-layout .online-dot {
  width: 10px !important;
  height: 10px !important;
  background: #22c55e !important;
  border-radius: 50% !important;
  display: inline-block !important;
  animation: onlineDotPulse 1.2s infinite ease-in-out !important;
  box-shadow: 0 0 0 rgba(34, 197, 94, 0.55) !important;
}

.footer-reference-layout .online-text {
  color: #ffffff !important;
  display: inline-block !important;
  animation: onlineTextBlink 1.05s infinite ease-in-out !important;
  letter-spacing: 0.4px !important;
}

.footer-reference-layout .footer-mini-icon {
  color: #12dfd1 !important;
  font-size: 20px !important;
  line-height: 1 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.footer-reference-layout .footer-contact-block {
  width: 100% !important;
  text-align: center !important;
  margin: 0 !important;
}

.footer-reference-layout .footer-contact-title {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 8px 14px !important;
  margin: 0 0 4px 0 !important;
  color: #ffffff !important;
  font-size: 21px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.15px !important;
  text-align: center !important;
}

.footer-reference-layout .footer-contact-phone {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #ffffff !important;
  font-size: 21px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.footer-reference-layout .footer-contact-phone i {
  color: #ffffff !important;
  font-size: 20px !important;
}

.footer-reference-layout .footer-contact-separator {
  color: rgba(255, 255, 255, 0.35) !important;
  font-weight: 400 !important;
  margin: 0 6px !important;
}

.footer-reference-layout .footer-hours {
  margin: 2px auto 0 auto !important;
  text-align: center !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 13.5px !important;
  line-height: 1.4 !important;
}

.footer-bottom-row {
  margin-top: 34px !important;
  padding-top: 23px !important;
  border-top-color: #18bdb5 !important;
}

@media (max-width: 700px) {
  .footer-reference-layout .footer-support-agent {
    gap: 14px !important;
  }

  .footer-reference-layout .footer-support-avatar {
    width: 86px !important;
    height: 86px !important;
  }

  .footer-reference-layout .footer-support-message {
    font-size: 18px !important;
  }

  .footer-reference-layout .footer-contact-title,
  .footer-reference-layout .footer-contact-phone {
    font-size: 17px !important;
  }
}

@media (max-width: 480px) {
  .footer-reference-layout .footer-support-agent {
    flex-direction: column !important;
    text-align: center !important;
  }

  .footer-reference-layout .footer-support-content,
  .footer-reference-layout .footer-support-status-row {
    text-align: center !important;
    justify-content: center !important;
  }

  .footer-reference-layout .footer-contact-title {
    flex-direction: column !important;
    gap: 7px !important;
  }

  .footer-reference-layout .footer-contact-separator {
    display: none !important;
  }
}

/* Final user-requested footer adjustments */
.footer-reference-layout .footer-support-status-row {
  justify-content: center !important;
}
.footer-reference-layout .footer-phone-icon {
  order: 1 !important;
}
.footer-reference-layout .footer-support-online {
  order: 2 !important;
}
.footer-reference-layout .footer-whatsapp-icon {
  order: 3 !important;
}
@media (max-width: 480px) {
  .footer-reference-layout .mobile-commercial-break {
    display: block !important;
  }
}

/* ===== Final footer alignment like latest reference ===== */
.form-footer {
    background: #1f1f1f !important;
    padding: 28px 24px 26px !important;
}

.footer-reference-layout.footer-main-row {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    text-align: center !important;
}

.footer-reference-layout .footer-support-agent {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    text-align: left !important;
}

.footer-reference-layout .footer-support-avatar-wrap {
    flex: 0 0 auto !important;
}

.footer-reference-layout .footer-support-avatar {
    width: 112px !important;
    height: 112px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center top !important;
    border: 2px solid #12dfd1 !important;
    box-shadow: 0 0 0 2px rgba(18, 223, 209, 0.20) !important;
    background: #fff !important;
}

.footer-reference-layout .footer-support-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    max-width: 440px !important;
    text-align: left !important;
}

.footer-reference-layout .footer-support-message {
    margin: 0 0 8px 0 !important;
    color: #ffffff !important;
    font-size: 22px !important;
    line-height: 1.08 !important;
    font-weight: 500 !important;
    letter-spacing: -0.2px !important;
}

.footer-reference-layout .footer-support-status-row {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
}

.footer-reference-layout .footer-support-online {
    order: 1 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    padding: 5px 13px !important;
    min-width: 96px !important;
    border-radius: 999px !important;
    background: transparent !important;
    border: 2px solid #12dfd1 !important;
    color: #ffffff !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
}

.footer-reference-layout .online-dot {
    width: 10px !important;
    height: 10px !important;
    background: #22c55e !important;
    border-radius: 50% !important;
    display: inline-block !important;
    animation: onlineDotPulse 1.2s infinite ease-in-out !important;
    box-shadow: 0 0 0 rgba(34, 197, 94, 0.55) !important;
}

.footer-reference-layout .online-text {
    display: inline-block !important;
    color: #ffffff !important;
    animation: onlineTextBlink 1.1s infinite ease-in-out !important;
    letter-spacing: 0.4px !important;
}

.footer-reference-layout .footer-mini-icon {
    color: #12dfd1 !important;
    text-decoration: none !important;
    font-size: 22px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.footer-reference-layout .footer-phone-icon {
    order: 2 !important;
}

.footer-reference-layout .footer-whatsapp-icon {
    order: 3 !important;
}

.footer-reference-layout .footer-mini-icon:hover {
    color: #ffffff !important;
}

.footer-reference-layout .footer-contact-block {
    width: 100% !important;
    text-align: center !important;
    transform: none !important;
    margin: 2px auto 0 !important;
}

.footer-reference-layout .footer-contact-title {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px 12px !important;
    margin: 0 0 3px 0 !important;
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.15px !important;
    text-align: center !important;
}

.footer-reference-layout .footer-contact-heading {
    display: inline-flex !important;
    align-items: center !important;
}

.footer-reference-layout .footer-contact-phone {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

.footer-reference-layout .footer-contact-phone i {
    font-size: 21px !important;
    color: #ffffff !important;
}

.footer-reference-layout .footer-hours {
    margin: 2px auto 0 auto !important;
    text-align: center !important;
    color: rgba(255, 255, 255, 0.70) !important;
    font-size: 13.5px !important;
    line-height: 1.35 !important;
}

.footer-bottom-row {
    margin-top: 34px !important;
    padding-top: 23px !important;
}

@media (max-width: 700px) {
    .footer-reference-layout .footer-support-avatar {
        width: 94px !important;
        height: 94px !important;
    }

    .footer-reference-layout .footer-support-message {
        font-size: 18px !important;
    }

    .footer-reference-layout .footer-contact-title,
    .footer-reference-layout .footer-contact-phone {
        font-size: 18px !important;
    }

    .footer-reference-layout .footer-hours {
        font-size: 12.5px !important;
    }
}

@media (max-width: 480px) {
    .form-footer {
        padding: 24px 16px 24px !important;
    }

    .footer-reference-layout .footer-support-agent {
        gap: 12px !important;
        align-items: center !important;
    }

    .footer-reference-layout .footer-support-avatar {
        width: 82px !important;
        height: 82px !important;
    }

    .footer-reference-layout .footer-support-content {
        max-width: 235px !important;
    }

    .footer-reference-layout .footer-support-message {
        font-size: 16px !important;
        line-height: 1.08 !important;
    }

    .footer-reference-layout .mobile-commercial-break {
        display: block !important;
    }

    .footer-reference-layout .footer-support-online {
        min-width: 84px !important;
        padding: 4px 10px !important;
        font-size: 11px !important;
    }

    .footer-reference-layout .footer-mini-icon {
        font-size: 20px !important;
    }

    .footer-reference-layout .footer-contact-title {
        gap: 6px 10px !important;
    }
}

/* ===== Final row alignment fix: top image row and contact row share same left edge ===== */
.footer-reference-layout.footer-main-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    text-align: left !important;
}

.footer-reference-layout .footer-support-agent,
.footer-reference-layout .footer-contact-block {
    width: 560px !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.footer-reference-layout .footer-support-agent {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 18px !important;
    text-align: left !important;
}

.footer-reference-layout .footer-support-content {
    align-items: flex-start !important;
    text-align: left !important;
}

.footer-reference-layout .footer-support-status-row {
    justify-content: flex-start !important;
}

.footer-reference-layout .footer-contact-block {
    text-align: left !important;
    margin-top: 2px !important;
}

.footer-reference-layout .footer-contact-title {
    justify-content: flex-start !important;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.footer-reference-layout .footer-hours {
    width: 100% !important;
    text-align: center !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Mobile: keep commercial on next line */
@media (max-width: 480px) {
    .footer-reference-layout .footer-support-agent,
    .footer-reference-layout .footer-contact-block {
        width: 100% !important;
    }

    .footer-reference-layout .footer-support-agent {
        justify-content: center !important;
    }

    .footer-reference-layout .footer-contact-title {
        justify-content: center !important;
        text-align: center !important;
    }

    .footer-reference-layout .mobile-commercial-break {
        display: block !important;
    }
}

/* ===== FINAL: end-aligned footer rows + sonny4 transparent/black avatar ===== */
.form-footer {
    background: #1f1f1f !important;
    padding: 28px 24px 26px !important;
}

.footer-reference-layout.footer-main-row {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    text-align: left !important;
}

/* Same visual box for both rows, so start and end line up */
.footer-reference-layout .footer-support-agent,
.footer-reference-layout .footer-contact-block {
    width: 620px !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Top row */
.footer-reference-layout .footer-support-agent {
    display: grid !important;
    grid-template-columns: 112px 1fr !important;
    column-gap: 18px !important;
    align-items: center !important;
    justify-content: stretch !important;
    text-align: left !important;
}

.footer-reference-layout .footer-support-avatar-wrap {
    width: 112px !important;
    height: 112px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.footer-reference-layout .footer-support-avatar {
    width: 112px !important;
    height: 112px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center top !important;
    border: 2px solid #12dfd1 !important;
    box-shadow: 0 0 0 2px rgba(18, 223, 209, 0.20) !important;
    background-color: #1f1f1f !important;
    background: #1f1f1f !important;
}

.footer-reference-layout .footer-support-content {
    width: 100% !important;
    max-width: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    text-align: left !important;
}

.footer-reference-layout .footer-support-message {
    width: 100% !important;
    max-width: 490px !important;
    margin: 0 0 8px 0 !important;
    color: #ffffff !important;
    font-size: 22px !important;
    line-height: 1.08 !important;
    font-weight: 500 !important;
    letter-spacing: -0.2px !important;
}

.footer-reference-layout .footer-support-status-row {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
}

.footer-reference-layout .footer-support-online {
    order: 1 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    padding: 5px 13px !important;
    min-width: 96px !important;
    border-radius: 999px !important;
    background: transparent !important;
    border: 2px solid #12dfd1 !important;
    color: #ffffff !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
}

.footer-reference-layout .footer-phone-icon {
    order: 2 !important;
}

.footer-reference-layout .footer-whatsapp-icon {
    order: 3 !important;
}

.footer-reference-layout .footer-mini-icon {
    color: #12dfd1 !important;
    text-decoration: none !important;
    font-size: 22px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Bottom contact row uses the exact same 620px box */
.footer-reference-layout .footer-contact-block {
    text-align: left !important;
    margin-top: 2px !important;
}

.footer-reference-layout .footer-contact-title {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    margin: 0 0 3px 0 !important;
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.15px !important;
    text-align: left !important;
}

.footer-reference-layout .footer-contact-heading {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
}

.footer-reference-layout .footer-contact-phone {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.footer-reference-layout .footer-contact-phone i {
    font-size: 21px !important;
    color: #ffffff !important;
}

.footer-reference-layout .footer-hours {
    width: 100% !important;
    margin: 2px 0 0 0 !important;
    text-align: center !important;
    color: rgba(255, 255, 255, 0.70) !important;
    font-size: 13.5px !important;
    line-height: 1.35 !important;
}

/* Footer bottom remains normal */
.footer-bottom-row {
    margin-top: 34px !important;
    padding-top: 23px !important;
}

/* Tablet */
@media (max-width: 700px) {
    .footer-reference-layout .footer-support-agent,
    .footer-reference-layout .footer-contact-block {
        width: 520px !important;
    }

    .footer-reference-layout .footer-support-agent {
        grid-template-columns: 94px 1fr !important;
        column-gap: 14px !important;
    }

    .footer-reference-layout .footer-support-avatar-wrap,
    .footer-reference-layout .footer-support-avatar {
        width: 94px !important;
        height: 94px !important;
    }

    .footer-reference-layout .footer-support-message {
        font-size: 18px !important;
        max-width: 390px !important;
    }

    .footer-reference-layout .footer-contact-title,
    .footer-reference-layout .footer-contact-phone {
        font-size: 18px !important;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .form-footer {
        padding: 24px 16px 24px !important;
    }

    .footer-reference-layout .footer-support-agent,
    .footer-reference-layout .footer-contact-block {
        width: 100% !important;
    }

    .footer-reference-layout .footer-support-agent {
        grid-template-columns: 82px 1fr !important;
        column-gap: 12px !important;
    }

    .footer-reference-layout .footer-support-avatar-wrap,
    .footer-reference-layout .footer-support-avatar {
        width: 82px !important;
        height: 82px !important;
    }

    .footer-reference-layout .footer-support-message {
        max-width: 100% !important;
        font-size: 16px !important;
        line-height: 1.08 !important;
    }

    .footer-reference-layout .mobile-commercial-break {
        display: block !important;
    }

    .footer-reference-layout .footer-support-online {
        min-width: 84px !important;
        padding: 4px 10px !important;
        font-size: 11px !important;
    }

    .footer-reference-layout .footer-mini-icon {
        font-size: 20px !important;
    }

    .footer-reference-layout .footer-contact-title {
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
        gap: 6px 9px !important;
        font-size: 17px !important;
    }

    .footer-reference-layout .footer-contact-phone {
        font-size: 17px !important;
    }

    .footer-reference-layout .footer-hours {
        font-size: 12.5px !important;
        text-align: center !important;
    }
}

/* ===== Final text alignment + forced two-line support message ===== */
.footer-reference-layout .footer-support-agent,
.footer-reference-layout .footer-contact-block {
    width: 620px !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.footer-reference-layout .footer-support-content {
    width: 100% !important;
    align-items: flex-start !important;
    text-align: left !important;
}

.footer-reference-layout .footer-support-message {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 8px 0 !important;
    color: #ffffff !important;
    font-size: 22px !important;
    line-height: 1.08 !important;
    font-weight: 500 !important;
    letter-spacing: -0.2px !important;
    text-align: left !important;
}

.footer-reference-layout .footer-support-message br {
    display: block !important;
    content: "" !important;
}

.footer-reference-layout .footer-message-line2 {
    display: inline-block !important;
}

.footer-reference-layout .footer-contact-block {
    text-align: left !important;
}

.footer-reference-layout .footer-contact-title {
    width: 100% !important;
    justify-content: flex-start !important;
    text-align: left !important;
}

.footer-reference-layout .footer-hours {
    width: 100% !important;
    text-align: center !important;
}

@media (max-width: 700px) {
    .footer-reference-layout .footer-support-agent,
    .footer-reference-layout .footer-contact-block {
        width: 520px !important;
    }
    .footer-reference-layout .footer-support-message {
        font-size: 18px !important;
    }
}

@media (max-width: 480px) {
    .footer-reference-layout .footer-support-agent,
    .footer-reference-layout .footer-contact-block {
        width: 100% !important;
    }
    .footer-reference-layout .footer-support-message {
        font-size: 16px !important;
        line-height: 1.08 !important;
    }
    .footer-reference-layout .mobile-commercial-break {
        display: inline !important;
    }
}

/* ===== EXACT FINAL FOOTER ALIGNMENT =====
   Same total width for image/text row and number row.
   Bottom row starts at avatar-left and ends with top text line end area. */
.form-footer {
    background: #1f1f1f !important;
    padding: 28px 24px 26px !important;
}

.footer-reference-layout.footer-main-row {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    place-items: center !important;
    gap: 10px !important;
    text-align: left !important;
}

/* Shared alignment box */
.footer-reference-layout .footer-support-agent,
.footer-reference-layout .footer-contact-block {
    width: 560px !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}

/* Top row: 112px image + 18px gap + 430px text = 560px total */
.footer-reference-layout .footer-support-agent {
    display: grid !important;
    grid-template-columns: 112px 430px !important;
    column-gap: 18px !important;
    align-items: center !important;
    justify-content: start !important;
}

.footer-reference-layout .footer-support-avatar-wrap {
    width: 112px !important;
    height: 112px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.footer-reference-layout .footer-support-avatar {
    width: 112px !important;
    height: 112px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center top !important;
    border: 2px solid #12dfd1 !important;
    background: #1f1f1f !important;
    box-shadow: 0 0 0 2px rgba(18, 223, 209, 0.18) !important;
}

.footer-reference-layout .footer-support-content {
    width: 430px !important;
    max-width: 430px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    text-align: left !important;
}

.footer-reference-layout .footer-support-message {
    width: 430px !important;
    max-width: 430px !important;
    margin: 0 0 8px 0 !important;
    color: #ffffff !important;
    font-size: 22px !important;
    line-height: 1.08 !important;
    font-weight: 500 !important;
    letter-spacing: -0.2px !important;
    text-align: left !important;
    white-space: normal !important;
}

.footer-reference-layout .footer-support-message br {
    display: block !important;
}

.footer-reference-layout .footer-message-line2 {
    display: inline !important;
}

.footer-reference-layout .footer-support-status-row {
    display: flex !important;
    width: 430px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
}

.footer-reference-layout .footer-support-online {
    order: 1 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    padding: 5px 13px !important;
    min-width: 96px !important;
    border-radius: 999px !important;
    background: transparent !important;
    border: 2px solid #12dfd1 !important;
    color: #ffffff !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
}

.footer-reference-layout .online-dot {
    width: 10px !important;
    height: 10px !important;
    background: #22c55e !important;
    border-radius: 50% !important;
    display: inline-block !important;
    animation: onlineDotPulse 1.2s infinite ease-in-out !important;
}

.footer-reference-layout .online-text {
    color: #ffffff !important;
    animation: onlineTextBlink 1.1s infinite ease-in-out !important;
}

.footer-reference-layout .footer-phone-icon {
    order: 2 !important;
}

.footer-reference-layout .footer-whatsapp-icon {
    order: 3 !important;
}

.footer-reference-layout .footer-mini-icon {
    color: #12dfd1 !important;
    text-decoration: none !important;
    font-size: 22px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Bottom row: same 560px box, aligned from avatar-left */
.footer-reference-layout .footer-contact-block {
    text-align: left !important;
    margin-top: 0 !important;
}

.footer-reference-layout .footer-contact-title {
    width: 560px !important;
    max-width: 560px !important;
    margin: 0 0 3px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-align: left !important;
    white-space: nowrap !important;
}

.footer-reference-layout .footer-contact-heading {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
}

.footer-reference-layout .footer-contact-phone {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.footer-reference-layout .footer-contact-phone i {
    font-size: 21px !important;
    color: #ffffff !important;
}

.footer-reference-layout .footer-hours {
    width: 560px !important;
    max-width: 560px !important;
    margin: 2px 0 0 0 !important;
    text-align: center !important;
    color: rgba(255, 255, 255, 0.70) !important;
    font-size: 13.5px !important;
    line-height: 1.35 !important;
}

.footer-bottom-row {
    margin-top: 34px !important;
    padding-top: 23px !important;
}

/* Tablet */
@media (max-width: 700px) {
    .footer-reference-layout .footer-support-agent,
    .footer-reference-layout .footer-contact-block {
        width: 500px !important;
    }

    .footer-reference-layout .footer-support-agent {
        grid-template-columns: 94px 386px !important;
        column-gap: 20px !important;
    }

    .footer-reference-layout .footer-support-avatar-wrap,
    .footer-reference-layout .footer-support-avatar {
        width: 94px !important;
        height: 94px !important;
    }

    .footer-reference-layout .footer-support-content,
    .footer-reference-layout .footer-support-message,
    .footer-reference-layout .footer-support-status-row {
        width: 386px !important;
        max-width: 386px !important;
    }

    .footer-reference-layout .footer-support-message,
    .footer-reference-layout .footer-contact-title,
    .footer-reference-layout .footer-contact-phone {
        font-size: 18px !important;
    }

    .footer-reference-layout .footer-contact-title,
    .footer-reference-layout .footer-hours {
        width: 500px !important;
        max-width: 500px !important;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .form-footer {
        padding: 24px 16px 24px !important;
    }

    .footer-reference-layout .footer-support-agent,
    .footer-reference-layout .footer-contact-block {
        width: 100% !important;
    }

    .footer-reference-layout .footer-support-agent {
        grid-template-columns: 82px minmax(0, 1fr) !important;
        column-gap: 12px !important;
    }

    .footer-reference-layout .footer-support-avatar-wrap,
    .footer-reference-layout .footer-support-avatar {
        width: 82px !important;
        height: 82px !important;
    }

    .footer-reference-layout .footer-support-content,
    .footer-reference-layout .footer-support-message,
    .footer-reference-layout .footer-support-status-row {
        width: 100% !important;
        max-width: 100% !important;
    }

    .footer-reference-layout .footer-support-message {
        font-size: 16px !important;
        line-height: 1.08 !important;
    }

    .footer-reference-layout .footer-contact-title {
        width: 100% !important;
        max-width: 100% !important;
        flex-wrap: wrap !important;
        gap: 6px 9px !important;
        font-size: 17px !important;
        white-space: normal !important;
    }

    .footer-reference-layout .footer-contact-phone {
        font-size: 17px !important;
    }

    .footer-reference-layout .footer-hours {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 12.5px !important;
        text-align: center !important;
    }
}

/* Slightly bigger round avatar */
.footer-reference-layout .footer-support-agent {
    grid-template-columns: 120px 422px !important;
}

.footer-reference-layout .footer-support-avatar-wrap {
    width: 120px !important;
    height: 120px !important;
}

.footer-reference-layout .footer-support-avatar {
    width: 120px !important;
    height: 120px !important;
}

@media (max-width: 700px) {
    .footer-reference-layout .footer-support-agent {
        grid-template-columns: 100px 380px !important;
    }

    .footer-reference-layout .footer-support-avatar-wrap,
    .footer-reference-layout .footer-support-avatar {
        width: 100px !important;
        height: 100px !important;
    }
}

@media (max-width: 480px) {
    .footer-reference-layout .footer-support-agent {
        grid-template-columns: 88px minmax(0, 1fr) !important;
    }

    .footer-reference-layout .footer-support-avatar-wrap,
    .footer-reference-layout .footer-support-avatar {
        width: 88px !important;
        height: 88px !important;
    }
}

/* ===== FINAL CENTER ALIGNMENT: equal left/right page gap ===== */
.form-footer {
    background: #1f1f1f !important;
    padding: 28px 24px 26px !important;
}

.footer-reference-layout.footer-main-row {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
}

/* Same centered box for both rows */
.footer-reference-layout .footer-support-agent,
.footer-reference-layout .footer-contact-block,
.footer-reference-layout .footer-hours {
    width: min(620px, calc(100% - 32px)) !important;
    max-width: min(620px, calc(100% - 32px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Top row centered */
.footer-reference-layout .footer-support-agent {
    display: grid !important;
    grid-template-columns: 120px 1fr !important;
    column-gap: 18px !important;
    align-items: center !important;
    justify-content: center !important;
}

.footer-reference-layout .footer-support-avatar-wrap {
    width: 120px !important;
    height: 120px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.footer-reference-layout .footer-support-avatar {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center top !important;
    background: #1f1f1f !important;
}

.footer-reference-layout .footer-support-content {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    text-align: left !important;
}

.footer-reference-layout .footer-support-message {
    width: 100% !important;
    margin: 0 0 8px 0 !important;
    text-align: left !important;
}

.footer-reference-layout .footer-support-status-row {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
}

/* Bottom row perfectly centered */
.footer-reference-layout .footer-contact-block {
    text-align: center !important;
    margin-top: 0 !important;
}

.footer-reference-layout .footer-contact-title {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 3px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    text-align: center !important;
    white-space: nowrap !important;
}

.footer-reference-layout .footer-hours {
    margin-top: 2px !important;
    text-align: center !important;
}

/* Tablet */
@media (max-width: 700px) {
    .footer-reference-layout .footer-support-agent,
    .footer-reference-layout .footer-contact-block,
    .footer-reference-layout .footer-hours {
        width: min(540px, calc(100% - 24px)) !important;
        max-width: min(540px, calc(100% - 24px)) !important;
    }

    .footer-reference-layout .footer-support-agent {
        grid-template-columns: 100px 1fr !important;
        column-gap: 16px !important;
    }

    .footer-reference-layout .footer-support-avatar-wrap,
    .footer-reference-layout .footer-support-avatar {
        width: 100px !important;
        height: 100px !important;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .form-footer {
        padding: 24px 16px 24px !important;
    }

    .footer-reference-layout .footer-support-agent,
    .footer-reference-layout .footer-contact-block,
    .footer-reference-layout .footer-hours {
        width: calc(100% - 8px) !important;
        max-width: calc(100% - 8px) !important;
    }

    .footer-reference-layout .footer-support-agent {
        grid-template-columns: 88px 1fr !important;
        column-gap: 12px !important;
    }

    .footer-reference-layout .footer-support-avatar-wrap,
    .footer-reference-layout .footer-support-avatar {
        width: 88px !important;
        height: 88px !important;
    }

    .footer-reference-layout .footer-contact-title {
        flex-wrap: wrap !important;
        white-space: normal !important;
    }
}

/* ===== FINAL: align all footer rows and increase left-side gap ===== */
/* This shifts the complete Sonny/footer contact block slightly right on desktop,
   so image row, text row, number row, and timing stay aligned together. */
.footer-reference-layout .footer-support-agent,
.footer-reference-layout .footer-contact-block,
.footer-reference-layout .footer-hours {
    transform: translateX(55px) !important;
}

/* Keep both rows using same visual width and alignment */
.footer-reference-layout .footer-support-agent,
.footer-reference-layout .footer-contact-block {
    width: min(620px, calc(100% - 32px)) !important;
    max-width: min(620px, calc(100% - 32px)) !important;
}

.footer-reference-layout .footer-support-agent {
    display: grid !important;
    grid-template-columns: 120px 1fr !important;
    column-gap: 18px !important;
    align-items: center !important;
    justify-content: start !important;
}

.footer-reference-layout .footer-support-content,
.footer-reference-layout .footer-support-message,
.footer-reference-layout .footer-support-status-row {
    text-align: left !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
}

.footer-reference-layout .footer-contact-block {
    text-align: left !important;
}

.footer-reference-layout .footer-contact-title {
    justify-content: flex-start !important;
    text-align: left !important;
    width: 100% !important;
}

.footer-reference-layout .footer-hours {
    width: min(620px, calc(100% - 32px)) !important;
    max-width: min(620px, calc(100% - 32px)) !important;
    text-align: center !important;
}

/* On tablet, shift less */
@media (max-width: 900px) {
    .footer-reference-layout .footer-support-agent,
    .footer-reference-layout .footer-contact-block,
    .footer-reference-layout .footer-hours {
        transform: translateX(28px) !important;
    }
}

/* On mobile, do not shift right to avoid overflow */
@media (max-width: 480px) {
    .footer-reference-layout .footer-support-agent,
    .footer-reference-layout .footer-contact-block,
    .footer-reference-layout .footer-hours {
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .footer-reference-layout .footer-support-agent {
        grid-template-columns: 88px 1fr !important;
        column-gap: 12px !important;
    }

    .footer-reference-layout .mobile-commercial-break {
        display: block !important;
    }
}

/* ===== ONLY HOURS LINE FIX ===== */
/* Sirf Hours wali line ko left move kiya hai.
   Baqi footer layout / image / Need line / phone line ko touch nahi kiya. */
.footer-reference-layout .footer-hours {
    position: relative !important;
    left: -76px !important;
    margin-top: 2px !important;
    text-align: center !important;
}

/* Mobile par hours ko normal center rakhna, warna screen se bahar ja sakta hai */
@media (max-width: 640px) {
    .footer-reference-layout .footer-hours {
        left: 0 !important;
        text-align: center !important;
    }
}

/* ===== SMALL AVATAR SIZE + 10PX GAP BETWEEN IMAGE AND QUESTION TEXT ===== */
.footer-reference-layout .footer-support-agent {
    gap: 10px !important;
}

.footer-reference-layout .footer-support-avatar {
    width: 118px !important;
    height: 118px !important;
}

@media (max-width: 640px) {
    .footer-reference-layout .footer-support-avatar {
        width: 90px !important;
        height: 90px !important;
    }
}

/* ===== MORE GAP BETWEEN ROUND IMAGE AND RIGHT TEXT ===== */
.footer-reference-layout .footer-support-agent {
    gap: 22px !important;
    column-gap: 22px !important;
}

/* ===== SLIGHTLY BIGGER ROUND IMAGE ===== */
.footer-reference-layout .footer-support-avatar {
    width: 124px !important;
    height: 124px !important;
}

@media (max-width: 640px) {
    .footer-reference-layout .footer-support-avatar {
        width: 94px !important;
        height: 94px !important;
    }
}

/* ===== MOBILE: keep Questions text exactly 2 lines and aligned ===== */
@media (max-width: 640px) {
    .footer-reference-layout .footer-support-content {
        text-align: left !important;
        align-items: flex-start !important;
    }

    .footer-reference-layout .footer-support-message {
        width: 260px !important;
        max-width: 260px !important;
        text-align: left !important;
        line-height: 1.08 !important;
        white-space: normal !important;
    }

    .footer-reference-layout .footer-support-message br {
        display: block !important;
    }

    .footer-reference-layout .mobile-commercial-break,
    .footer-reference-layout .footer-message-line2 {
        display: block !important;
    }
}

@media (max-width: 380px) {
    .footer-reference-layout .footer-support-message {
        width: 230px !important;
        max-width: 230px !important;
    }
}

/* ===== MOBILE: force Questions message into exactly 2 lines ===== */
@media (max-width: 640px) {
    .footer-reference-layout .footer-support-agent {
        gap: 10px !important;
        column-gap: 10px !important;
    }

    .footer-reference-layout .footer-support-avatar {
        width: 88px !important;
        height: 88px !important;
    }

    .footer-reference-layout .footer-support-message {
        width: auto !important;
        max-width: none !important;
        font-size: 13px !important;
        line-height: 1.12 !important;
        text-align: left !important;
        white-space: nowrap !important;
        margin-bottom: 7px !important;
    }

    .footer-reference-layout .footer-support-message br {
        display: block !important;
        content: "" !important;
    }

    .footer-reference-layout .footer-message-line2,
    .footer-reference-layout .mobile-commercial-break {
        display: inline !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 380px) {
    .footer-reference-layout .footer-support-avatar {
        width: 82px !important;
        height: 82px !important;
    }

    .footer-reference-layout .footer-support-agent {
        gap: 8px !important;
        column-gap: 8px !important;
    }

    .footer-reference-layout .footer-support-message {
        font-size: 12px !important;
    }
}

@media (max-width: 340px) {
    .footer-reference-layout .footer-support-avatar {
        width: 76px !important;
        height: 76px !important;
    }

    .footer-reference-layout .footer-support-message {
        font-size: 11px !important;
    }
}

/* ===== MOBILE ONLY: add slight left gap to image/text row ===== */
/* Laptop view untouched */
@media (max-width: 640px) {
    .footer-reference-layout .footer-support-agent {
        padding-left: 14px !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 380px) {
    .footer-reference-layout .footer-support-agent {
        padding-left: 10px !important;
    }
}

/* ===== MOBILE ONLY: Need line + phone on one line, aligned with upper row ===== */
/* Laptop / desktop view untouched */
@media (max-width: 640px) {
    .footer-reference-layout .footer-contact-block {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 14px !important;
        box-sizing: border-box !important;
        text-align: left !important;
        align-items: flex-start !important;
    }

    .footer-reference-layout .footer-contact-title {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 6px !important;
        text-align: left !important;
        white-space: nowrap !important;
        font-size: 13px !important;
        line-height: 1.25 !important;
        margin: 0 0 4px 0 !important;
    }

    .footer-reference-layout .footer-contact-heading {
        display: inline-flex !important;
        width: auto !important;
        justify-content: flex-start !important;
        align-items: center !important;
        text-align: left !important;
        white-space: nowrap !important;
        flex: 0 0 auto !important;
    }

    .footer-reference-layout .footer-contact-phone {
        display: inline-flex !important;
        width: auto !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 4px !important;
        text-align: left !important;
        white-space: nowrap !important;
        font-size: 13px !important;
        line-height: 1.25 !important;
        flex: 0 0 auto !important;
    }

    .footer-reference-layout .footer-contact-phone i {
        font-size: 12px !important;
        margin-right: 2px !important;
    }

    .footer-reference-layout .footer-hours {
        padding-left: 14px !important;
        text-align: left !important;
    }
}

@media (max-width: 380px) {
    .footer-reference-layout .footer-contact-block {
        padding-left: 10px !important;
    }

    .footer-reference-layout .footer-contact-title,
    .footer-reference-layout .footer-contact-phone {
        font-size: 12px !important;
        gap: 5px !important;
    }

    .footer-reference-layout .footer-contact-phone i {
        font-size: 11px !important;
    }

    .footer-reference-layout .footer-hours {
        padding-left: 10px !important;
    }
}

@media (max-width: 340px) {
    .footer-reference-layout .footer-contact-title,
    .footer-reference-layout .footer-contact-phone {
        font-size: 11px !important;
        gap: 4px !important;
    }
}

/* ===== MOBILE ONLY: move upper 2 rows slightly right ===== */
/* Laptop / desktop view untouched */
@media (max-width: 640px) {
    .footer-reference-layout .footer-support-agent,
    .footer-reference-layout .footer-contact-block {
        transform: translateX(14px) !important;
    }
}

@media (max-width: 380px) {
    .footer-reference-layout .footer-support-agent,
    .footer-reference-layout .footer-contact-block {
        transform: translateX(10px) !important;
    }
}

/* ===== MOBILE ONLY: align Need row + Hours row exactly with avatar row ===== */
/* Laptop / desktop view untouched */
@media (max-width: 640px) {
    /* Common same box for avatar row, Need row, and Hours row */
    .footer-reference-layout .footer-support-agent,
    .footer-reference-layout .footer-contact-block,
    .footer-reference-layout .footer-hours {
        width: calc(100% - 34px) !important;
        max-width: calc(100% - 34px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
        transform: translateX(8px) !important;
        left: auto !important;
    }

    /* Avatar row stays same aligned box */
    .footer-reference-layout .footer-support-agent {
        justify-content: flex-start !important;
    }

    /* Need + number row starts exactly where avatar row starts */
    .footer-reference-layout .footer-contact-block {
        text-align: left !important;
        align-items: flex-start !important;
    }

    .footer-reference-layout .footer-contact-title {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        align-items: center !important;
        text-align: left !important;
        white-space: nowrap !important;
        margin: 0 0 4px 0 !important;
    }

    .footer-reference-layout .footer-contact-heading,
    .footer-reference-layout .footer-contact-phone {
        width: auto !important;
        display: inline-flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        white-space: nowrap !important;
        text-align: left !important;
    }

    /* Hours line starts from the same left edge and stays inside same right edge */
    .footer-reference-layout .footer-hours {
        display: block !important;
        text-align: left !important;
        margin-top: 4px !important;
        padding-left: 0 !important;
    }
}

@media (max-width: 380px) {
    .footer-reference-layout .footer-support-agent,
    .footer-reference-layout .footer-contact-block,
    .footer-reference-layout .footer-hours {
        width: calc(100% - 24px) !important;
        max-width: calc(100% - 24px) !important;
        transform: translateX(5px) !important;
    }
}

/* ===== MOBILE ONLY: align Need row and Hours row ===== */
/* Desktop / laptop view untouched */
@media (max-width: 640px) {
    /* Same left edge for both rows */
    .footer-reference-layout .footer-contact-block,
    .footer-reference-layout .footer-hours {
        width: calc(100% - 52px) !important;
        max-width: calc(100% - 52px) !important;
        margin-left: 34px !important;
        margin-right: 18px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
        transform: none !important;
        left: auto !important;
        text-align: left !important;
    }

    /* Need + phone stays in one row */
    .footer-reference-layout .footer-contact-title {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 5px !important;
        margin: 0 0 4px 0 !important;
        text-align: left !important;
        white-space: nowrap !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
    }

    .footer-reference-layout .footer-contact-heading,
    .footer-reference-layout .footer-contact-phone {
        display: inline-flex !important;
        width: auto !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: left !important;
        white-space: nowrap !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
    }

    .footer-reference-layout .footer-contact-phone {
        gap: 4px !important;
    }

    .footer-reference-layout .footer-contact-phone i {
        font-size: 11px !important;
        margin-right: 1px !important;
    }

    /* Hours starts exactly from same left edge as Need row */
    .footer-reference-layout .footer-hours {
        display: block !important;
        margin-top: 4px !important;
        white-space: nowrap !important;
        font-size: 10.5px !important;
        line-height: 1.25 !important;
    }
}

@media (max-width: 380px) {
    .footer-reference-layout .footer-contact-block,
    .footer-reference-layout .footer-hours {
        width: calc(100% - 40px) !important;
        max-width: calc(100% - 40px) !important;
        margin-left: 26px !important;
        margin-right: 14px !important;
    }

    .footer-reference-layout .footer-contact-title,
    .footer-reference-layout .footer-contact-heading,
    .footer-reference-layout .footer-contact-phone {
        font-size: 11px !important;
    }

    .footer-reference-layout .footer-hours {
        font-size: 9.8px !important;
    }
}

/* ===== MOBILE ONLY: move Need to talk row slightly right ===== */
/* Laptop / desktop untouched */
@media (max-width: 640px) {
    .footer-reference-layout .footer-contact-title {
        transform: translateX(10px) !important;
    }
}

@media (max-width: 380px) {
    .footer-reference-layout .footer-contact-title {
        transform: translateX(7px) !important;
    }
}

/* ===== MOBILE ONLY: move Need to talk row more right ===== */
/* Laptop / desktop untouched */
@media (max-width: 640px) {
    .footer-reference-layout .footer-contact-title {
        transform: translateX(20px) !important;
    }
}

@media (max-width: 380px) {
    .footer-reference-layout .footer-contact-title {
        transform: translateX(14px) !important;
    }
}

/* ===== MOBILE ONLY: adjust Need row slightly left ===== */
/* Laptop / desktop untouched */
@media (max-width: 640px) {
    .footer-reference-layout .footer-contact-title {
        transform: translateX(16px) !important;
    }
}

@media (max-width: 380px) {
    .footer-reference-layout .footer-contact-title {
        transform: translateX(11px) !important;
    }
}

/* ===== MOBILE ONLY: move Hours line to left ===== */
/* Laptop / desktop untouched */
@media (max-width: 640px) {
    .footer-reference-layout .footer-hours {
        margin-left: 19px !important;
        margin-right: auto !important;
        transform: none !important;
        left: auto !important;
        text-align: left !important;
        white-space: nowrap !important;
        width: max-content !important;
        max-width: none !important;
    }
}

@media (max-width: 380px) {
    .footer-reference-layout .footer-hours {
        margin-left: 8px !important;
    }
}

/* ===== LAPTOP/DESKTOP ONLY: move Hours line left ===== */
/* Mobile view untouched */
@media (min-width: 641px) {
    .footer-reference-layout .footer-hours {
        position: relative !important;
        left: -100px !important;
        margin-top: 2px !important;
        text-align: center !important;
    }
}

/* ===== FINAL RESPONSIVE FOOTER CENTERING FIX (tablet + mobile only) ===== */
/* Desktop/laptop stays as it is. This block only cleans the footer below 900px. */
@media (max-width: 900px) {
  .form-footer {
    padding: 28px 16px 24px !important;
    overflow-x: hidden !important;
  }

  .footer-container,
  .footer-reference-layout.footer-main-row {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 12px !important;
    transform: none !important;
    left: auto !important;
  }

  .footer-reference-layout .footer-support-agent {
    width: fit-content !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    text-align: left !important;
    transform: none !important;
    left: auto !important;
  }

  .footer-reference-layout .footer-support-avatar-wrap {
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
  }

  .footer-reference-layout .footer-support-avatar {
    width: 78px !important;
    height: 78px !important;
    min-width: 78px !important;
    max-width: 78px !important;
  }

  .footer-reference-layout .footer-support-content {
    width: auto !important;
    max-width: 360px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    text-align: left !important;
    transform: none !important;
  }

  .footer-reference-layout .footer-support-message {
    margin: 0 0 7px 0 !important;
    font-size: 18px !important;
    line-height: 1.12 !important;
    text-align: left !important;
  }

  .footer-reference-layout .footer-support-status-row {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    text-align: left !important;
    transform: none !important;
  }

  .footer-reference-layout .footer-support-online {
    min-width: 86px !important;
    padding: 5px 11px !important;
    font-size: 11.5px !important;
  }

  .footer-reference-layout .footer-contact-block,
  .footer-reference-layout .footer-hours {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center !important;
    transform: none !important;
    left: auto !important;
  }

  .footer-reference-layout .footer-contact-title {
    width: 100% !important;
    max-width: 100% !important;
    margin: 2px auto 4px !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px 10px !important;
    text-align: center !important;
    white-space: normal !important;
    transform: none !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
  }

  .footer-reference-layout .footer-contact-heading,
  .footer-reference-layout .footer-contact-phone {
    width: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
    transform: none !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
  }

  .footer-reference-layout .footer-contact-phone {
    gap: 6px !important;
  }

  .footer-reference-layout .footer-contact-phone i {
    font-size: 16px !important;
  }

  .footer-reference-layout .footer-hours {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 3px !important;
    white-space: normal !important;
    font-size: 12.5px !important;
    line-height: 1.35 !important;
  }

  .footer-bottom-row {
    width: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 8px !important;
  }
}

@media (max-width: 520px) {
  .form-footer {
    padding: 24px 14px 22px !important;
  }

  .footer-reference-layout .footer-support-agent {
    max-width: 330px !important;
    gap: 10px !important;
  }

  .footer-reference-layout .footer-support-avatar {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
  }

  .footer-reference-layout .footer-support-content {
    max-width: 240px !important;
  }

  .footer-reference-layout .footer-support-message {
    font-size: 14.8px !important;
    line-height: 1.12 !important;
    margin-bottom: 6px !important;
  }

  .footer-reference-layout .footer-support-online {
    min-width: 78px !important;
    padding: 4px 9px !important;
    font-size: 10.5px !important;
  }

  .footer-reference-layout .footer-mini-icon {
    font-size: 18px !important;
  }

  .footer-reference-layout .footer-contact-title {
    flex-direction: column !important;
    gap: 5px !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
    margin-top: 4px !important;
  }

  .footer-reference-layout .footer-contact-heading,
  .footer-reference-layout .footer-contact-phone {
    font-size: 16px !important;
    line-height: 1.25 !important;
  }

  .footer-reference-layout .footer-contact-phone i {
    font-size: 14px !important;
  }

  .footer-reference-layout .footer-hours {
    font-size: 11.5px !important;
    line-height: 1.35 !important;
  }
}

@media (max-width: 360px) {
  .footer-reference-layout .footer-support-agent {
    max-width: 300px !important;
    gap: 8px !important;
  }

  .footer-reference-layout .footer-support-avatar {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;
  }

  .footer-reference-layout .footer-support-content {
    max-width: 220px !important;
  }

  .footer-reference-layout .footer-support-message {
    font-size: 13.8px !important;
  }

  .footer-reference-layout .footer-contact-title,
  .footer-reference-layout .footer-contact-heading,
  .footer-reference-layout .footer-contact-phone {
    font-size: 15px !important;
  }

  .footer-reference-layout .footer-hours {
    font-size: 10.8px !important;
  }
}

/* ===== FINAL USER REQUEST: smaller footer avatar ===== */
.footer-reference-layout .footer-support-agent {
    grid-template-columns: 92px 1fr !important;
    column-gap: 16px !important;
}

.footer-reference-layout .footer-support-avatar-wrap,
.footer-reference-layout .footer-support-avatar {
    width: 92px !important;
    height: 92px !important;
    min-width: 92px !important;
    max-width: 92px !important;
}

@media (max-width: 900px) {
    .footer-reference-layout .footer-support-avatar-wrap,
    .footer-reference-layout .footer-support-avatar {
        width: 70px !important;
        height: 70px !important;
        min-width: 70px !important;
        max-width: 70px !important;
    }
}

@media (max-width: 520px) {
    .footer-reference-layout .footer-support-avatar-wrap,
    .footer-reference-layout .footer-support-avatar {
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        max-width: 56px !important;
    }
}

@media (max-width: 360px) {
    .footer-reference-layout .footer-support-avatar-wrap,
    .footer-reference-layout .footer-support-avatar {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        max-width: 50px !important;
    }
}

/* ===== FINAL USER REQUEST: even smaller footer avatar + mobile gap above contact row ===== */
.footer-reference-layout .footer-support-agent {
    grid-template-columns: 82px 1fr !important;
    column-gap: 14px !important;
}

.footer-reference-layout .footer-support-avatar-wrap,
.footer-reference-layout .footer-support-avatar {
    width: 82px !important;
    height: 82px !important;
    min-width: 82px !important;
    max-width: 82px !important;
}

@media (max-width: 900px) {
    .footer-reference-layout .footer-support-avatar-wrap,
    .footer-reference-layout .footer-support-avatar {
        width: 62px !important;
        height: 62px !important;
        min-width: 62px !important;
        max-width: 62px !important;
    }
}

@media (max-width: 520px) {
    .footer-reference-layout .footer-support-agent {
        gap: 9px !important;
    }

    .footer-reference-layout .footer-support-avatar-wrap,
    .footer-reference-layout .footer-support-avatar {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        max-width: 48px !important;
    }

    .footer-reference-layout .footer-contact-block {
        margin-top: 14px !important;
    }

    .footer-reference-layout .footer-contact-title {
        margin-top: 12px !important;
    }
}

@media (max-width: 360px) {
    .footer-reference-layout .footer-support-avatar-wrap,
    .footer-reference-layout .footer-support-avatar {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
    }

    .footer-reference-layout .footer-contact-block {
        margin-top: 16px !important;
    }
}

/* ===== FINAL USER REQUEST: keep avatar size, add a little gap below avatar/support row ===== */
@media (max-width: 520px) {
    .footer-reference-layout .footer-support-agent {
        margin-bottom: 10px !important;
    }

    .footer-reference-layout .footer-support-avatar-wrap {
        margin-bottom: 6px !important;
    }
}

@media (max-width: 360px) {
    .footer-reference-layout .footer-support-agent {
        margin-bottom: 12px !important;
    }
}
