/* Hunter Thomas Mortgage - Public Website Stylesheet */
:root {
    --primary: #0a192f;
    --primary-light: #0f2744;
    --secondary: #1e3a8a;
    --blue-accent: #2563eb;
    --gold: #d97706;
    --gold-light: #f59e0b;
    --gold-hover: #b45309;
    --emerald: #059669;
    --emerald-light: #10b981;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --white: #ffffff;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

.svg-icon {
    display: inline-block;
    vertical-align: -3px;
    flex-shrink: 0;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--slate-800);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--slate-900);
    line-height: 1.25;
    font-weight: 700;
}

a {
    color: var(--blue-accent);
    text-decoration: none;
    transition: all 0.2s;
}

a:hover {
    color: var(--secondary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    line-height: 1.3;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-gold {
    background-color: var(--gold);
    color: var(--white);
}

.btn-gold:hover {
    background-color: var(--gold-hover);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.35);
}

.btn-emerald {
    background-color: var(--emerald);
    color: var(--white);
}

.btn-emerald:hover {
    background-color: #047857;
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline-white {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-primary {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-lg {
    padding: 15px 30px;
    font-size: 16px;
    border-radius: var(--radius-md);
}

.btn-sm {
    padding: 7px 14px;
    font-size: 12px;
    border-radius: var(--radius-sm);
}

/* Badges */
.badge-gold {
    display: inline-block;
    background: rgba(217, 119, 6, 0.12);
    color: var(--gold);
    border: 1px solid rgba(217, 119, 6, 0.3);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.badge-blue {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

/* Top Bar */
.top-bar {
    background: #061120;
    color: #94a3b8;
    font-size: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.divider {
    color: #475569;
}

.nmls-tag {
    color: #f59e0b;
    font-weight: 700;
}

.top-phone, .top-email {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 600;
}

.top-phone:hover, .top-email:hover {
    color: #ffffff;
}

.cms-login-link {
    color: #94a3b8;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
}

.cms-login-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

/* Main Site Header */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--slate-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 16px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
}

.logo-mark {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.5px;
    border: 2px solid #d97706;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.officer-brand-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.3px;
    line-height: 1.15;
    white-space: nowrap;
}

.officer-brand-sub {
    font-size: 11px;
    color: var(--slate-500);
    font-weight: 600;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.nav-item {
    font-size: 14px;
    font-weight: 600;
    color: var(--slate-700);
    text-decoration: none;
    position: relative;
    padding: 6px 0;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-item:hover, .nav-item.active {
    color: var(--primary);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    white-space: nowrap;
}

.btn-book-header {
    background: var(--slate-100);
    color: var(--slate-800);
    padding: 8px 14px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--slate-200);
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-book-header:hover {
    background: var(--slate-200);
    color: var(--primary);
}

.btn-eligibility-header {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: var(--white);
    padding: 9px 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(5, 150, 105, 0.25);
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
}

.btn-eligibility-header:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(5, 150, 105, 0.35);
    color: var(--white);
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
}

.btn-apply-header {
    background: linear-gradient(135deg, var(--gold) 0%, #b45309 100%);
    color: var(--white);
    padding: 9px 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.25);
    transition: all 0.2s;
    white-space: nowrap;
}
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.25);
    transition: all 0.2s;
}

.btn-apply-header:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(217, 119, 6, 0.35);
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #071322 0%, #0d223f 50%, #172e54 100%);
    color: var(--white);
    padding: 70px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.12) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 18px;
    letter-spacing: -1px;
    line-height: 1.15;
}

.hero-content h1 span.highlight {
    background: linear-gradient(120deg, #f59e0b, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    font-size: 18px;
    color: #cbd5e1;
    margin-bottom: 28px;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero-trust-bullets {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 24px;
}

.trust-bullet {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #e2e8f0;
}

.trust-bullet span.icon {
    color: #10b981;
    font-size: 16px;
}

/* Hero Officer Card */
.hero-officer-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
}

.officer-photo-wrapper {
    position: relative;
    width: 170px;
    height: 170px;
    margin: 0 auto 20px;
}

.officer-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f59e0b;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.officer-verified-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: #059669;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    border: 2px solid #0f2744;
    display: flex;
    align-items: center;
    gap: 4px;
}

.hero-officer-card h3 {
    color: var(--white);
    font-size: 22px;
    margin-bottom: 4px;
}

.hero-officer-card p.title {
    color: #f59e0b;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

.hero-officer-card p.nmls {
    color: #94a3b8;
    font-size: 12px;
    margin-bottom: 20px;
}

.officer-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Trust Bar / Stats Bar */
.trust-strip {
    background: var(--slate-50);
    border-bottom: 1px solid var(--slate-200);
    padding: 24px 0;
}

.trust-strip-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.trust-stat h4 {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 2px;
}

.trust-stat p {
    font-size: 13px;
    color: var(--slate-600);
    font-weight: 600;
}

/* Section Header Shared */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.section-header h2 {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
}

.section-header p {
    font-size: 16px;
    color: var(--slate-600);
}

/* Calculator Hub */
.calc-section {
    padding: 80px 0;
    background-color: var(--white);
}

.calc-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.calc-tab-btn {
    background: var(--slate-100);
    color: var(--slate-700);
    border: 1px solid var(--slate-200);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.calc-tab-btn:hover {
    background: var(--slate-200);
    color: var(--primary);
}

.calc-tab-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.calc-panel {
    display: none;
}

.calc-panel.active {
    display: block;
}

.calculator-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 36px;
    margin-bottom: 32px;
}

.calc-layout-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
}

.calc-input-group {
    margin-bottom: 22px;
}

.calc-input-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.calc-input-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--slate-800);
}

.calc-input-box {
    display: flex;
    align-items: center;
    background: var(--slate-50);
    border: 1px solid var(--slate-300);
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    font-weight: 700;
    font-size: 15px;
    color: var(--primary);
}

.calc-input-box input {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: inherit;
    width: 100px;
    text-align: right;
    outline: none;
}

/* Custom Range Slider */
.calc-range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: var(--slate-200);
    border-radius: 4px;
    outline: none;
    transition: background 0.2s;
}

