:root {
    --brand-navy: #071b33;
    --brand-deep: #020b18;
    --brand-gold: #d4af37;
    --brand-softgold: #f5d77a;
    --brand-light: #f8fafc;
    --brand-text: #1f2937;
    --shadow-premium: 0 24px 70px rgba(2, 11, 24, 0.18);
    --shadow-card: 0 20px 50px rgba(7, 27, 51, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--brand-text);
    overflow-x: clip;
}

.section-anchor {
    scroll-margin-top: 7rem;
}

#about,
#services,
#process,
#why-choose-me,
#contact {
    padding-block: clamp(5.25rem, 7vw, 7rem);
}

.hero-section {
    padding-top: clamp(7.5rem, 12vw, 10rem);
}

.hero-inner {
    padding-bottom: clamp(4.75rem, 8vw, 7rem);
}

.hero-layout {
    gap: clamp(2.75rem, 5vw, 4rem);
}

.glass-nav {
    backdrop-filter: blur(18px);
}

.shield-logo {
    position: relative;
    display: inline-flex;
    height: 3.5rem;
    width: 3rem;
    align-items: center;
    justify-content: center;
    color: var(--brand-softgold);
}

.shield-logo::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1.5px solid rgba(245, 215, 122, 0.8);
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.2), rgba(2, 11, 24, 0.12));
    clip-path: polygon(50% 0%, 100% 14%, 100% 72%, 50% 100%, 0 72%, 0 14%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.shield-logo span {
    position: relative;
    z-index: 1;
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.shield-logo--large {
    height: 5rem;
    width: 4.25rem;
}

.shield-logo--large span {
    font-size: 2rem;
}

.shield-logo--light {
    color: var(--brand-gold);
}

.nav-link,
.footer-link {
    position: relative;
    transition: color 180ms ease;
}

.nav-link::after,
.footer-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.45rem;
    height: 1px;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, var(--brand-gold), var(--brand-softgold));
    transition: transform 220ms ease;
}

.nav-link:hover,
.footer-link:hover {
    color: var(--brand-softgold);
}

.nav-link:hover::after,
.footer-link:hover::after {
    transform: scaleX(1);
}

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 260ms ease, opacity 220ms ease;
}

.mobile-menu.is-open {
    max-height: 28rem;
    opacity: 1;
}

.mobile-link {
    display: block;
    border-radius: 0.9rem;
    padding: 0.85rem 1rem;
    transition: background-color 180ms ease, color 180ms ease;
}

.mobile-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--brand-softgold);
}

.hero-shell {
    background:
        linear-gradient(120deg, rgba(2, 11, 24, 0.97), rgba(7, 27, 51, 0.93) 48%, rgba(10, 35, 66, 0.9)),
        url('../images/hero-bg.jpg') center center / cover no-repeat;
}

.fine-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.35));
}

.section-pill,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.34em;
    text-transform: uppercase;
}

.section-pill::before,
.section-kicker::before {
    content: '';
    height: 1px;
    width: 3rem;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0), rgba(212, 175, 55, 1));
}

.section-pill {
    color: var(--brand-softgold);
}

.section-kicker {
    color: var(--brand-gold);
}

.section-kicker--dark::before {
    background: linear-gradient(90deg, rgba(245, 215, 122, 0), rgba(245, 215, 122, 1));
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    border-radius: 999px;
    padding: 0.95rem 1.4rem;
    min-height: 3.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background-color 220ms ease, color 220ms ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-gold), var(--brand-softgold));
    color: var(--brand-navy);
    box-shadow: 0 14px 28px rgba(212, 175, 55, 0.18);
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-3px);
}

.btn-primary:hover {
    box-shadow: 0 20px 34px rgba(212, 175, 55, 0.22);
}

.btn-secondary {
    border: 1px solid rgba(245, 215, 122, 0.34);
    background: rgba(255, 255, 255, 0.035);
    color: #ffffff;
}

.btn-secondary:hover {
    border-color: rgba(245, 215, 122, 0.58);
    background: rgba(255, 255, 255, 0.075);
}

.action-group .btn-primary,
.action-group .btn-secondary {
    width: 100%;
    justify-content: center;
}

