/* ============================================
   SITE-A — Modern Credit & Finance Theme
   Inspired by PaydayUK design
   Colors: Purple #7a00df, Navy #1a1a2e
   Fonts: Montserrat + Rubik
   ============================================ */

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    color: #333;
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color .3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a2e;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.clear { clear: both; }

/* === HEADER === */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
    transition: box-shadow .3s;
}

.header-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.header-logo a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: #7a00df;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.header-logo img {
    height: 40px;
    width: auto;
}

.header-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.header-logo-name {
    font-size: 1.2rem;
    font-weight: 700;
}

.header-logo-baseline {
    font-size: 0.7rem;
    font-weight: 700;
    color: #666;
    letter-spacing: 0.5px;
    text-align: center;
}

/* Nav */
.header-nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-nav > li {
    position: relative;
}

.header-nav > li > a {
    display: block;
    padding: 10px 15px;
    font-size: .9rem;
    font-weight: 500;
    color: #1a1a2e;
    border-radius: 8px;
    transition: background .3s, color .3s;
}

.header-nav > li > a:hover,
.header-nav > li > a.active {
    color: #7a00df;
    background: rgba(122,0,223,.06);
}

/* Dropdown */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,.12);
    padding: 8px 0;
    display: none;
}

.nav-dropdown li a {
    display: block;
    padding: 10px 20px;
    font-size: .88rem;
    color: #444;
    transition: background .2s, color .2s;
}

.nav-dropdown li a:hover {
    background: rgba(122,0,223,.06);
    color: #7a00df;
}

/* CTA button in header */
.header-cta a {
    display: inline-block;
    padding: 10px 28px;
    background: #7a00df;
    color: #fff !important;
    border-radius: 9999px;
    font-size: .9rem;
    font-weight: 600;
    transition: background .3s, transform .2s;
}

.header-cta a:hover {
    background: #6200b3;
    transform: translateY(-1px);
}

/* Mobile menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: #1a1a2e;
    border-radius: 3px;
    transition: transform .3s, opacity .3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Language bar */
.lang-bar {
    background: #1a1a2e;
    padding: 6px 0;
}

.lang-bar .container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.lang-bar .lang-label {
    color: rgba(255,255,255,.7);
    font-size: .75rem;
    margin-right: 5px;
}

.lang-bar a img {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    opacity: .7;
    transition: opacity .3s, transform .3s;
}

.lang-bar a:hover img {
    opacity: 1;
    transform: scale(1.15);
}

/* Spacer for fixed header */
.header-spacer {
    height: 100px;
}

/* === HERO SECTION === */
.hero {
    background: linear-gradient(135deg, rgba(26,26,46,.25) 0%, rgba(45,27,105,.2) 50%, rgba(122,0,223,.15) 100%), url('../images/bg.jpg') center/cover no-repeat;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(122,0,223,.3) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.15rem;
    color: rgba(255,255,255,.8);
    margin-bottom: 30px;
    max-width: 500px;
}

/* Hero calculator */
.hero-calculator {
    flex: 0 0 420px;
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
}

.hero-calculator h3 {
    font-size: 1.3rem;
    color: #1a1a2e;
    margin-bottom: 25px;
    text-align: center;
}

.calc-field {
    margin-bottom: 20px;
}

.calc-field label {
    display: block;
    font-size: .85rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 8px;
}

.calc-field .range-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #7a00df;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    margin-bottom: 10px;
}

.calc-field input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: #e8e0f3;
    border-radius: 4px;
    outline: none;
}

.calc-field input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: #7a00df;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(122,0,223,.4);
    transition: transform .2s;
}

.calc-field input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.calc-field input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: #7a00df;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(122,0,223,.4);
}

.calc-field input[type="email"],
.calc-field input[type="text"],
.calc-field input[type="number"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8e0f3;
    border-radius: 12px;
    font-size: .95rem;
    font-family: 'Rubik', sans-serif;
    transition: border-color .3s;
    outline: none;
}

.calc-field input:focus {
    border-color: #7a00df;
}

.calc-summary {
    background: #f8f5fd;
    border-radius: 12px;
    padding: 15px;
    margin: 20px 0;
}