.calc-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--gold);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: transform 0.1s;
}

.calc-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.calc-radio-group {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.calc-radio-pill {
    flex: 1;
    text-align: center;
    background: var(--slate-100);
    border: 1px solid var(--slate-200);
    padding: 9px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    color: var(--slate-700);
    cursor: pointer;
    transition: all 0.2s;
}

.calc-radio-pill.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Calculator Output Box */
.calc-output-box {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.calc-output-main {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--slate-200);
    margin-bottom: 20px;
}

.calc-output-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--slate-500);
    margin-bottom: 6px;
}

.calc-output-amount {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    letter-spacing: -1px;
}

.calc-output-amount span.period {
    font-size: 16px;
    font-weight: 600;
    color: var(--slate-500);
}

.calc-breakdown-list {
    list-style: none;
    margin-bottom: 24px;
}

.calc-breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.breakdown-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--slate-600);
    font-weight: 600;
}

.breakdown-color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.breakdown-val {
    font-weight: 700;
    color: var(--slate-900);
}

/* Loan Programs Grid */
.programs-section {
    padding: 80px 0;
    background-color: var(--slate-50);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.program-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: #cbd5e1;
}

.program-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.program-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary);
}

.program-card p {
    font-size: 14px;
    color: var(--slate-600);
    margin-bottom: 20px;
    flex: 1;
}

.program-features {
    list-style: none;
    margin-bottom: 24px;
    font-size: 13px;
}

.program-features li {
    padding: 5px 0;
    color: var(--slate-700);
    display: flex;
    align-items: center;
    gap: 8px;
}

.program-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--emerald);
    font-size: 12px;
}

/* Steps Section */
.steps-section {
    padding: 80px 0;
    background: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.step-card {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    position: relative;
}

.step-number {
    width: 38px;
    height: 38px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 16px;
    border: 2px solid var(--gold);
}

.step-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary);
}