.feature-chip {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(245, 215, 122, 0.16);
    background: rgba(255, 255, 255, 0.04);
    padding: 0.85rem 1rem;
    backdrop-filter: blur(10px);
}

.feature-chip__dot {
    height: 0.6rem;
    width: 0.6rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-gold), var(--brand-softgold));
    box-shadow: 0 0 10px rgba(245, 215, 122, 0.28);
}

.hero-frame {
    position: relative;
    padding: 1rem;
    border-radius: 2rem;
    background: linear-gradient(145deg, rgba(245, 215, 122, 0.24), rgba(255, 255, 255, 0.05));
    box-shadow: var(--shadow-premium);
}

.hero-frame::before {
    content: '';
    position: absolute;
    inset: -1.4rem 12% auto auto;
    height: 9rem;
    width: 9rem;
    border-top: 2px solid rgba(245, 215, 122, 0.7);
    border-right: 2px solid rgba(245, 215, 122, 0.7);
    border-radius: 0 2rem 0 0;
}

.hero-frame::after {
    content: '';
    position: absolute;
    inset: auto auto -1.4rem 10%;
    height: 9rem;
    width: 9rem;
    border-bottom: 2px solid rgba(245, 215, 122, 0.7);
    border-left: 2px solid rgba(245, 215, 122, 0.7);
    border-radius: 0 0 0 2rem;
}

.portrait-shell {
    position: relative;
    overflow: hidden;
    border-radius: 1.75rem;
}

.profile-image {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center 14%;
}

.profile-image--hero {
    object-position: center 12%;
}

.profile-image--about {
    object-position: center 16%;
}

.portrait-shell--hero {
    background: radial-gradient(circle at top, rgba(245, 215, 122, 0.26), rgba(7, 27, 51, 0.95) 58%, rgba(2, 11, 24, 1));
}

.portrait-shell--about {
    background: #ffffff;
}

.portrait-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(180deg, rgba(7, 27, 51, 0.98), rgba(2, 11, 24, 0.94));
    color: white;
    opacity: 0;
    transition: opacity 180ms ease;
    text-align: center;
    padding: 1.5rem;
}

.portrait-fallback--light {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
}

.portrait-shell.is-fallback .portrait-fallback {
    opacity: 1;
}

.hero-floating-card {
    position: absolute;
    max-width: 14rem;
    border: 1px solid rgba(245, 215, 122, 0.14);
    background: rgba(2, 11, 24, 0.62);
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 28px rgba(2, 11, 24, 0.18);
}

.hero-floating-card--bottom {
    text-align: right;
}

.achievement-strip {
    position: relative;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 1.25rem;
    padding: 0.6rem 0.75rem;
    transition: transform 220ms ease, background-color 220ms ease;
}

.achievement-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.03);
}

.achievement-icon {
    display: inline-flex;
    height: 3.35rem;
    width: 3.35rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--brand-gold);
    background: rgba(245, 215, 122, 0.08);
    box-shadow: inset 0 0 0 1px rgba(245, 215, 122, 0.12);
}

.achievement-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.68);
}

.achievement-value {
    margin-top: 0.3rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    color: var(--brand-softgold);
}

.trust-point {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.trust-point__icon,
.service-icon {
    display: inline-flex;
    height: 3.15rem;
    width: 3.15rem;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 999px;
    color: var(--brand-gold);
    background: linear-gradient(145deg, rgba(7, 27, 51, 0.96), rgba(2, 11, 24, 1));
    box-shadow: inset 0 0 0 1px rgba(245, 215, 122, 0.12);
}

.premium-card {
    border-radius: 1.6rem;
    border: 1px solid rgba(7, 27, 51, 0.08);
    background: #ffffff;
    padding: 2rem;
    box-shadow: var(--shadow-card);
    transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.premium-card:hover {
    transform: translateY(-0.42rem);
    border-color: rgba(212, 175, 55, 0.18);
    box-shadow: 0 26px 52px rgba(7, 27, 51, 0.12);
}

.premium-card--compact {
    padding: 1.75rem;
}

.timeline-card {
    position: relative;
    border-radius: 1.6rem;
    border: 1px solid rgba(245, 215, 122, 0.14);
    background: linear-gradient(180deg, rgba(7, 27, 51, 0.88), rgba(2, 11, 24, 0.92));
    padding: 1.9rem 1.5rem 1.6rem;
    box-shadow: var(--shadow-premium);
}

.timeline-card h3,
.timeline-card p {
    position: relative;
    z-index: 1;
}

.timeline-number {
    display: inline-flex;
    height: 3rem;
    width: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--brand-navy);
    background: linear-gradient(135deg, var(--brand-gold), var(--brand-softgold));
    box-shadow: 0 0 0 10px rgba(245, 215, 122, 0.08);
}

.contact-panel {
    box-shadow: var(--shadow-premium);
}

.contact-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.contact-detail__label {
    min-width: 4.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--brand-softgold);
}