.calc-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: .9rem;
}

.calc-summary-row span:last-child {
    font-weight: 600;
    color: #1a1a2e;
}

.calc-summary-row.total {
    border-top: 2px solid #e8e0f3;
    margin-top: 6px;
    padding-top: 10px;
    font-weight: 700;
    font-size: 1rem;
}

.calc-summary-row.total span:last-child {
    color: #7a00df;
    font-size: 1.15rem;
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    border: none;
    transition: all .3s;
    text-align: center;
}

.btn-primary {
    background: #7a00df;
    color: #fff;
}

.btn-primary:hover {
    background: #6200b3;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(122,0,223,.3);
}

.btn-white {
    background: #fff;
    color: #7a00df;
}

.btn-white:hover {
    background: #f5f0ff;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #7a00df;
    border: 2px solid #7a00df;
}

.btn-outline:hover {
    background: #7a00df;
    color: #fff;
}

.btn-full {
    width: 100%;
}

.btn-lg {
    padding: 16px 44px;
    font-size: 1.05rem;
}

/* === FEATURES GRID === */
.section {
    padding: 70px 0;
}

.section-gray {
    background: #f7f5fa;
}

.section-dark {
    background: #1a1a2e;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.section-dark .section-title {
    color: #fff;
}

.section-subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: #777;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-dark .section-subtitle {
    color: rgba(255,255,255,.7);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    transition: transform .3s, box-shadow .3s;
    border: 1px solid #f0edf5;
    display: block;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: #f5f0ff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    fill: #7a00df;
}

.feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: .9rem;
    color: #777;
    line-height: 1.5;
}

/* === SERVICES CARDS === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
    border: 1px solid #f0edf5;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
}

/* === 3 STEPS === */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 45px;
    left: 15%;
    right: 15%;
    height: 3px;
    background: #e8e0f3;
    z-index: 0;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #7a00df, #a855f7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(122,0,223,.3);
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.step-card p {
    font-size: .9rem;
    color: #777;
    max-width: 280px;
    margin: 0 auto;
}

/* === TESTIMONIALS === */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid #f0edf5;
    transition: transform .3s;
}

.testimonial-card:hover {
    transform: translateY(-3px);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.testimonial-card blockquote {
    font-size: .93rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author-info h4 {
    font-size: .9rem;
    font-weight: 600;
}

.testimonial-author-info span {
    font-size: .8rem;
    color: #999;
}

/* === FAQ ACCORDION === */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid #f0edf5;
    overflow: hidden;
    transition: box-shadow .3s;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,.05);
}

