/**
 * ========================================
 * EDIT.CSS - STANDALONE CUSTOM CSS FILE
 * ========================================
 * 
 * This file is NOT processed by any build system.
 * Add your custom CSS directly here for live/production edits.
 * This file will NOT be overwritten by the build process.
 * 
 * Perfect for quick fixes, custom styles, or overrides
 * that need to be added without rebuilding.
 * 
 * ========================================
 */

/* ========== CLAIM MODAL ========== */
.claim-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.claim-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.claim-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.claim-modal__content {
  position: relative;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 1.5rem 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  .claim-modal__content {
    padding: 2rem;
  }
}

.claim-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.claim-modal__close:hover {
  color: #fff;
}

.claim-modal__title {
  color: #000;
  font-size: 1.25rem;
  font-weight: 700;
  padding-right: 2.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .claim-modal__title {
    font-size: 1.5rem;
  }
}

.claim-modal__form {
  min-height: 200px;
}

/* HubSpot form overrides (shared between modal + floating CTA) */
.hsfc-Step__Content {
  padding: 0 !important;
}

#hs-form-container .hs-form,
#hs-form-container form,
#floating-hs-form-container .hs-form,
#floating-hs-form-container form,
.claim-modal__form .hs-form,
.claim-modal__form form {
  color: #1a1a2e;
}

#hs-form-container label,
#floating-hs-form-container label,
.claim-modal__form label {
  color: #374151;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  display: block;
}

#hs-form-container input,
#hs-form-container select,
#hs-form-container textarea,
#floating-hs-form-container input,
#floating-hs-form-container select,
#floating-hs-form-container textarea,
.claim-modal__form input,
.claim-modal__form select,
.claim-modal__form textarea {
  background: #f9fafb !important;
  border: 1.5px solid #e5e7eb !important;
  color: #1a1a2e !important;
  border-radius: 0.5rem;
  font-family: Inter, -apple-system, sans-serif;
  font-size: 0.9375rem;
  padding: 0.625rem 0.875rem !important;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100% !important;
  box-sizing: border-box;
}

#hs-form-container input:focus,
#hs-form-container select:focus,
#hs-form-container textarea:focus,
#floating-hs-form-container input:focus,
#floating-hs-form-container select:focus,
#floating-hs-form-container textarea:focus,
.claim-modal__form input:focus,
.claim-modal__form select:focus,
.claim-modal__form textarea:focus {
  border-color: #F21B2B !important;
  box-shadow: 0 0 0 3px rgba(242, 27, 43, 0.1) !important;
  outline: none !important;
  background: #fff !important;
}

#hs-form-container input::placeholder,
#hs-form-container textarea::placeholder,
#floating-hs-form-container input::placeholder,
#floating-hs-form-container textarea::placeholder,
.claim-modal__form input::placeholder,
.claim-modal__form textarea::placeholder {
  color: #9ca3af;
}

#hs-form-container .hs-button,
#hs-form-container button[type="submit"],
#floating-hs-form-container .hs-button,
#floating-hs-form-container button[type="submit"],
.claim-modal__form .hs-button,
.claim-modal__form button[type="submit"] {
  background: #F21B2B !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0.5rem;
  width: 100% !important;
  padding: 0.75rem 1.5rem !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(242, 27, 43, 0.3);
}

#hs-form-container .hs-button:hover,
#hs-form-container button[type="submit"]:hover,
#floating-hs-form-container .hs-button:hover,
#floating-hs-form-container button[type="submit"]:hover,
.claim-modal__form .hs-button:hover,
.claim-modal__form button[type="submit"]:hover {
  background: #d9151f !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(242, 27, 43, 0.4);
}

