:root {
    --primary-blue:    #0066FF;
    --secondary-orange:#FF6B35;
    --dark-blue:       #003D99;
    --light-blue:      #E6F0FF;
    --light-orange:    #FFF0E8;
    --text-dark:       #1A202C;
    --text-light:      #718096;
    --white:           #FFFFFF;
    --gray-bg:         #F7FAFC;
    --gray-border:     #E2E8F0;
    --shadow-sm:       0 2px 8px rgba(0,0,0,.08);
    --shadow-md:       0 4px 20px rgba(0,0,0,.10);
    --shadow-lg:       0 8px 40px rgba(0,0,0,.12);

    /* form palette (scoped to quote form) */
    --f-blue:          #0055FF;
    --f-blue-dark:     #0038CC;
    --f-blue-light:    #E8F0FF;
    --f-orange:        #FF5C2B;
    --f-orange-light:  #FFF0EA;
    --f-dark:          #0F172A;
    --f-mid:           #475569;
    --f-light:         #94A3B8;
    --f-border:        #E2E8F0;
    --f-surface:       #F8FAFF;
}

/* ── Hero ── */
.hero-white {
    background: var(--white);
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}
.hero-white::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 50%; height: 100%;
    background: linear-gradient(135deg, rgba(0,102,255,.03) 0%, rgba(255,107,53,.03) 100%);
    clip-path: polygon(100% 0,100% 100%,0 100%,25% 0);
    z-index: 0;
}
.hero-content { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }
.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-orange));
    color: white; padding: 10px 24px; border-radius: 50px;
    font-size: .9rem; font-weight: 600; margin-bottom: 25px; letter-spacing: .5px;
    box-shadow: var(--shadow-sm);
    animation: floatBadge 3s ease-in-out infinite;
}
@keyframes floatBadge {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-5px); }
}
.hero-white h1 { font-size: 3.2rem; margin-bottom: 25px; line-height: 1.2; color: var(--text-dark); }
.hero-white h1 span {
    color: var(--primary-blue);
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-orange));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle { font-size: 1.25rem; color: var(--text-light); max-width: 800px; margin-bottom: 40px; font-weight: 400; line-height: 1.7; }
.hero-cta { display: flex; gap: 15px; flex-wrap: wrap; margin-top: 40px; }

/* ── Buttons (site-wide) ── */
.btn {
    padding: 14px 32px; border-radius: 50px; font-weight: 600; font-size: 1rem;
    text-decoration: none; display: inline-flex; align-items: center; gap: 10px;
    transition: all .3s ease; border: 2px solid transparent; cursor: pointer;
    font-family: 'Inter', sans-serif;
}
.btn-primary { background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue)); color: white; box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue)); }
.btn-outline { background: transparent; border: 2px solid var(--primary-blue); color: var(--primary-blue); }
.btn-outline:hover { background: var(--primary-blue); color: white; transform: translateY(-3px); }

/* ── Sections ── */
.section { padding: 80px 0; }
.section-header { text-align: center; max-width: 900px; margin: 0 auto 60px; }
.section-title { font-size: 2.8rem; margin-bottom: 20px; color: var(--text-dark); position: relative; display: inline-block; }
.section-title::after {
    content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
    width: 80px; height: 4px; background: linear-gradient(90deg, var(--primary-blue), var(--secondary-orange)); border-radius: 2px;
}
.section-subtitle { font-size: 1.2rem; color: var(--text-light); line-height: 1.7; }
.text-gradient {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-orange));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── Service categories ── */
.service-category { background: var(--gray-bg); padding: 60px 0; }
.service-category:nth-child(even) { background: white; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ── Service cards ── */
.service-card {
    background: white; border-radius: 16px; padding: 35px; box-shadow: var(--shadow-md);
    transition: all .4s cubic-bezier(.4,0,.2,1); border: 1px solid var(--gray-border);
    height: 100%; display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-orange));
    opacity: 0; transition: opacity .3s ease;
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--primary-blue); }
.service-card:hover::before { opacity: 1; }
.service-icon {
    width: 70px; height: 70px; background: linear-gradient(135deg, var(--light-blue), rgba(255,107,53,.1));
    border-radius: 16px; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; margin-bottom: 25px; color: var(--primary-blue); transition: all .3s ease;
}
.service-card:hover .service-icon { transform: scale(1.1) rotate(5deg); background: linear-gradient(135deg, var(--primary-blue), var(--secondary-orange)); color: white; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--text-dark); }
.service-description { color: var(--text-light); margin-bottom: 25px; line-height: 1.7; font-size: 1rem; flex-grow: 1; }
.service-features { list-style: none; margin-bottom: 30px; padding: 0; }
.service-features li { padding: 8px 0 8px 25px; position: relative; color: var(--text-dark); font-size: .95rem; }
.service-features li::before { content: '✓'; position: absolute; left: 0; color: var(--secondary-orange); font-weight: bold; }
.service-cta { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--gray-border); text-align: center; }
.service-cta a {
    display: inline-block; color: var(--primary-blue); text-decoration: none; font-weight: 600; font-size: .95rem;
    padding: 10px 24px; border: 2px solid var(--primary-blue); border-radius: 50px; transition: all .3s ease;
}
.service-cta a:hover { background: var(--primary-blue); color: white; transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ── Trust section ── */
.trust-section {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: white; padding: 80px 0; position: relative; overflow: hidden;
}
.trust-section::before {
    content: ''; position: absolute; inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
}
.trust-section .section-title { color: white; }
.trust-section .section-subtitle { color: rgba(255,255,255,.9); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }
.trust-item {
    text-align: center; padding: 30px;
    background: rgba(255,255,255,.1); backdrop-filter: blur(10px);
    border-radius: 16px; border: 1px solid rgba(255,255,255,.2); transition: all .3s ease;
}
.trust-item:hover { transform: translateY(-5px); background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.3); }
.trust-icon { font-size: 2.5rem; margin-bottom: 20px; }
.trust-item h3 { font-size: 1.4rem; margin-bottom: 15px; color: white; }
.trust-item p { color: rgba(255,255,255,.9); font-size: .95rem; line-height: 1.6; }