.step-card p {
    font-size: 13px;
    color: var(--slate-600);
    line-height: 1.5;
}

/* Testimonials */
.reviews-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a192f 0%, #0f2744 100%);
    color: var(--white);
}

.reviews-section .section-header h2 {
    color: var(--white);
}

.reviews-section .section-header p {
    color: #cbd5e1;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.review-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-stars {
    color: #fbbf24;
    font-size: 16px;
    margin-bottom: 14px;
}

.review-card p {
    font-size: 14px;
    color: #e2e8f0;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
}

.review-author strong {
    color: var(--white);
    display: block;
    font-size: 14px;
}

.review-author span {
    font-size: 12px;
    color: #94a3b8;
}

/* Amortization Table */
.amort-table-wrapper {
    margin-top: 32px;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.amort-table-header {
    padding: 16px 20px;
    background: var(--slate-50);
    border-bottom: 1px solid var(--slate-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.amort-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.amort-table {
    width: 100%;
    min-width: 460px;
    border-collapse: collapse;
    font-size: 13px;
    text-align: right;
}

.amort-table th, .amort-table td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--slate-200);
}

.amort-table th {
    background: #f8fafc;
    font-weight: 700;
    color: var(--slate-700);
}

.amort-table th:first-child, .amort-table td:first-child {
    text-align: left;
}

/* Modals */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    position: relative;
}

.modal-header {
    background: var(--primary);
    color: var(--white);
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: var(--white);
    font-size: 18px;
    margin: 0;
}

.modal-close-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 26px;
    cursor: pointer;
    line-height: 1;
}

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

.modal-body {
    padding: 28px;
}

