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

:root {
  /* Colors */
  --primary-dark: #0E0761;
  --primary-blue: #0d00a9;
  --accent-blue: #0f4af2;
  --text-dark: #242526;
  --text-gray: #5e6163;
  --bg-light: #f3f5f6;
  --bg-gray: #e8edf0;
  --white: #f1f1f1;
  --light-blue: #d1e3f9;
  
  /* Typography - Mobile Base */
  --font-hero-title: 36px;
  --font-hero-subtitle: 24px;
  --font-hero-description: 18px;
  --font-section-title: 31px;
  --font-section-title-center: 32px;
  --font-section-subtitle: 20px;
  --font-section-title-white: 32px;
  --font-body: 16px;
  --font-body-lg: 18px;
  --font-body-sm: 14px;
  --font-body-xs: 11px;
  --font-caption: 12px;
  --font-card-title: 18px;
  --font-card-text: 14px;
  --font-button: 17px;
  --font-button-lg: 14px;
  --font-link: 17px;
  --font-form-label: 15px;
  --font-form-input: 12px;
  --font-form-select: 12px;
  --font-checkbox: 14px;
  --font-consent: 11px;
  --font-rights-title: 18px;
  --font-rights-list: 15px;
  --font-rights-description: 18px;
  --font-rights-text: 14px;
  --font-rights-cta: 23px;
  --font-issue-title: 16px;
  --font-issue-description: 11px;
  --font-help-step-title: 20px;
  --font-help-step-text: 16px;
  --font-help-footer: 18px;
  --font-trust-title: 16px;
  --font-urgency-text: 16px;
  --font-final-cta-title: 32px;
  --font-footer-tagline: 18px;
  --font-footer-description: 10px;
  --font-footer-copyright: 12px;
  --font-footer-contact: 13px;
  
  /* Line Heights */
  --lh-hero-title: 42px;
  --lh-section-title: 42px;
  --lh-section-title-center: 40px;
  --lh-section-title-white: 40px;
  --lh-final-cta-title: 40px;
  --lh-normal: 1.6;
  --lh-issue-title: 16px;
  --lh-issue-description: 14px;
}

/* Tablet Typography (1024px+) */
@media (min-width: 1024px) {
  :root {
    --font-hero-title: 52px;
    --font-hero-subtitle: 26px;
    --font-section-title: 42px;
    --font-section-title-center: 42px;
    --font-section-subtitle: 22px;
    --font-section-title-white: 42px;
    --font-rights-title: 20px;
    --font-rights-description: 21px;
    --font-rights-text: 15px;
    --font-rights-cta: 32px;
    --font-issue-title: 16px;
    --font-issues-footer: 17px;
    --font-help-step-title: 24px;
    --font-help-step-text: 17px;
    --font-help-footer: 19px;
    --font-urgency-text: 20px;
    --font-final-cta-title: 42px;
    --font-footer-tagline: 19px;
    
    --lh-hero-title: 60px;
    --lh-section-title: 50px;
    --lh-section-title-center: 54px;
    --lh-section-title-white: 50px;
    --lh-final-cta-title: 52px;
  }
}

/* Desktop Typography (1200px+) */
@media (min-width: 1200px) {
  :root {
    --font-hero-title: 62px;
    --font-hero-subtitle: 30px;
    --font-hero-description: 20px;
    --font-section-title: 54px;
    --font-section-title-center: 47px;
    --font-section-subtitle: 23px;
    --font-section-title-white: 47px;
    --font-rights-title: 22px;
    --font-rights-description: 23px;
    --font-rights-text: 16px;
    --font-rights-cta: 38px;
    --font-issues-footer: 18px;
    --font-help-step-title: 30px;
    --font-help-step-text: 20px;
    --font-help-footer: 20px;
    --font-trust-title: 17px;
    --font-urgency-text: 24px;
    --font-final-cta-title: 48px;
    --font-footer-tagline: 20px;
    --font-footer-contact: 14px;
    --font-footer-copyright: 13px;
    
    --lh-hero-title: 70px;
    --lh-section-title-center: 60px;
    --lh-final-cta-title: 60px;
  }
}