.faq-question {
    padding: 20px 25px;
    font-size: .95rem;
    font-weight: 600;
    color: #1a1a2e;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    user-select: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    color: #7a00df;
    font-weight: 300;
    transition: transform .3s;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-item.active .faq-question::after {
    content: '\2212';
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .4s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
}

.faq-answer p {
    font-size: .9rem;
    color: #666;
    line-height: 1.7;
}

/* === CTA SECTION === */
.cta-section {
    background: linear-gradient(135deg, #7a00df 0%, #a855f7 100%);
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-section p {
    color: rgba(255,255,255,.85);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* === REPRESENTATIVE EXAMPLE BOX === */
.example-box {
    background: #f8f5fd;
    border-radius: 16px;
    padding: 35px;
    border: 1px solid #e8e0f3;
}

.example-box h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.example-box h4 {
    font-size: 1rem;
    margin: 20px 0 10px;
    color: #7a00df;
}

.example-box .description-line {
    font-size: .9rem;
    color: #666;
    padding: 4px 0;
    line-height: 1.6;
}

.example-box .description-line b {
    color: #7a00df;
}

.example-box .example-line {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e8e0f3;
    font-size: .9rem;
}

.example-box .example-line label {
    color: #666;
}

.example-box .example-line span {
    font-weight: 600;
    color: #1a1a2e;
}

/* === FOOTER === */
#site-footer {
    background: #1a1a2e;
    color: rgba(255,255,255,.7);
}

.footer-warning {
    background: #151525;
    padding: 15px 0;
    text-align: center;
    font-size: .85rem;
    color: rgba(255,255,255,.6);
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.footer-main {
    padding: 50px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand p {
    font-size: .9rem;
    line-height: 1.7;
    margin-top: 15px;
    max-width: 300px;
}

.footer-brand .footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: #fff;
}

.footer-col h4 {
    color: #fff;
    font-size: .95rem;
    margin-bottom: 18px;
    font-family: 'Montserrat', sans-serif;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: .88rem;
    color: rgba(255,255,255,.6);
    transition: color .3s, padding-left .3s;
}

.footer-col ul li a:hover {
    color: #a855f7;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 20px 0;
    text-align: center;
    font-size: .82rem;
}

/* === FORMS (Apply & Contact) === */
.page-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1b69 100%);
    padding: 50px 0 40px;
    text-align: center;
}

.page-header h1 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.page-header p {
    color: rgba(255,255,255,.7);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.form-section {
    padding: 50px 0;
}

.form-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 5px 30px rgba(0,0,0,.06);
    border: 1px solid #f0edf5;
}

.form-group-title {
    font-size: 1.15rem;
    color: #7a00df;
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0edf5;
}

.form-group-title:first-child {
    margin-top: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 5px;
}

.form-row.single {
    grid-template-columns: 1fr;
}

.form-field {
    margin-bottom: 18px;
}

.form-field label {
    display: block;
    font-size: .85rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 6px;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="number"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8e0f3;
    border-radius: 12px;
    font-size: .95rem;
    font-family: 'Rubik', sans-serif;
    color: #333;
    background: #fff;
    transition: border-color .3s;
    outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: #7a00df;
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.form-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a00df' fill='none' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    -webkit-appearance: none;
    appearance: none;
}

.errorinitself {
    display: none;
    color: #e53e3e;
    font-size: .8rem;
    margin-top: 5px;
}

.form-radio-group {
    display: flex;
    gap: 20px;
    padding: 8px 0;
}

.form-radio-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: .9rem;
}

.form-radio-group input[type="radio"] {
    accent-color: #7a00df;
    width: 18px;
    height: 18px;
}

.form-select-mini {
    display: inline-block;
    width: auto;
    min-width: 100px;
}

.form-select-mini select {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e8e0f3;
    border-radius: 12px;
    font-size: .9rem;
    font-family: 'Rubik', sans-serif;
    outline: none;
    background: #fff;
    transition: border-color .3s;
}

.form-select-mini select:focus {
    border-color: #7a00df;
}

.date-selects {
    display: flex;
    gap: 10px;
}

.acceptance-notice {
    font-size: .8rem;
    color: #888;
    line-height: 1.5;
    margin: 20px 0;
}

.acceptance-notice a {
    color: #7a00df;
    text-decoration: underline;
}

/* Success / Error */
.success-apply,
.success-contact {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.success-apply img {
    width: 60px;
    margin: 0 auto 15px;
}

.success-apply .annoncetopfelice,
.success-contact .success-message {
    font-size: 1.2rem;
    font-weight: 600;
    color: #16a34a;
    margin-bottom: 10px;
}

.success-apply .annoncetopfelicecontent {
    font-size: .9rem;
    color: #555;
}

.success-apply .coloredpackmail {
    color: #7a00df;
    font-weight: 600;
}

.error-apply,
.error-contact {
    display: none;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 12px 18px;
    margin-bottom: 20px;
    color: #b91c1c;
    font-size: .88rem;
}

/* === PAGE CONTENT (services, legal, etc.) === */
.page-content {
    padding: 50px 0;
}

.content-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0,0,0,.05);
    border: 1px solid #f0edf5;
}

.content-card h1,
.content-card h2 {
    font-size: 1.4rem;
    color: #1a1a2e;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0edf5;
}

.content-card h2.sub {
    font-size: 1.1rem;
    color: #7a00df;
    border: none;
    padding-bottom: 0;
    margin-top: 25px;
}

.content-card p,
.content-card .text-content {
    font-size: .93rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-card ul {
    margin: 10px 0 10px 25px;
    list-style: disc;
}

.content-card ul li {
    font-size: .9rem;
    color: #555;
    margin-bottom: 6px;
    line-height: 1.6;
}

.content-card .service-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0;
    list-style: none;
}

