/* ============================================
   RAPTAS FINANCIAL SOLUTIONS — Design System
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Primary palette */
    --navy: #0a1628;
    --navy-light: #111d32;
    --navy-mid: #162340;
    --gold: #c89b3c;
    --gold-light: #e0b964;
    --gold-dark: #a67c2e;

    /* Neutrals */
    --white: #ffffff;
    --off-white: #f7f8fc;
    --gray-50: #f0f1f5;
    --gray-100: #e2e4ea;
    --gray-200: #c5c9d3;
    --gray-400: #8b92a5;
    --gray-600: #5a6077;
    --gray-800: #2d3245;
    --text: #1a1e2e;
    --text-muted: #6b7280;

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #c89b3c 0%, #e0b964 50%, #c89b3c 100%);
    --gradient-navy: linear-gradient(135deg, #0a1628 0%, #162340 100%);
    --gradient-hero: linear-gradient(160deg, #0a1628 0%, #0f1f3d 40%, #152a4a 70%, #0a1628 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.06);
    --shadow-md: 0 4px 20px rgba(10, 22, 40, 0.08);
    --shadow-lg: 0 8px 40px rgba(10, 22, 40, 0.12);
    --shadow-gold: 0 4px 24px rgba(200, 155, 60, 0.25);

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-py: 100px;
    --container-max: 1200px;

    /* Transitions */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 600;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.text-gold {
    color: var(--gold);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn--gold {
    background: var(--gradient-gold);
    color: var(--navy);
    border-color: transparent;
    box-shadow: var(--shadow-gold);
}

.btn--gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(200, 155, 60, 0.4);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold);
    color: var(--gold);
}

.btn--lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn--full {
    width: 100%;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(10, 22, 40, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    z-index: 10;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.15em;
}

.logo-sub {
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--gray-200);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__link {
    color: var(--gray-200);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav__link:hover,
.nav__link.active {
    color: var(--white);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__cta {
    padding: 10px 22px;
    font-size: 0.85rem;
}

.nav__toggle,
.nav__close {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(200, 155, 60, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(200, 155, 60, 0.05) 0%, transparent 50%);
}

.hero__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
    padding-bottom: 60px;
}

.hero__badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(200, 155, 60, 0.12);
    border: 1px solid rgba(200, 155, 60, 0.25);
    border-radius: 100px;
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    color: var(--white);
    margin-bottom: 20px;
    max-width: 750px;
}

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--gray-200);
    max-width: 600px;
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero__services-peek {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.peek-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    min-width: 220px;
    transition: var(--transition);
}

.peek-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(200, 155, 60, 0.3);
    transform: translateY(-4px);
}

.peek-card__icon {
    color: var(--gold);
    margin-bottom: 12px;
}

.peek-card h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.peek-card a {
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 500;
}

.peek-card a:hover {
    color: var(--white);
}

.hero__scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray-400);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(0.5);
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section {
    padding: var(--section-py) 0;
}

.section__header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section__tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(200, 155, 60, 0.08);
    border: 1px solid rgba(200, 155, 60, 0.2);
    border-radius: 100px;
    color: var(--gold-dark);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section__title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--navy);
    margin-bottom: 16px;
}

.section__desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: var(--off-white);
}

.about__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.about__text p {
    margin-bottom: 16px;
    color: var(--gray-600);
}

.about__text strong {
    color: var(--navy);
}

.about__image-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--gradient-navy);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.about__logo-img {
    max-width: 80%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(200, 155, 60, 0.1));
}

.about__image-wrapper.fallback-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(200, 155, 60, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(200, 155, 60, 0.1) 0%, transparent 50%);
}

.about__image-wrapper.fallback-bg::before {
    content: 'R';
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 700;
    color: rgba(200, 155, 60, 0.12);
    z-index: 1;
}

/* ============================================
   TRUST / WHY CHOOSE US
   ============================================ */
.trust__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.trust__card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.trust__card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.trust__card-number {
    position: absolute;
    top: 12px;
    right: 16px;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(200, 155, 60, 0.1);
    line-height: 1;
}

.trust__card-icon {
    color: var(--gold);
    margin-bottom: 18px;
}

.trust__card h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--navy);
}

.trust__card p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* ============================================
   QUICK LINKS
   ============================================ */
.quick-links {
    background: var(--off-white);
}

.quick-links__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.quick-link__card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.quick-link__card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.quick-link__icon {
    color: var(--gold);
}

.quick-link__card h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
}

.quick-link__arrow {
    font-size: 1.4rem;
    color: var(--gold);
    transition: var(--transition);
}

.quick-link__card:hover .quick-link__arrow {
    transform: translateX(6px);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    background: var(--navy);
    color: var(--white);
}