/* ============================================
   BOOTSTRAP FIGMA CONTAINER UTILITY
   Matches Figma's 1920px width with 150px padding
============================================ */
.container-figma {
  width: 100%;
  max-width: 1560px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

@media (min-width: 1024px) {
  .container-figma {
    padding-left: 70px !important;
    padding-right: 70px !important;
  }

  .header-inner{
    padding: 0px 0px;
  }
}

@media (min-width: 1200px) {

  .header-inner{
    padding: 0 20px;
  }
    
  .container-figma {
    padding-left: 80px;
    padding-right: 80px;
  }
}

@media (min-width: 1400px) {
  .container-figma {
    padding-left: 150px;
    padding-right: 150px;
  }
}

body {
  font-family: 'Inter Tight', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: var(--lh-normal);
}

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

body {
    font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: var(--lh-normal);
}

h1,h2,h3,h4,h5,h6,p,span{
    font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
}

.container {
    max-width: 1560px !important;
}

/* ========================================
   PAGE CONTAINER
   ======================================== */
.page-container {
    width: 100%;
    max-width: unset;
    margin: 0 auto;
    background: var(--bg-light);
    overflow-x: hidden;
}

/* ========================================
   HEADER
   ======================================== */
.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 20px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1560px;
    margin: 0 auto;
}

.logo img {
    height: 40px;
}

.contact-btn-header {
    background: var(--primary-dark);
    color: #ffffff;
    border: none;
    padding: 11px 20px;
    border-radius: 23px;
    font-size: var(--font-button);
    font-weight: 500;
    font-family: 'Inter Tight', sans-serif;
    cursor: pointer;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 8px 14px;
    transition: background 0.3s ease;
}

.contact-btn-header:hover {
    background: var(--primary-blue);
}

.btn-arrow {
    font-size: var(--font-body-sm);
    font-weight: bold;
}

/* ========================================
   FOOTER - SIMPLIFIED DESIGN
   ======================================== */
.footer {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 50px 20px 40px;
    margin-top: 0px;
    position: relative;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "brand"
        "nav"
        "center";
    gap: 40px;
    max-width: 1560px;
    margin: 0 auto;
    position: relative;
}

.footer-brand {
    grid-area: brand;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    height: 70px;
    width: auto;
    margin-bottom: 24px;
}

.footer-tagline {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
}

.footer-tagline span {
    font-size: var(--font-footer-tagline);
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.3;
}

.footer-description {
    font-size: var(--font-footer-description);
    font-weight: 400;
    color: #6b7280;
    line-height: 1.6;
    max-width: 280px;
}

/* Footer Navigation */
.footer-nav {
    grid-area: nav;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.footer-nav-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: center;
}

.footer-nav-link {
    color: #5E6163;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-nav-link:hover {
    color: var(--primary-blue);
}

.footer-center {
    width: 100%;
    grid-area: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
}

.footer-copyright {
    font-size: var(--font-footer-copyright);
    font-weight: 400;
    color: var(--primary-dark);
}

/* Hide right section completely */
.footer-right {
    display: none !important;
}

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

.footer-social {
    display: none !important;
}

.footer-link-drm {
    display: flex;
    align-items: flex-start; 
    gap: 6px; 
    color: inherit;
    text-decoration: none !important;
}

/* ========================================
   TABLET BREAKPOINT (1024px+)
   ======================================== */
@media (min-width: 768px) {
    .footer-nav {
        flex-direction: row;
        gap: 20px 40px;
        flex-wrap: wrap;
    }

    .footer-nav-column {
        flex-direction: row;
        gap: 40px;
    }
}