#hs-form-container .hs-error-msgs,
#floating-hs-form-container .hs-error-msgs,
.claim-modal__form .hs-error-msgs {
  color: #ef4444;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

#hs-form-container .hs-fieldtype-intl-phone,
#floating-hs-form-container .hs-fieldtype-intl-phone,
.claim-modal__form .hs-fieldtype-intl-phone {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

#hs-form-container .hs-fieldtype-intl-phone select,
#floating-hs-form-container .hs-fieldtype-intl-phone select,
.claim-modal__form .hs-fieldtype-intl-phone select {
  max-width: 90px !important;
  min-width: 90px !important;
  flex-shrink: 0;
}


/* ========== FLOATING CTA ========== */
.floating-cta {
  position: fixed;
  z-index: 9998;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.floating-cta[aria-hidden="true"] {
  pointer-events: none;
  opacity: 0;
  transform: translateY(100%);
}

/* --- MOBILE: full-width bottom bar --- */
@media (max-width: 767px) {
  .floating-cta {
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(0);
  }

  .floating-cta__bar {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 0.625rem 1rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  }

  .floating-cta__bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .floating-cta__bar-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
  }

  .floating-cta__bar-badge {
    background: #22c55e;
    color: #fff;
    font-size: 0.625rem;
    font-weight: 800;
    padding: 0.125rem 0.4rem;
    border-radius: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
  }

  .floating-cta__bar-headline {
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .floating-cta__bar-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    background: #F21B2B;
    color: #fff;
    border: none;
    border-radius: 0.375rem;
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
  }

  .floating-cta__bar-btn:hover {
    background: #d9151f;
  }

  .floating-cta__bar-chevron {
    transition: transform 0.3s ease;
  }

  .floating-cta.is-expanded .floating-cta__bar-chevron {
    transform: rotate(180deg);
  }

  .floating-cta__panel {
    background: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .floating-cta.is-expanded .floating-cta__panel {
    max-height: 80vh;
    overflow-y: auto;
  }

  .floating-cta__panel-inner {
    padding: 1.25rem 1rem 1.5rem;
  }

  .floating-cta__panel-close {
    display: none;
  }
}

/* --- DESKTOP: floating bottom-right card --- */
@media (min-width: 768px) {
  .floating-cta {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 380px;
    transform: translateY(0);
  }

  .floating-cta__bar {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.2s;
  }

  .floating-cta__bar:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
  }

  .floating-cta.is-expanded .floating-cta__bar {
    border-radius: 0.75rem 0.75rem 0 0;
    box-shadow: none;
    transform: none;
  }

  .floating-cta__bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .floating-cta__bar-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
  }

  .floating-cta__bar-badge {
    background: #22c55e;
    color: #fff;
    font-size: 0.625rem;
    font-weight: 800;
    padding: 0.15rem 0.45rem;
    border-radius: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
  }

  .floating-cta__bar-headline {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .floating-cta__bar-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    background: #F21B2B;
    color: #fff;
    border: none;
    border-radius: 0.375rem;
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
  }

  .floating-cta__bar-btn:hover {
    background: #d9151f;
  }

  .floating-cta__bar-chevron {
    transition: transform 0.3s ease;
  }

  .floating-cta.is-expanded .floating-cta__bar-chevron {
    transform: rotate(180deg);
  }

  .floating-cta__panel {
    background: #fff;
    border-radius: 0 0 0.75rem 0.75rem;
    max-height: 0;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .floating-cta.is-expanded .floating-cta__panel {
    max-height: 70vh;
    overflow-y: auto;
  }

  .floating-cta__panel-inner {
    padding: 1.25rem 1.25rem 1.5rem;
    position: relative;
  }

  .floating-cta__panel-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: transparent;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    transition: color 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .floating-cta__panel-close:hover {
    color: #1a1a2e;
    background: #f3f4f6;
  }
}

/* --- Shared panel styles --- */
.floating-cta__panel-header {
  margin-bottom: 1rem;
}

.floating-cta__panel-guarantee {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(34, 197, 94, 0.08);
  color: #16a34a;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: 2rem;
  margin-bottom: 0.625rem;
}

.floating-cta__panel-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.3;
  margin: 0 0 0.375rem;
}

.floating-cta__panel-title em {
  font-style: normal;
  color: #F21B2B;
}

.floating-cta__panel-subtitle {
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}

.floating-cta__panel-form {
  min-height: 100px;
}

.floating-cta__panel-trust {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: #9ca3af;
  font-size: 0.6875rem;
  margin-top: 0.75rem;
  justify-content: center;
}

.floating-cta__panel-trust svg {
  color: #22c55e;
  flex-shrink: 0;
}

/* Hide floating CTA when modal is open */
.claim-modal.is-open ~ .floating-cta {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(100%) !important;
}

/* Pulse animation on the bar button for attention */
@keyframes floating-cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242, 27, 43, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(242, 27, 43, 0); }
}

.floating-cta:not(.is-expanded) .floating-cta__bar-btn {
  animation: floating-cta-pulse 2.5s ease-in-out infinite;
}


/* Add your custom CSS below this line */