.services .section__tag {
    color: var(--gold-light);
    background: rgba(200, 155, 60, 0.12);
    border-color: rgba(200, 155, 60, 0.25);
}

.services .section__title {
    color: var(--white);
}

.services__block {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 48px;
    margin-bottom: 32px;
    transition: var(--transition);
}

.services__block:hover {
    border-color: rgba(200, 155, 60, 0.2);
    background: rgba(255, 255, 255, 0.06);
}

.services__block-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.nav__logo-img {
    height: 44px;
    width: auto;
}

.services__block-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(200, 155, 60, 0.1);
    border: 1px solid rgba(200, 155, 60, 0.2);
    color: var(--gold);
    flex-shrink: 0;
}

.services__block-title {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 4px;
}

.services__block-subtitle {
    font-size: 0.9rem;
    color: var(--gray-400);
}

.services__block-desc {
    color: var(--gray-200);
    margin-bottom: 28px;
    line-height: 1.8;
}

.services__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-tag {
    padding: 8px 18px;
    border-radius: 100px;
    background: rgba(200, 155, 60, 0.08);
    border: 1px solid rgba(200, 155, 60, 0.2);
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.service-tag:hover {
    background: rgba(200, 155, 60, 0.15);
    border-color: var(--gold);
}

.services__categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.services__category h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.services__category h4 svg {
    flex-shrink: 0;
}

.services__category ul {
    padding-left: 28px;
}

.services__category li {
    color: var(--gray-200);
    font-size: 0.92rem;
    padding: 4px 0;
    position: relative;
}

.services__category li::before {
    content: '–';
    position: absolute;
    left: -16px;
    color: var(--gold);
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process {
    background: var(--off-white);
}

.process__timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process__timeline::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold), rgba(200, 155, 60, 0.1));
}

.process__step {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    position: relative;
}

.process__step:last-child {
    margin-bottom: 0;
}

.process__step-number {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-gold);
}

.process__step-content {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid var(--gray-100);
    flex: 1;
    transition: var(--transition);
}

.process__step-content:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.process__step-content h3 {
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 12px;
}

.process__step-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 0;
    background: var(--white);
}

.cta-banner {
    background: var(--gradient-navy);
    border-radius: var(--radius-xl);
    padding: 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(200, 155, 60, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 30%, rgba(200, 155, 60, 0.06) 0%, transparent 50%);
}

.cta-banner h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
}

.cta-banner p {
    color: var(--gray-200);
    font-size: 1.1rem;
    margin-bottom: 32px;
    position: relative;
}

.cta-banner .btn {
    position: relative;
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog__card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition);
}

.blog__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.blog__card-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(200, 155, 60, 0.08);
    border-radius: 100px;
    color: var(--gold-dark);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
}

.blog__card h3 {
    font-size: 1.05rem;
    color: var(--navy);
    font-family: var(--font-body);
    font-weight: 700;
    line-height: 1.4;
    flex: 1;
}

.blog__card-link {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
}

.blog__card:hover .blog__card-link {
    color: var(--gold-dark);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    background: var(--navy);
    color: var(--white);
}

.testimonials .section__tag {
    color: var(--gold-light);
    background: rgba(200, 155, 60, 0.12);
    border-color: rgba(200, 155, 60, 0.25);
}

.testimonials .section__title {
    color: var(--white);
}

.testimonials__carousel {
    position: relative;
    overflow: hidden;
}

.testimonials__track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial__card {
    min-width: 100%;
    padding: 48px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    margin: 0 12px;
    box-sizing: border-box;
}

.testimonial__stars {
    color: var(--gold);
    font-size: 1.2rem;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.testimonial__card p {
    font-size: 1.1rem;
    color: var(--gray-200);
    line-height: 1.8;
    margin-bottom: 28px;
    font-style: italic;
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--navy);
}

.testimonial__author strong {
    display: block;
    color: var(--white);
    font-size: 0.95rem;
}

.testimonial__author span {
    font-size: 0.8rem;
    color: var(--gray-400);
}

.testimonials__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.testimonials__btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.testimonials__btn:hover {
    background: rgba(200, 155, 60, 0.2);
    border-color: var(--gold);
}

.testimonials__dots {
    display: flex;
    gap: 8px;
}

.testimonials__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.testimonials__dot.active {
    background: var(--gold);
    width: 28px;
    border-radius: 100px;
}

/* ============================================
   STATS
   ============================================ */
.stats {
    background: var(--gradient-navy);
    padding: 80px 0;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat__number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--gold);
    display: inline;
}

.stat__suffix {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--gold-light);
}

.stat__label {
    display: block;
    color: var(--gray-200);
    font-size: 0.9rem;
    margin-top: 8px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: var(--off-white);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact__info-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
}