@media (min-width: 1024px) {
    .logo img {
        height: 50px;
    }

    .header {
        padding: 20px 80px;
    }

    .footer {
        padding: 60px 80px 50px;
    }

    .footer-inner {
        grid-template-columns: auto 1fr;
        grid-template-rows: 1fr auto;
        grid-template-areas:
            "brand nav"
            "center center";
        gap: 60px;
        align-items: start;
    }

    .footer-brand {
        align-items: flex-start;
        text-align: left;
        max-width: 320px;
    }

    .footer-tagline {
        align-items: flex-start;
    }

    .footer-logo {
        height: 80px;
        margin-bottom: 30px;
    }

    .footer-tagline {
        margin-bottom: 30px;
    }

    .footer-description {
        max-width: 300px;
    }

    .footer-nav {
        display: flex;
        flex-direction: row;
        gap: 20px 60px;
        justify-self: end;
        align-self: flex-start;
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .footer-nav-column {
        display: flex;
        flex-direction: column;
        gap: 12px 25px;
        text-align: left;
    }

    .footer-nav-link {
        font-size: 15px;
    }

    .footer-center {
        align-self: end;
        justify-self: center;
        margin-top: 10px;
        padding-top: 0;
    }

    .footer-center-items{
        display: grid;
        grid-template-columns: auto 1fr;
        width: 100%;
    }

    .footer-copyright{
        position: absolute;
        bottom: 20px;
        left: 0;
        right: 0;
        margin: auto;
        width: max-content;
    }
}

/* ========================================
   DESKTOP BREAKPOINT (1200px+)
   ======================================== */
@media (min-width: 1200px) {
    .header {
        padding: 23px 50px;
    }

    .footer {
        padding: 70px 50px 50px;
    }

    .footer-inner {
        gap: 0px 80px;
        padding: 0 50px;
    }

    .footer-brand {
        max-width: 350px;
    }

    .footer-logo {
        height: 85px;
        margin-bottom: 35px;
    }

    .footer-tagline {
        margin-bottom: 35px;
    }

    .footer-nav {
        gap: 20px 80px;
    }


    .footer-nav-link {
        font-size: 16px;
    }
}

@media (min-width: 1400px) {
    .footer-inner {
        padding: 0 40px !important;
        max-width: 1460px !important;
    }
    

    .footer-nav {
        gap: 20px 100px;
    }
}

/* ========================================
   NAVIGATION
   ======================================== */
.main-nav {
    display: none;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nav-menu li a {
    display: block;
    padding: 15px 20px;
    color:#0E0761;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease, background 0.3s ease;
    border-bottom: 1px solid rgba(14, 7, 97, 0.1);
}

.nav-menu li:last-child a {
    border-bottom: none;
}

.nav-menu li a:hover {
    color: var(--primary-blue);
    background: rgba(14, 7, 97, 0.05);
}

/* Hamburger Button */
.hamburger {
    margin-top: 2px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--primary-dark);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger Active State */
.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Nav Open */
.main-nav.active {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Desktop Navigation */
@media (min-width: 1024px) {
    .hamburger {
        display: none;
    }
    
    .main-nav {
        display: block;
        position: static;
        background: transparent;
        box-shadow: none;
        padding: 0;
    }
    
    .nav-menu {
        flex-direction: row;
        gap: 8px;
    }
    
    .nav-menu li a {
        padding: 10px 18px;
        border-bottom: none;
        border-radius: 20px;
        color:#0E0761;
    }
    
    .nav-menu li a:hover {
        background: rgba(14, 7, 97, 0.08);
    }
}

@media(max-width:1024px){
    .financial-card p{
        font-size: 13px !important;
    }

    .footer-nav{
        flex-direction: column !important;
    }

    .footer-center{
        text-align: center !important;
    }
}

@media(max-width:992px){
    .main-nav{
        position: absolute;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #ffffff4f;
        backdrop-filter: blur(6px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
        animation: slideDown 0.3s ease;
    }
}

/* Form container */
.wpcf7 .form-group {
    margin-bottom: 20px;
}

.wpcf7 .form-group > label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #1a1a2e;
}

/* Input fields */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
    width: 100%;
    padding: 16px 20px;
    border: none;
    border-radius: 50px;
    background: #f5f5f7;
    font-size: 16px;
    color: #333;
    box-sizing: border-box;
}

.wpcf7 input[type="text"]::placeholder,
.wpcf7 input[type="email"]::placeholder,
.wpcf7 input[type="tel"]::placeholder {
    color: #999;
}

/* Form row for State and Debt Amount */
.wpcf7 .form-row {
    display: flex;
    gap: 15px;
}

.wpcf7 .form-group-state {
    flex: 0 0 auto;
    min-width: 100px;
}

.wpcf7 .form-group-debt {
    flex: 1;
}

/* Select wrapper */
.wpcf7 .select-wrapper {
    position: relative;
}

.wpcf7 .select-wrapper select {
        width: 100% !important;
    padding: 8px 40px 8px 20px !important;
    border: 1px solid #dbdddf !important;
    border-radius: 31px !important;
    font-size: var(--font-form-select) !important;
    font-family: 'Inter Tight', sans-serif;
    color: #a1a1a1 !important;
    border: 1px solid #DBDDDF !important;
    background: #f7f7fa !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.contact-btn-large:hover{
        background: var(--primary-blue) !important;
}

.wpcf7 .contact-btn-large{
    margin-top: 24px;
    font-size: 14px !important;
    padding: 12px 16px !important;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output{
    font-size: 12px;
}

.wpcf7 p {
    margin: 0 !important;
}

.wpcf7 .consent-wrapper input[type="checkbox"]{
        width: 18px;
    height: 18px;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    position: relative;
}

.wpcf7 .select-wrapper::after {
    content: "▾";
    position: absolute;
    right: 20px;
    top: 45%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #666;
}

/* Checkbox group - Type of Debt */
.wpcf7 .checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wpcf7 .checkbox-group .wpcf7-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 10px;
}

.wpcf7 .checkbox-group .wpcf7-list-item {
    margin: 0;
}

.wpcf7 .checkbox-group .wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}
.wpcf7 .form-group{
    margin-bottom: 10px !important;
}

.consent-wrapper p , .wpcf7-list-item span{
 font-size: 11px !important;
}
/* Hide default radio buttons */
.wpcf7 .checkbox-group input[type="radio"] {
    position: relative;
    outline: 0 !important;
    width: 17px;
    height: 17px;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1.5px solid #e0e0e0;
    border-radius: 7px;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
}

.wpcf7 .checkbox-group input[type="radio"]:checked {
    background: var(--light-blue) !important;
    border-color: var(--primary-blue) !important;
}

.wpcf7 .checkbox-group input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 6px;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6' viewBox='0 0 8 6' fill='none'%3E%3Cpath d='M0.353027 2.62352L2.87303 5.13352L7.65303 0.353516' stroke='%230e0761' stroke-miterlimit='10'/%3E%3C/svg%3E");
   background-repeat: no-repeat;
    background-size: contain;
}