/* ── FAQ ── */
.faq-section { padding: 80px 0; }
.faq-container { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.faq-item { background: white; border-radius: 8px; margin-bottom: 10px; overflow: hidden; border: 1px solid #e0e0e0; }
.faq-question {
    width: 100%; text-align: left; background: white; border: none; padding: 20px 25px;
    font-size: 1rem; font-weight: 600; color: var(--text-dark); cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; transition: all .3s;
}
.faq-question:hover { color: var(--primary-blue); }
.faq-question i { transition: transform .3s ease; color: var(--primary-blue); }
.faq-item.active .faq-question { color: var(--primary-blue); background-color: var(--light-blue); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .4s ease; padding: 0 25px; color: var(--text-light); }
.faq-item.active .faq-answer { max-height: 500px; padding: 0 25px 25px; }
.faq-answer-content { color: var(--text-light); line-height: 1.7; font-size: 1rem; padding-top: 10px; }

/* ── Contact form section wrapper ── */
.contact-form-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: white; padding: 80px 0;
}
.contact-form-section .section-title { color: white; }
.contact-form-section .section-subtitle { color: rgba(255,255,255,.95); }
.contact-form-container { max-width: 900px; margin: 0 auto; padding: 0 20px; }

/* ── Form card ── */
.form-card {
    background: white; border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,.12);
    overflow: visible; border: 1px solid var(--gray-border);
}
.progress-bar { height: 4px; background: var(--gray-border); border-radius: 16px 16px 0 0; overflow: hidden; }
.progress-fill {
    height: 100%; background: linear-gradient(90deg, var(--f-blue), var(--f-orange));
    border-radius: 4px; transition: width .4s ease;
}
.form-inner { padding: 40px; }

