@import url("styles.css");

/* Professional UK Soliciting Website - Main Styles */
:root {
    color-scheme: light;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background: #f8fafc;
    color: #1e293b;
    font-family: 'DM Sans', sans-serif;
}

.font-display {
    font-family: 'Manrope', sans-serif;
}

.hero-grid,
.hero-section > .absolute,
#claim-form > .absolute {
    display: none;
}

.brand-mark {
    background: #d97706;
    border-radius: .5rem;
    box-shadow: none;
}

/* Navigation */
.nav-link {
    color: #cbd5e1;
    transition: color .2s ease;
}

.nav-link:hover,
.footer-link:hover {
    color: #fbbf24;
}

/* Section Styles */
.section-title {
    color: #0f172a;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.12;
}

.section-copy {
    color: #64748b;
    line-height: 1.75;
}

/* Button Styles */
.button {
    border-radius: .5rem;
    transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-amber {
    background: #d97706;
    box-shadow: 0 10px 24px rgba(217, 119, 6, .2);
}

.button-amber:hover {
    background: #b45309;
    box-shadow: 0 14px 30px rgba(217, 119, 6, .3);
}

.button-navy {
    background: #0f172a;
}

.button-navy:hover {
    background: #1e293b;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .16);
}

/* Claim Form Shell */
.claim-form-shell {
    position: relative;
    border: 1px solid rgba(226, 232, 240, .9);
}

.claim-form-shell::before {
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #d97706, #fbbf24, #0f172a);
    content: '';
}

/* Claim Options */
.claim-option {
    position: relative;
    display: flex;
    min-height: 118px;
    align-items: center;
    gap: .85rem;
    border: 2px solid #e2e8f0;
    border-radius: 1rem;
    background: #fff;
    padding: 1rem;
    color: #334155;
    text-align: left;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.claim-option:hover,
.claim-option-active {
    border-color: #d97706;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .1);
    transform: translateY(-2px);
}

.claim-option-active {
    background: linear-gradient(145deg, #fff, #fffbeb);
    color: #0f172a;
}

.claim-option-icon {
    display: flex;
    height: 48px;
    width: 48px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: .75rem;
    background: #fffbeb;
    color: #d97706;
}

.claim-option-icon svg { height: 1.5rem; width: 1.5rem; }
.claim-option small { display: block; margin-top: .3rem; color: #64748b; font-size: .72rem; font-weight: 500; }
.claim-radio { height: 20px; width: 20px; flex: 0 0 auto; margin-left: auto; border: 2px solid #cbd5e1; border-radius: 999px; transition: border-color .2s ease; }
.claim-radio-active { border: 6px solid #d97706; }

/* Fault Options */
.fault-option {
    display: flex;
    align-items: center;
    gap: .55rem;
    border: 2px solid #e2e8f0;
    border-radius: .65rem;
    padding: .7rem .75rem;
    color: #475569;
    font-size: .75rem;
    font-weight: 600;
    transition: border-color .2s ease, background-color .2s ease;
}

.fault-option:has(input:checked) { border-color: #d97706; background: #fffbeb; color: #92400e; }
.fault-option input { accent-color: #d97706; }

/* Form Fields */
.field-input {
    appearance: none;
    min-height: 52px;
    border: 2px solid #e2e8f0;
    border-radius: .7rem;
    background: #fff;
    padding: .8rem .95rem;
    color: #0f172a;
    font-size: .9rem;
    transition: border-color .2s ease, box-shadow .2s ease;
}

select.field-input { background-image: linear-gradient(45deg, transparent 50%, #64748b 50%), linear-gradient(135deg, #64748b 50%, transparent 50%); background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-repeat: no-repeat; background-size: 5px 5px, 5px 5px; padding-right: 2.5rem; }
.field-input:focus { border-color: #d97706; box-shadow: 0 0 0 4px rgba(217, 119, 6, .12); outline: none; }
.consent-row { display: flex; align-items: flex-start; gap: .7rem; margin-top: 1.5rem; color: #475569; font-size: .8rem; line-height: 1.6; }
.consent-row input { margin-top: .25rem; height: 1.1rem; width: 1.1rem; accent-color: #d97706; }
.consent-row a { color: #0f172a; font-weight: 800; text-decoration: underline; }
.loading-dot { height: .8rem; width: .8rem; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 999px; animation: spin .7s linear infinite; }

/* Qualifier Chips */
.qualifier-chip { display: flex; cursor: pointer; align-items: center; gap: .75rem; border: 2px solid #e2e8f0; border-radius: .75rem; padding: .85rem 1rem; color: #475569; font-size: .8rem; font-weight: 700; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.qualifier-chip:has(input:checked) { border-color: #0f172a; background: #0f172a; color: #fff; }
.qualifier-chip input { height: 1rem; width: 1rem; accent-color: #d97706; }

/* Timeline */
.timeline-grid { position: relative; }
.timeline-grid::before { position: absolute; top: 2rem; right: 10%; left: 10%; height: 2px; background: linear-gradient(90deg, #d97706, #cbd5e1); content: ''; }
.timeline-grid > article { position: relative; z-index: 1; }

/* Service Cards */
.service-card {
    border: 2px solid #e2e8f0;
    border-radius: 1.25rem;
    background: white;
    padding: 1.5rem;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.service-card:hover {
    border-color: #fbbf24;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .1);
    transform: translateY(-5px);
}

/* Animations */
@keyframes spin { to { transform: rotate(360deg); } }

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

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

.reveal {
    animation: fadeInUp .7s ease both;
}

.reveal-delay {
    animation-delay: .15s;
}

.reveal-delay-2 {
    animation-delay: .3s;
}

/* Button Ghost */
.button-ghost {
    border-color: rgba(255,255,255,.22);
    color: white;
}

.button-ghost:hover {
    border-color: rgba(255,255,255,.5);
    background: rgba(255,255,255,.06);
}

.button-light {
    border: 1px solid #cbd5e1;
    color: #334155;
}

.button-light:hover {
    background: #f8fafc;
}

/* Phone Icon */
.phone-icon {
    color: #fbbf24;
    font-size: 1.1rem;
}

/* Step Dot */
.step-dot {
    display: flex;
    height: 32px;
    width: 32px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #d97706;
    color: white;
    font-size: .85rem;
    font-weight: 800;
}

.step-rule {
    margin-left: 15px;
    height: 22px;
    width: 2px;
    background: rgba(255,255,255,.2);
}

/* FAQ Button */
.faq-button {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.25rem 0;
    text-align: left;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    transition: color .2s ease;
}

.faq-button:hover {
    color: #d97706;
}

.faq-symbol {
    flex: 0 0 auto;
    color: #d97706;
    font-size: 1.5rem;
    font-weight: 400;
}

.faq-answer {
    padding: 0 2rem 1.25rem 0;
    color: #64748b;
    font-size: .9rem;
    line-height: 1.8;
}

/* Compliance Banner */
.compliance-banner {
    border-top: 1px solid #fde68a;
    background: #fffbeb;
}

/* Service Link */
.service-link {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    margin-top: 1.2rem;
    color: #b45309;
    font-size: .875rem;
    font-weight: 800;
}

.service-link span {
    transition: transform .2s ease;
}

.service-link:hover span {
    transform: translateX(4px);
}

/* Timeline */
.timeline {
    display: grid;
    gap: 1rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 1rem;
    align-items: start;
    border-bottom: 1px solid #e2e8f0;
    padding: 1.15rem 0 1.4rem;
}

.timeline-item:last-child {
    border-bottom: 0;
}

.timeline-number {
    color: #d97706;
    font-family: 'Manrope', sans-serif;
    font-size: .85rem;
    font-weight: 800;
    letter-spacing: .06em;
}

.timeline-item h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
}

.timeline-item p {
    margin-top: .4rem;
    color: #64748b;
    line-height: 1.7;
}

/* Stat Number */
.stat-number {
    font-family: 'Manrope', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #d97706;
}

/* Form Title */
.form-title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
}

.form-intro {
    margin-top: .45rem;
    color: #64748b;
}

/* Error Text */
.error-text {
    min-height: 1.15rem;
    margin-top: .35rem;
    color: #dc2626;
    font-size: .75rem;
    font-weight: 600;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .section-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }
}

@media (max-width: 768px) {
    .claim-option {
        min-height: 90px;
    }
    
    .claim-option-icon {
        height: 40px;
        width: 40px;
    }
    
    .claim-option-icon svg {
        height: 1.2rem;
        width: 1.2rem;
    }
    
    .step-dot {
        height: 28px;
        width: 28px;
        font-size: .75rem;
    }
    
    .faq-button {
        padding: 1rem 0;
        font-size: .9rem;
    }
    
    .faq-answer {
        padding-right: 1rem;
    }
}

/* Hover Effects for Service Cards */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .button { transition: none; }
    .reveal { animation: none; }
    .service-card { transition: none; }
    .claim-option { transition: none; }
}