/* Form Styles */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--slate-300);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s;
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--blue-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Footer CTA Strip */
.footer-cta-strip {
    background: linear-gradient(135deg, #0a192f 0%, #172e54 100%);
    color: var(--white);
    padding: 56px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    flex-wrap: wrap;
}

.footer-cta-content h2 {
    color: var(--white);
    font-size: 28px;
    margin-bottom: 8px;
}

.footer-cta-content p {
    color: #cbd5e1;
    font-size: 15px;
}

.footer-cta-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Footer Main */
.site-footer {
    background: #061120;
    color: #94a3b8;
    padding: 64px 0 32px;
    font-size: 13px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-officer-name {
    color: var(--white);
    font-size: 17px;
    font-weight: 800;
}

.footer-officer-sub {
    font-size: 11px;
    color: #64748b;
    display: block;
}

.footer-bio-summary {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #cbd5e1;
}

.footer-trust-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.trust-badge-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.footer-heading {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact-info {
    list-style: none;
}

.footer-contact-info li {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    color: #cbd5e1;
}

.footer-contact-info li a {
    color: #cbd5e1;
}

.footer-contact-info li a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 28px;
}

.footer-disclaimer p {
    font-size: 11px;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 20px;
}

.footer-copyright-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom-links a {
    color: #94a3b8;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* Multi-Step Eligibility Wizard */
.wizard-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    max-width: 780px;
    margin: 0 auto;
    overflow: hidden;
}

.wizard-progress-track {
    background: var(--slate-100);
    height: 8px;
    width: 100%;
    position: relative;
}

.wizard-progress-fill {
    background: linear-gradient(90deg, #059669 0%, #10b981 100%);
    height: 100%;
    width: 12.5%;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wizard-header-row {
    padding: 20px 32px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--slate-100);
}

.wizard-step-indicator {
    font-size: 13px;
    font-weight: 700;
    color: var(--emerald);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wizard-body {
    padding: 36px 32px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.wizard-step-pane {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.wizard-step-pane.active {
    display: block;
}

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

.wizard-question-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.25;
}

.wizard-question-sub {
    font-size: 14px;
    color: var(--slate-500);
    margin-bottom: 28px;
}

.wizard-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.wizard-opt-btn {
    background: var(--slate-50);
    border: 2px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    font-family: inherit;
}

.wizard-opt-btn:hover {
    border-color: var(--emerald);
    background: #f0fdf4;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.wizard-opt-btn.selected {
    border-color: var(--emerald);
    background: #ecfdf5;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
}

.wizard-opt-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--white);
    border: 1px solid var(--slate-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.wizard-opt-btn:hover .wizard-opt-icon {
    color: var(--emerald);
    border-color: var(--emerald);
}

.wizard-opt-text strong {
    display: block;
    font-size: 15px;
    color: var(--slate-900);
    margin-bottom: 2px;
}

.wizard-opt-text span {
    font-size: 12px;
    color: var(--slate-500);
}

.wizard-footer-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--slate-100);
    margin-top: 20px;
}

.wizard-result-box {
    text-align: center;
    padding: 24px 16px;
}

.program-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin: 4px;
}

/* Toast Notifications */
.toast-notice {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #0f172a;
    color: #ffffff;
    padding: 16px 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    z-index: 3000;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    border-left: 4px solid var(--emerald);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notice.show {
    transform: translateY(0);
    opacity: 1;
}

/* Eligibility Spotlight Banner on Homepage */
.eligibility-banner-section {
    padding: 32px 0 8px;
    background: #f8fafc;
}

.eligibility-banner-card {
    background: linear-gradient(135deg, #064e3b 0%, #047857 50%, #059669 100%);
    border-radius: var(--radius-xl);
    padding: 36px 40px;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    box-shadow: 0 15px 35px -5px rgba(5, 150, 105, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.eligibility-banner-content {
    max-width: 680px;
}

.eligibility-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    color: #a7f3d0;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.eligibility-banner-card h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--white);
    margin: 0 0 10px;
    line-height: 1.25;
}

.eligibility-banner-card p {
    font-size: 15px;
    color: #e2e8f0;
    margin: 0 0 16px;
    line-height: 1.5;
}

.eligibility-features-row {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 13px;
    font-weight: 600;
    color: #d1fae5;
}

.eligibility-features-row i {
    color: #34d399;
}

.eligibility-banner-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.btn-xl {
    padding: 16px 28px;
    font-size: 16px;
    font-weight: 800;
    border-radius: var(--radius-lg);
    background: #f59e0b;
    color: #0f172a;
    border: none;
    box-shadow: 0 10px 20px -5px rgba(245, 158, 11, 0.5);
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-xl:hover {
    background: #fbbf24;
    color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 14px 24px -5px rgba(245, 158, 11, 0.6);
}

.eligibility-note {
    font-size: 12px;
    color: #a7f3d0;
}

@media (max-width: 900px) {
    .eligibility-banner-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 24px;
    }
    .eligibility-features-row {
        justify-content: center;
    }
    .eligibility-banner-action {
        width: 100%;
    }
    .btn-xl {
        width: 100%;
        justify-content: center;
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .calc-layout-grid {
        grid-template-columns: 1fr;
    }
    .trust-strip-inner {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ZIP & Phone Validation Styles */
.zip-suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid var(--slate-300);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 100;
    max-height: 220px;
    overflow-y: auto;
    margin-top: 4px;
}

.zip-suggestion-item {
    padding: 10px 14px;
    font-size: 14px;
    color: var(--slate-700);
    cursor: pointer;
    border-bottom: 1px solid var(--slate-100);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s;
}

.zip-suggestion-item:hover {
    background: #f1f5f9;
    color: var(--primary);
}

.zip-suggestion-item strong {
    color: var(--primary);
}

.zip-valid-badge {
    color: #059669;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 6px;
    padding: 7px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    margin-top: 8px;
}

.zip-invalid-badge {
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    padding: 7px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 8px;
}

.phone-valid-badge {
    color: #059669;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.phone-invalid-badge {
    color: #dc2626;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

/* ==========================================================================
   RESPONSIVE UTILITY GRIDS & COMPONENTS
   ========================================================================== */
.form-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-grid-3col {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 12px;
}

.booking-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: start;
}

.loan-program-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid var(--slate-200);
}

.loan-program-row-last {
    border-bottom: none;
}

.loan-program-bullets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    font-size: 14px;
}

.about-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
    align-items: start;
}

.about-photo-col {
    position: sticky;
    top: 100px;
}

.home-about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.mobile-menu-actions {
    display: none;
}

/* ==========================================================================
   MEDIA QUERIES FOR MOBILE RESPONSIVENESS
   ========================================================================== */
@media (max-width: 1260px) {
    .nav-menu {
        gap: 16px;
    }
    .btn-book-header {
        display: none !important;
    }
}

@media (max-width: 1080px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 20px 24px 28px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        border-bottom: 2px solid var(--slate-200);
        gap: 14px;
        z-index: 1000;
        animation: mobileMenuSlideDown 0.25s ease-out;
    }
    @keyframes mobileMenuSlideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .nav-menu.open {
        display: flex;
    }
    .nav-item {
        font-size: 16px;
        font-weight: 700;
        padding: 10px 14px;
        border-radius: 8px;
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    .nav-item:hover, .nav-item.active {
        background: var(--slate-100);
    }
    .mobile-menu-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        margin-top: 10px;
        padding-top: 16px;
        border-top: 1px solid var(--slate-200);
    }
    .mobile-menu-actions .btn {
        width: 100%;
        min-height: 44px;
        justify-content: center;
        text-align: center;
        box-sizing: border-box;
    }
    .mobile-menu-btn {
        display: flex;
    }
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-content {
        text-align: center;
    }
    .hero-lead {
        margin: 0 auto 28px;
    }
    .hero-trust-bullets {
        justify-content: center;
    }
    .hero-officer-card {
        max-width: 480px;
        margin: 0 auto;
    }
    .calc-layout-grid {
        grid-template-columns: 1fr;
    }
    .contact-page-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .about-page-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .about-photo-col {
        position: static !important;
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }
    .home-about-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }
    .loan-program-row {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 32px 0;
    }
    .booking-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .trust-strip-inner {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none !important;
    }
    .site-header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: #ffffff;
    }
    .header-inner {
        padding: 12px 16px;
    }
    .btn-book-header {
        display: none !important;
    }
    .btn-eligibility-header {
        display: none !important; /* Prominently placed inside mobile menu & hero for optimal screen space */
    }
    .btn-apply-header {
        padding: 8px 14px;
        font-size: 12px;
        letter-spacing: 0;
        white-space: nowrap;
    }
    .header-actions {
        gap: 8px;
        flex-shrink: 0;
    }
    .brand-logo {
        gap: 8px;
    }
    .logo-mark {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    .officer-brand-name {
        font-size: 15px;
    }
    .officer-brand-sub {
        font-size: 10px;
    }
    .hero-section {
        padding: 48px 0 40px;
    }
    .hero-content h1 {
        font-size: 28px;
        line-height: 1.25;
    }
    .hero-lead {
        font-size: 14px;
        line-height: 1.6;
    }
    .hero-ctas {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
        box-sizing: border-box;
    }
    .hero-trust-bullets {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .trust-strip-inner {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-bottom-links {
        justify-content: flex-start;
        margin-top: 10px;
    }
    .form-grid-2col {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .form-grid-3col {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .loan-program-bullets {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .wizard-card {
        padding: 24px 16px !important;
        border-radius: 18px !important;
    }
    .wizard-body {
        padding: 20px 0 !important;
        min-height: auto !important;
    }
    .wizard-question-title {
        font-size: 20px !important;
        margin-bottom: 8px !important;
    }
    .wizard-options-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .wizard-opt-btn {
        padding: 14px 16px !important;
    }
    .calc-tabs-nav {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 24px;
    }
    .calc-tab-btn {
        width: 100%;
        padding: 11px 16px;
        font-size: 13px;
        justify-content: flex-start;
    }
    .calculator-card {
        padding: 24px 16px !important;
        border-radius: 16px !important;
    }
    .donut-wrapper {
        max-width: 240px;
        margin: 0 auto 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .brand-text .officer-brand-sub {
        display: none;
    }
    .officer-brand-name {
        font-size: 14px;
    }
    .btn-apply-header {
        padding: 7px 11px;
        font-size: 11px;
    }
    .hero-trust-bullets {
        grid-template-columns: 1fr;
    }
    .trust-strip-inner {
        grid-template-columns: 1fr;
    }
    .calc-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
        gap: 6px;
    }
    .calc-tabs::-webkit-scrollbar {
        display: none;
    }
    .calc-tab-btn {
        white-space: nowrap;
        padding: 8px 12px;
        font-size: 12px;
        flex-shrink: 0;
    }
    .calc-card {
        padding: 20px 14px;
    }
    dialog.app-modal-dialog {
        max-width: calc(100vw - 24px);
    }
    .app-modal-card {
        padding: 28px 18px 22px;
        border-radius: 20px;
    }
    .app-modal-title {
        font-size: 1.25rem;
    }
    .app-modal-body {
        font-size: 0.92rem;
    }
}


/* ==========================================================================
   UNIVERSAL LUXURY MODAL ENGINE (<dialog>)
   ========================================================================== */
dialog.app-modal-dialog {
    padding: 0;
    border: none;
    background: transparent;
    max-width: 94vw;
    width: 490px;
    margin: auto;
    overflow: visible;
    outline: none;
}

dialog.app-modal-dialog:modal {
    overscroll-behavior: contain;
}

dialog.app-modal-dialog::backdrop {
    background: rgba(10, 25, 47, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow: hidden;
    overscroll-behavior: contain;
    animation: appModalBackdropFadeIn 0.22s ease-out forwards;
}

@keyframes appModalBackdropFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.app-modal-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 38px 30px 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(212, 175, 55, 0.22);
    animation: appModalCardPop 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes appModalCardPop {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.app-modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 2;
}

.app-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: scale(1.06);
}

.app-modal-icon-wrap {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 18px;
    animation: appModalIconPulse 2.4s infinite ease-in-out;
}

@keyframes appModalIconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.app-modal-icon-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #059669;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.28);
}

.app-modal-icon-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #d97706;
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.28);
}

.app-modal-icon-error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #dc2626;
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.28);
}

.app-modal-icon-info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #2563eb;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.28);
}

.app-modal-title {
    color: #0a192f;
    font-size: 1.45rem;
    font-weight: 800;
    margin: 0 0 10px;
    line-height: 1.3;
}

.app-modal-body {
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0 0 24px;
}

.app-modal-body p {
    margin: 0 0 10px;
}

.app-modal-body p:last-child {
    margin-bottom: 0;
}

.app-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-modal-btn {
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    font-size: 0.98rem;
    font-weight: 700;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.app-modal-btn:hover {
    transform: translateY(-2px);
}

.app-modal-btn.btn-gold {
    background: linear-gradient(135deg, #d4af37 0%, #f59e0b 100%);
    color: #0a192f;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.35);
}

.app-modal-btn.btn-gold:hover {
    box-shadow: 0 6px 22px rgba(212, 175, 55, 0.45);
}

.app-modal-btn.btn-emerald {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}

.app-modal-btn.btn-emerald:hover {
    box-shadow: 0 6px 22px rgba(16, 185, 129, 0.45);
}

.app-modal-btn.btn-danger {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.32);
}

.app-modal-btn.btn-secondary {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.app-modal-btn.btn-secondary:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Officer Mini Badge in Lead Modal */
.lead-success-content {
    text-align: center;
}

.lead-success-lead-in {
    font-size: 1.05rem;
    color: #1e293b;
    margin-bottom: 16px;
    line-height: 1.5;
}

.officer-mini-badge {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 16px 0;
    text-align: left;
}

.officer-mini-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a192f, #1e3a8a);
    color: #d4af37;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.officer-mini-details {
    display: flex;
    flex-direction: column;
}

.officer-mini-name {
    font-weight: 800;
    color: #0a192f;
    font-size: 0.96rem;
}

.officer-mini-role {
    font-size: 0.78rem;
    color: #d97706;
    font-weight: 700;
}

.officer-mini-company {
    font-size: 0.76rem;
    color: #64748b;
}

.lead-success-note {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.45;
    margin-bottom: 18px;
}