.contact-detail__value {
    color: #ffffff;
    transition: color 180ms ease;
}

.contact-detail__value:hover {
    color: var(--brand-softgold);
}

.form-label {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(245, 215, 122, 0.92);
}

.form-input {
    width: 100%;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.95rem 1rem;
    color: #ffffff;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.form-input::placeholder {
    color: rgba(226, 232, 240, 0.72);
}

.form-input:focus {
    border-color: rgba(245, 215, 122, 0.68);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12);
}

.form-input option {
    color: var(--brand-text);
}

.form-textarea {
    resize: vertical;
    min-height: 8.5rem;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 110ms;
}

.reveal-delay-2 {
    transition-delay: 220ms;
}

@media (min-width: 640px) {
    .action-group .btn-primary,
    .action-group .btn-secondary {
        width: auto;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .achievement-item:not(:last-child) {
        border-right: 1px solid rgba(245, 215, 122, 0.12);
        border-radius: 0;
        padding-right: 1.6rem;
    }

    .achievement-item:not(:first-child) {
        padding-left: 1.6rem;
    }
}

@media (max-width: 1023px) {
    .hero-floating-card {
        max-width: 12rem;
    }

    .achievement-grid {
        gap: 1rem;
    }
}

@media (max-width: 767px) {
    .section-anchor {
        scroll-margin-top: 6.5rem;
    }

    .hero-section {
        padding-top: 7rem;
    }

    .hero-inner {
        padding-bottom: 4rem;
    }

    .hero-layout {
        gap: 2rem;
    }

    .shield-logo {
        height: 3.1rem;
        width: 2.65rem;
    }

    .shield-logo span {
        font-size: 1.22rem;
    }

    .hero-frame {
        display: grid;
        gap: 0.85rem;
        padding: 0.75rem;
        border-radius: 1.5rem;
    }

    .hero-frame::before,
    .hero-frame::after {
        height: 5.5rem;
        width: 5.5rem;
    }

    .hero-floating-card {
        position: static;
        max-width: none;
        width: 100%;
        padding: 0.95rem 1rem;
    }

    .hero-floating-card--bottom {
        text-align: left;
    }

    .portrait-shell--hero {
        min-height: 22rem;
    }

    .hero-feature-grid {
        gap: 0.75rem;
    }

    .achievement-section {
        margin-top: -2.25rem;
    }

    .achievement-grid {
        gap: 0.9rem;
        padding: 1rem;
    }

    .achievement-item {
        padding: 0.95rem;
        gap: 0.85rem;
    }

    .achievement-icon {
        height: 3rem;
        width: 3rem;
    }

    .achievement-label {
        font-size: 0.64rem;
        letter-spacing: 0.16em;
    }

    .achievement-value {
        font-size: 1.32rem;
    }

    .premium-card,
    .timeline-card {
        padding: 1.5rem;
    }

    .process-grid {
        gap: 1rem;
    }

    .timeline-card {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 1rem;
        row-gap: 0.3rem;
        align-items: start;
        padding: 1.3rem 1.15rem;
    }

    .timeline-number {
        grid-row: 1 / span 2;
        box-shadow: 0 0 0 8px rgba(245, 215, 122, 0.06);
    }

    .timeline-card h3 {
        margin-top: 0;
    }

    .timeline-card p {
        margin-top: 0.15rem;
    }

    .contact-panel {
        gap: 2rem;
        padding: 1.5rem;
    }

    .form-input {
        font-size: 16px;
    }
}

@media (max-width: 479px) {
    .hero-copy h1 {
        font-size: 2.85rem;
    }

    .hero-copy p {
        line-height: 1.9;
    }

    .hero-feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-chip {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}