/* DARKVIL — Sovereign Polish V1.1 consolidated */
@media (max-width: 1200px) {
    .nav-links {
        gap: 22px;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero {
        min-height: 620px;
    }

    .hero h1 {
        font-size: clamp(44px, 7vw, 80px);
    }
}

@media (max-width: 900px) {
    .navbar {
        min-height: 75px;
        padding: 10px var(--page-gutter);
    }

    .brand img {
        width: 48px;
        height: 48px;
    }

    .brand-name span {
        font-size: 20px;
    }

    .brand-name small {
        font-size: 7px;
        letter-spacing: 4px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-cta {
        display: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 30px 6%;
        background: #0A0A0A;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        display: block;
        padding: 10px 0;
    }

    .hero {
        min-height: 600px;
        padding: 60px 6% 85px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .brand-values {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px;
    }

    .value-item {
        border-right: none;
    }

    .brand-motto p {
        font-size: 12px;
    }
}

@media (max-width: 600px) {
    .hero {
        min-height: 620px;
        padding: 55px 6% 85px;
    }

    .hero-eyebrow {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .hero h1 {
        font-size: clamp(34px, 9.5vw, 52px);
        letter-spacing: -1.5px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 14px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .brand-motto {
        margin-top: 45px;
        gap: 8px;
    }

    .brand-motto p {
        font-size: 11px;
    }

    .motto-line {
        width: 20px;
        flex-shrink: 0;
    }

    .services {
        padding: 40px 6% 55px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 250px;
        padding: 25px;
    }

    .section-label {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .brand-values {
        padding: 30px 4%;
        gap: 12px;
    }

    .value-item {
        padding: 15px 8px;
    }

    .value-item h3 {
        font-size: 16px;
    }

    .contact-cta {
        padding: 60px 6%;
    }

    .footer-logo {
        width: 220px;
    }

    .hero-background::after {
        background-position: 50% center;
    }
}

@media(max-width:1000px){.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}}
@media(max-width:600px){.footer-grid{grid-template-columns:1fr;gap:20px}.corporate-footer{padding:35px 6% 20px}.light-trails{opacity:.25}.footer-grid .footer-logo{width:180px}}

/* Sovereign Mobile Navbar V1.5 */
.mobile-project-link { display: none; }
@media (max-width: 900px) {
 .navbar { min-height:80px; gap:12px; }
 .navbar .brand img { width:54px; height:54px; flex-shrink:0; }
 .navbar .brand-name span { font-size:clamp(17px,5vw,22px); }
 .navbar .brand-name small { font-size:8px; letter-spacing:3px; }
 .navbar .menu-toggle { border:1px solid #d4af3755; border-radius:8px; padding:10px; flex-shrink:0; }
 .navbar .nav-links { display:flex; position:absolute; top:calc(100% + 10px); left:var(--page-gutter); width:calc(100% - 2 * var(--page-gutter)); max-height:calc(100vh - 105px); max-height:calc(100dvh - 105px); overflow-y:auto; padding:14px; gap:8px; border:1px solid #d4af3755; border-radius:14px; background:linear-gradient(145deg,#1c170e,#080808 65%); box-shadow:0 18px 45px #000b; opacity:0; visibility:hidden; pointer-events:none; transform:translateY(-10px); transition:opacity .22s,transform .22s,visibility .22s; }
 .navbar .nav-links.active { opacity:1; visibility:visible; pointer-events:auto; transform:translateY(0); }
 .navbar .nav-links li { width:100%; }
 .navbar .nav-links a { display:flex; align-items:center; gap:12px; min-height:48px; padding:10px 14px; border:1px solid #ffffff12; border-radius:8px; background:#ffffff05; font-size:15px; }
 .navbar .nav-links a.active, .navbar .nav-links a:hover { color:var(--gold-light); border-color:#d4af3766; background:#d4af3718; }
 .navbar .nav-links a::after { content:'›'; position:static; margin-left:auto; width:auto; height:auto; background:none; box-shadow:none; color:var(--gold); font-size:22px; }
 .navbar .nav-links a:hover::after,.navbar .nav-links a.active::after { width:auto; }
 .navbar .nav-links .mobile-nav-icon { width:20px; height:20px; flex-shrink:0; fill:none; stroke:var(--gold); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
 .navbar .nav-links .mobile-project-link { display:block; margin-top:5px; }
 .navbar .nav-links .mobile-project-link a { justify-content:center; background:var(--gold-gradient); color:var(--black); font-weight:800; text-transform:uppercase; letter-spacing:1px; font-size:12px; }
 .navbar .nav-links .mobile-project-link a::after { color:var(--black); margin-left:0; }
}
@media(min-width:901px) { .mobile-nav-icon { display:none; } }

/* =========================================
   DARKVIL — Sovereign Mobile V2.0
   Universal Premium Mobile Footer
========================================= */

@media (max-width: 600px) {

    .footer.corporate-footer {
        padding: 36px 6% 22px;
        text-align: left;
        background: linear-gradient(
            180deg,
            #0D0B08,
            #050505 30%
        );
    }

    .corporate-footer .footer-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 18px;
        align-items: start;
        text-align: left;
    }

    /* Brand identity */

    .corporate-footer .footer-grid > :first-child {
        grid-column: 1 / -1;
        text-align: center;
        padding-bottom: 24px;
        border-bottom: 1px solid var(--border);
    }

    .corporate-footer .footer-grid .footer-logo {
        width: 190px;
        max-width: 100%;
        height: auto;
        margin: 0 auto 18px;
        object-fit: contain;
    }

    .corporate-footer .footer-grid > :first-child p {
        max-width: 320px;
        margin: 0 auto;
        font-size: 13px;
        line-height: 1.9;
        color: var(--silver);
    }

    /* Quick links and expertise */

    .corporate-footer .footer-grid h2,
    .corporate-footer .footer-grid h3,
    .corporate-footer .footer-grid h4 {
        color: var(--gold-light);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        margin: 0 0 14px;
    }

    .corporate-footer .footer-grid ul {
        padding: 0;
        margin: 0;
    }

    .corporate-footer .footer-grid li {
        margin-bottom: 8px;
        font-size: 13px;
        line-height: 1.8;
    }

    .corporate-footer .footer-grid a:not(.btn) {
        font-size: 13px;
        color: var(--silver);
    }

    .corporate-footer .footer-grid li a {
        display: inline-flex;
        align-items: center;
        min-height: 32px;
    }

    .corporate-footer .footer-grid a:hover {
        color: var(--gold-light);
    }

    /* Contact section */

    .corporate-footer .footer-grid > :last-child {
        grid-column: 1 / -1;
        text-align: center;
        border-top: 1px solid var(--border);
        padding-top: 24px;
    }

    .corporate-footer .footer-grid > :last-child p {
        font-size: 13px;
        line-height: 1.8;
        margin: 10px 0 14px;
    }

    .corporate-footer .footer-grid a[href^="mailto:"] {
        color: var(--gold-light);
        font-size: 14px;
        font-weight: 600;
    }

    /* Premium project button */

    .corporate-footer .footer-grid .btn {
        display: flex;
        width: 100%;
        max-width: 320px;
        min-height: 48px;
        margin: 18px auto 0;
        padding: 14px 18px;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 1.5px;
        border-radius: 6px;
        border: 1px solid var(--gold);
        background: var(--gold-gradient);
        color: var(--black);
        box-shadow: 0 5px 20px rgba(212, 175, 55, 0.12);
    }

    /* Official brand motto */

    .footer.corporate-footer .footer-motto {
        max-width: 320px;
        margin: 28px auto 0;
        text-align: center;
        font-family: Georgia, serif;
        font-size: 13px;
        font-style: italic;
        font-weight: 400;
        line-height: 1.9;
        letter-spacing: 0.3px;
        text-transform: none;
        color: var(--gold-light);
    }

    /* Copyright */

    .footer.corporate-footer .footer-bottom {
        margin-top: 24px;
        padding-top: 18px;
        border-top: 1px solid var(--border);
        text-align: center;
        font-size: 11px;
        line-height: 1.8;
        color: var(--muted);
    }

    .corporate-footer .footer-bottom p {
        margin: 0;
        font-size: inherit;
        color: inherit;
    }
}

/* Extra-small mobile screens */

@media (max-width: 360px) {

    .corporate-footer .footer-grid {
        gap: 22px 12px;
    }

    .corporate-footer .footer-grid h2,
    .corporate-footer .footer-grid h3,
    .corporate-footer .footer-grid h4 {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .corporate-footer .footer-grid a:not(.btn) {
        font-size: 12px;
    }

    .corporate-footer .footer-grid .footer-logo {
        width: 170px;
    }
}