/* ── Step system ── */
.svc-step          { display: none; }
.svc-step.active   { display: block; animation: svcFadeSlide .32s ease; }
@keyframes svcFadeSlide {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
.step-label {
    font-family: 'Inter', sans-serif; font-size: .78rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase; color: var(--f-blue); margin-bottom: 6px;
}
.step-title { font-size: 1.2rem; font-weight: 700; color: var(--f-dark); margin-bottom: 28px; }

/* ── Form grid (reuses existing .form-grid from site) ── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 0; display: flex; flex-direction: column; gap: 7px; }
.form-group.full-width { grid-column: 1 / -1; }

.form-group label { display: block; margin-bottom: 0; font-weight: 600; color: var(--f-dark); font-size: .9rem; }
.form-group label .req { color: var(--f-orange); margin-left: 2px; }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 12px 15px;
    border: 1.5px solid var(--f-border); border-radius: 10px;
    font-family: 'Inter', sans-serif; font-size: .97rem; color: var(--f-dark);
    background: white; transition: border-color .2s, box-shadow .2s; appearance: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--f-light); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--f-blue); box-shadow: 0 0 0 3px rgba(0,85,255,.10);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* field error state */
.svc-field.has-error input,
.svc-field.has-error select,
.svc-field.has-error textarea { border-color: #EF4444; box-shadow: 0 0 0 3px rgba(239,68,68,.10); }
.svc-field-error { font-size: .78rem; color: #EF4444; font-weight: 500; display: none; }
.svc-field.has-error .svc-field-error { display: block; }

/* ── Service dropdown trigger ── */
.svc-dropdown { position: relative; }
.svc-trigger {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 12px 15px; border: 1.5px solid var(--f-border);
    border-radius: 10px; background: white; cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
    font-family: 'Inter', sans-serif; font-size: .97rem; color: var(--f-light);
    text-align: left; user-select: none;
}
.svc-trigger.has-selection { color: var(--f-dark); }
.svc-trigger:hover, .svc-trigger.open { border-color: var(--f-blue); box-shadow: 0 0 0 3px rgba(0,85,255,.10); }
.svc-trigger-left { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.svc-trigger-tags { display: flex; flex-wrap: wrap; gap: 5px; flex: 1; min-width: 0; }
.svc-tag {
    display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px;
    background: var(--f-blue-light); color: var(--f-blue); border-radius: 50px;
    font-size: .75rem; font-weight: 600; white-space: nowrap;
}
.svc-tag-more {
    display: inline-flex; align-items: center; padding: 3px 9px;
    background: var(--f-border); color: var(--f-mid); border-radius: 50px;
    font-size: .75rem; font-weight: 600; white-space: nowrap;
}
.svc-trigger-arrow { color: var(--f-light); font-size: .85rem; transition: transform .25s ease; flex-shrink: 0; margin-left: 10px; }
.svc-trigger.open .svc-trigger-arrow { transform: rotate(180deg); }

/* ── Dropdown panel ── */
.svc-panel {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0;
    background: white; border: 1.5px solid var(--f-blue); border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,85,255,.14); z-index: 200;
    max-height: 0; overflow: hidden;
    transition: max-height .35s cubic-bezier(.4,0,.2,1), opacity .25s ease;
    opacity: 0; pointer-events: none;
}
.svc-panel.open { max-height: 480px; opacity: 1; pointer-events: auto; overflow-y: auto; }
.svc-panel::-webkit-scrollbar { width: 5px; }
.svc-panel::-webkit-scrollbar-thumb { background: var(--f-border); border-radius: 10px; }
.svc-panel-inner { padding: 16px 18px 10px; }

.svc-cat-label {
    font-size: .69rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
    color: var(--f-light); padding: 12px 0 7px; border-top: 1px solid var(--f-border); margin-top: 4px;
}
.svc-cat-label:first-child { border-top: none; margin-top: 0; padding-top: 0; }

.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px,1fr)); gap: 7px; margin-bottom: 2px; }

.svc-chip {
    display: flex; align-items: center; gap: 8px; padding: 8px 11px;
    border: 1.5px solid var(--f-border); border-radius: 8px; cursor: pointer;
    transition: all .15s ease; font-size: .83rem; color: var(--f-mid);
    font-weight: 500; user-select: none; background: white;
}
.svc-chip:hover { border-color: var(--f-blue); background: var(--f-blue-light); color: var(--f-blue); }
.svc-chip input[type="checkbox"] { display: none; }
.chip-box {
    width: 15px; height: 15px; border: 1.5px solid var(--f-border); border-radius: 4px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    transition: all .15s; background: white;
}
.chip-box i { font-size: 8px; color: white; opacity: 0; transform: scale(.4); transition: all .12s; }
.svc-chip.selected { border-color: var(--f-blue); background: var(--f-blue-light); color: var(--f-blue); font-weight: 600; }
.svc-chip.selected .chip-box { background: var(--f-blue); border-color: var(--f-blue); }
.svc-chip.selected .chip-box i { opacity: 1; transform: scale(1); }