.content-card .service-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: #f8f5fd;
    border-radius: 12px;
    color: #1a1a2e;
    font-weight: 500;
    font-size: .95rem;
    transition: background .3s, transform .2s;
}

.content-card .service-list a:hover {
    background: #efe8fa;
    transform: translateX(5px);
}

.content-card .service-list a::before {
    content: '';
    width: 10px;
    height: 10px;
    background: #7a00df;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Service detail page banner */
.service-banner {
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.service-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(26,26,46,.5));
}

/* Button link */
.btn-link {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 32px;
    background: #7a00df;
    color: #fff;
    border-radius: 9999px;
    font-weight: 600;
    font-size: .95rem;
    transition: background .3s, transform .2s;
}

.btn-link:hover {
    background: #6200b3;
    transform: translateY(-2px);
    color: #fff;
}

/* Contact page */
/* Contact top: map + info side by side */
.contact-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-map {
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    min-height: 300px;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: none;
}

.contact-info-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1b69 100%);
    border-radius: 16px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-title {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,.15);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 22px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: rgba(122,0,223,.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9a0ff;
}

.contact-info-item label {
    display: block;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,.5);
    margin-bottom: 4px;
}

.contact-info-item p,
.contact-info-item a {
    font-size: .95rem;
    color: #fff;
}

.contact-info-item a:hover {
    color: #c9a0ff;
}

/* Contact form section */
.contact-form-section .form-card {
    border: none;
    box-shadow: 0 5px 30px rgba(0,0,0,.06);
}

.contact-form-title {
    font-size: 1.25rem;
    color: #1a1a2e;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0edf5;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* === LEGAL / CONDITIONS === */
.legal-content {
    padding: 50px 0;
}

.legal-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0,0,0,.05);
    border: 1px solid #f0edf5;
}

.site-title-in-section {
    font-size: 1.2rem;
    color: #1a1a2e;
    margin: 25px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0edf5;
}

.site-subtitle-in-section {
    font-size: 1rem;
    color: #7a00df;
    margin: 18px 0 8px;
}

.description-line {
    font-size: .9rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 8px;
}

.description-line a {
    color: #7a00df;
}

.legal-card ul {
    margin: 10px 0 10px 25px;
    list-style: disc;
}

.legal-card ul li {
    font-size: .9rem;
    color: #555;
    margin-bottom: 6px;
    line-height: 1.6;
}

/* === LOADER === */
#loader-wait {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26,26,46,.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

#loader-wait > div {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255,255,255,.3);
    border-top-color: #7a00df;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-calculator {
        flex: none;
        width: 100%;
        max-width: 420px;
    }
}

@media (max-width: 768px) {
    .header-nav-wrap {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        padding: 20px;
        overflow-y: auto;
        box-shadow: 0 10px 30px rgba(0,0,0,.1);
    }
    .header-nav-wrap.open {
        display: block;
    }
    .header-nav {
        flex-direction: column;
        gap: 0;
    }
    .header-nav > li > a {
        padding: 14px 15px;
        font-size: 1rem;
        border-bottom: 1px solid #f5f5f5;
    }
    .nav-dropdown {
        position: static;
        box-shadow: none;
        border-radius: 0;
        padding: 0 0 0 20px;
    }
    .header-nav > li.open .nav-dropdown {
        display: block;
    }
    .header-cta {
        margin-top: 15px;
    }
    .header-cta a {
        display: block;
        text-align: center;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .header-logo-name {
        font-size: 0.85rem;
    }
    .header-logo-baseline {
        font-size: 0.55rem;
    }
    .header-logo img {
        height: 30px;
    }

    .hero {
        padding: 50px 0 40px;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .steps-grid::before {
        display: none;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-top {
        grid-template-columns: 1fr;
    }
    .contact-map {
        min-height: 250px;
    }
    .contact-map iframe {
        min-height: 250px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .content-card .service-list {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .form-card {
        padding: 25px;
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.65rem;
    }
    .hero-calculator {
        padding: 25px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .date-selects {
        flex-direction: column;
    }
}