.contact__info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(200, 155, 60, 0.08);
    color: var(--gold);
    flex-shrink: 0;
}

.contact__info-card h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.contact__info-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.contact__info-card a {
    color: var(--gold-dark);
    font-weight: 500;
}

.contact__info-card a:hover {
    color: var(--gold);
}

.contact__socials {
    display: flex;
    gap: 12px;
    margin: 24px 0;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
}

.contact__form-btn {
    margin-bottom: 16px;
}

.contact__form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-md);
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form__group {
    position: relative;
}

.form__group input,
.form__group textarea,
.form__group select {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form__group input:focus,
.form__group textarea:focus,
.form__group select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200, 155, 60, 0.1);
}

.form__group label {
    position: absolute;
    top: 16px;
    left: 18px;
    color: var(--gray-400);
    font-size: 0.95rem;
    pointer-events: none;
    transition: var(--transition);
    background: var(--white);
    padding: 0 4px;
}

.form__group input:focus~label,
.form__group input:not(:placeholder-shown)~label:not(.file-upload-label),
.form__group textarea:focus~label,
.form__group textarea:not(:placeholder-shown)~label {
    top: -8px;
    font-size: 0.75rem;
    color: var(--gold);
}

.form__group--file label {
    position: static;
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
    background: transparent;
    pointer-events: auto;
}

.file-upload-input {
    padding: 12px 18px !important;
    background: var(--blue-50) !important;
    border: 1px dashed var(--gray-300) !important;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.file-upload-input::file-selector-button {
    background: var(--gold);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    margin-right: 15px;
    font-family: var(--font-body);
    transition: var(--transition);
}

.file-upload-input::file-selector-button:hover {
    background: #a87d2b;
}

.form__group select {
    appearance: none;
    cursor: pointer;
}

.contact__consent {
    text-align: center;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.contact__consent a {
    color: var(--gold-dark);
    font-weight: 500;
}

.contact__callback {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
}

.contact__callback h4 {
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 8px;
}

.contact__callback p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.contact__callback .btn--outline {
    color: var(--navy);
    border-color: var(--navy);
}

.contact__callback .btn--outline:hover {
    background: var(--navy);
    color: var(--gold);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--navy);
    color: var(--gray-200);
    padding: 80px 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand p {
    margin-top: 16px;
    font-size: 0.92rem;
    color: var(--gray-400);
    line-height: 1.7;
}

.footer__links h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer__links li {
    margin-bottom: 10px;
}

.footer__links a {
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--gold);
}

.footer__bottom {
    padding: 24px 0;
    text-align: center;
}

.footer__bottom p {
    font-size: 0.85rem;
    color: var(--gray-400);
}

.footer__bottom a {
    color: var(--gold);
}

.footer__bottom a:hover {
    color: var(--gold-light);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {

    .trust__grid,
    .quick-links__grid,
    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about__grid {
        grid-template-columns: 1fr;
    }

    .about__image {
        display: none;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .services__block {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-py: 60px;
    }

    /* Mobile nav */
    .nav__menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #0a1628;
        /* Solid opaque color to fix rendering context overlap on mobile */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 9999;
    }

    .nav__menu.show {
        opacity: 1;
        visibility: visible;
    }

    .nav__list {
        flex-direction: column;
        gap: 24px;
    }

    .nav__link {
        font-size: 1.3rem;
    }

    .nav__close {
        display: block;
        position: absolute;
        top: 24px;
        right: 24px;
        font-size: 2rem;
        color: var(--white);
    }

    .nav__toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        z-index: 10000;
        /* Must be higher than nav__menu z-index (9999) */
    }

    .nav__toggle span {
        width: 24px;
        height: 2px;
        background: var(--white);
        border-radius: 2px;
        transition: var(--transition);
    }

    .nav__cta {
        display: none;
    }

    /* Hero */
    .hero__services-peek {
        flex-direction: column;
    }

    .hero__scroll-indicator {
        display: none;
    }

    /* Grid adjustments */
    .trust__grid,
    .quick-links__grid,
    .blog__grid,
    .stats__grid {
        grid-template-columns: 1fr;
    }

    .contact__grid {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .process__timeline::before {
        left: 24px;
    }

    .process__step-number {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .cta-banner {
        padding: 40px 24px;
    }

    .services__block {
        padding: 24px;
    }

    .services__block-header {
        flex-direction: column;
        text-align: center;
    }

    .services__categories {
        grid-template-columns: 1fr 1fr;
    }

    .testimonial__card {
        padding: 28px;
    }
}

@media (max-width: 480px) {
    .services__categories {
        grid-template-columns: 1fr;
    }

    .contact__form-wrapper {
        padding: 24px;
    }
}