.svc-panel-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 18px 14px; border-top: 1px solid var(--f-border); gap: 10px;
}
.svc-clear-btn { font-size: .78rem; color: var(--f-light); background: none; border: none; cursor: pointer; font-weight: 600; padding: 0; transition: color .15s; }
.svc-clear-btn:hover { color: #EF4444; }
.svc-done-btn {
    font-size: .82rem; color: white; background: var(--f-blue); border: none; cursor: pointer;
    font-weight: 700; padding: 7px 18px; border-radius: 50px; transition: background .15s;
}
.svc-done-btn:hover { background: var(--f-blue-dark); }

/* count badge */
.svc-count {
    display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600;
    color: var(--f-blue); background: var(--f-blue-light); border-radius: 50px;
    padding: 3px 10px; margin-left: 8px; transition: opacity .2s; opacity: 0;
}
.svc-count.show { opacity: 1; }
.svc-error { font-size: .78rem; color: #EF4444; font-weight: 500; display: none; margin-top: 6px; }
.svc-error.show { display: block; }

/* ── Newsletter toggle ── */
.svc-nl-label {
    display: flex; align-items: flex-start; gap: 10px; cursor: pointer;
    padding: 14px 16px; background: var(--f-surface); border: 1.5px solid var(--f-border);
    border-radius: 10px; font-size: .88rem; color: var(--f-mid); line-height: 1.5; transition: all .18s;
}
.svc-nl-label input[type="checkbox"] { display: none; }
.nl-box {
    width: 18px; height: 18px; min-width: 18px; border: 1.5px solid var(--f-border);
    border-radius: 5px; display: flex; align-items: center; justify-content: center;
    margin-top: 1px; transition: all .18s; background: white;
}
.nl-box i { font-size: 9px; color: white; opacity: 0; transform: scale(.5); transition: all .15s; }
.svc-nl-label.checked .nl-box { background: var(--f-blue); border-color: var(--f-blue); }
.svc-nl-label.checked .nl-box i { opacity: 1; transform: scale(1); }
.svc-nl-label.checked { border-color: var(--f-blue); background: var(--f-blue-light); color: var(--f-blue-dark); }

/* ── Form actions ── */
.form-actions { display: flex; gap: 15px; margin-top: 30px; flex-wrap: wrap; }

/* step 2 msg */
#svc-form-msg2 {
    display: none; padding: 14px 18px; border-radius: 10px;
    font-size: .9rem; font-weight: 500; margin-top: 16px;
    align-items: center; gap: 10px;
}
#svc-form-msg2.show { display: flex; }
#svc-form-msg2.error { background: #FEE2E2; color: #991B1B; border: 1px solid #FCA5A5; }

/* ── Confirmation step ── */
.confirm-box { background: var(--f-surface); border: 1.5px solid var(--f-border); border-radius: 14px; padding: 20px 22px; margin-bottom: 4px; }
.confirm-section { margin-bottom: 18px; }
.confirm-section h4 { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--f-light); margin-bottom: 10px; }
.confirm-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--f-border); font-size: .9rem; }
.confirm-row:last-child { border-bottom: none; }
.confirm-row .ck { color: var(--f-light); font-weight: 500; min-width: 110px; font-size: .83rem; }
.confirm-row .cv { color: var(--f-dark); font-weight: 600; text-align: right; }
.confirm-chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.confirm-chip {
    display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px;
    background: var(--f-blue-light); color: var(--f-blue); border-radius: 50px;
    font-size: .78rem; font-weight: 600;
}

/* ── Success screen ── */
.svc-success-screen { text-align: center; padding: 52px 20px 60px; }
.svc-success-icon {
    width: 76px; height: 76px; background: linear-gradient(135deg, #10B981, #059669);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 24px; font-size: 1.9rem; color: white;
    box-shadow: 0 8px 28px rgba(16,185,129,.32);
    animation: svcPopIn .5s cubic-bezier(.175,.885,.32,1.275) forwards;
}
@keyframes svcPopIn {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
.svc-success-screen h3 { font-size: 1.5rem; font-weight: 800; color: var(--f-dark); margin-bottom: 10px; }
.svc-success-screen p { color: var(--f-mid); font-size: .97rem; line-height: 1.65; max-width: 400px; margin: 0 auto 28px; }
.svc-success-meta {
    display: inline-flex; align-items: center; gap: 8px;
    background: #D1FAE5; color: #065F46; padding: 8px 20px;
    border-radius: 50px; font-size: .83rem; font-weight: 600; margin-bottom: 18px;
}

/* countdown ring */
.svc-countdown-wrap { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; }
.svc-countdown-ring { position: relative; width: 36px; height: 36px; }
.svc-countdown-ring svg { transform: rotate(-90deg); }
.ring-track { fill: none; stroke: var(--f-border); stroke-width: 3; }
.ring-fill { fill: none; stroke: var(--f-blue); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 88; stroke-dashoffset: 0; transition: stroke-dashoffset 1s linear; }
.svc-countdown-num {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    font-size: .78rem; font-weight: 700; color: var(--f-blue);
}
.svc-countdown-text { font-size: .82rem; color: var(--f-light); font-weight: 500; }
.svc-success-screen.fading { animation: svcFadeOut .6s ease forwards; }
@keyframes svcFadeOut { to { opacity: 0; transform: translateY(-10px); } }

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero-white { padding: 100px 0 40px; }
    .hero-white h1 { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .section { padding: 60px 0; }
    .section-title { font-size: 2rem; }
    .services-grid { grid-template-columns: 1fr; padding: 0 15px; }
    .hero-cta, .form-actions { flex-direction: column; gap: 15px; }
    .btn { width: 100%; justify-content: center; }
    .form-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr; gap: 20px; }
    .faq-question { padding: 20px; }
    .form-inner { padding: 25px; }
}
@media (max-width: 480px) {
    .hero-white h1 { font-size: 1.8rem; }
    .section-title { font-size: 1.6rem; }
    .service-card { padding: 25px; }
    .svc-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Animations ── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp .6s ease forwards; }