/* Form separator */
.wpcf7 .form-separator {
    height: 1px;
    background: #e0e0e0;
    margin: 25px 0;
}

/* Consent checkbox */
.wpcf7 .consent-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.wpcf7 .consent-wrapper .wpcf7-acceptance {
    flex-shrink: 0;
}

.wpcf7 .consent-wrapper input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin: 0;
    margin-left: -10px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1.5px solid #e0e0e0;
    border-radius: 7px;
    background: #fff;
    outline: 0 !important;
    cursor: pointer;
    position: relative;
}

.wpcf7 .consent-wrapper input[type="checkbox"]:checked {
background: var(--light-blue) !important;
    border-color: var(--primary-blue) !important;
}

.consent-wrapper p{
    display: flex; 
    gap: 7px;
}

.wpcf7 .consent-wrapper input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 6px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6' viewBox='0 0 8 6' fill='none'%3E%3Cpath d='M0.353027 2.62352L2.87303 5.13352L7.65303 0.353516' stroke='%230e0761' stroke-miterlimit='10'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}
.wpcf7 .form-group{
    gap: 2px !important;
}
.wpcf7 .form-group p label{
    margin-bottom:8px ;
}

.select-wrapper-states{
    max-width: 80px !important;
}

/* Responsive */
@media (max-width: 600px) {
    .wpcf7 .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .wpcf7 .checkbox-group .wpcf7-radio {
        flex-flow: wrap;
        gap: 2px 12px;
    }
}