/* CSS RESET & NORMALIZE */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body { line-height: 1; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
table { border-collapse: collapse; border-spacing: 0; }
button { background: none; border: none; cursor: pointer; padding: 0; font: inherit; }
:root {
    --primary: #2B2C3E;
    --secondary: #C9454D;
    --accent: #F6F2ED;
    --body: #232429;
    --metallic: #AEB0B3;
    --darker: #19191F;
    --btn-radius: 8px;
    --shadow: 0 3px 16px rgba(30,28,34,0.12), 0 1.5px 4px rgba(0,0,0,0.07);
}

/* BRAND TYPOGRAPHY */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
body {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 16px;
    background: var(--body);
    color: var(--accent);
    min-height: 100vh;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    color: var(--accent);
    font-weight: 700;
    line-height: 1.2;
}
h1 { font-size: 2.4rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; font-weight: 600; }
h4,h5,h6 { font-size: 1rem; }
p, ul, ol, li { font-size: 1rem; line-height: 1.7; color: var(--metallic); }
strong, b { color: var(--accent); font-weight: 600; }

/* INDUSTRIAL MODERN URBAN FEEL */
body {
    background-color: var(--primary);
    background-image: repeating-linear-gradient(135deg, rgba(42,44,62,0.055) 0 20px, transparent 20px 40px);
}

/* LAYOUT CONTAINERS */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 26px;
}
.section {
    margin-bottom: 60px;
    padding: 40px 20px;
}

/* HEADER */
header {
    background: var(--darker);
    border-bottom: 2px solid var(--metallic);
    box-shadow: 0 1px 6px rgba(44,43,60,0.12);
    position: sticky;
    top: 0;
    z-index: 100;
}
header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 18px;
    padding-bottom: 18px;
}
.logo img {
    height: 48px;
    filter: grayscale(30%) drop-shadow(0 1px 3px rgba(0,0,0,0.12));
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: .03em;
}
.main-nav a {
    color: var(--metallic);
    padding: 8px 2px;
    transition: color 0.2s;
    position: relative;
}
.main-nav a:hover, .main-nav a:focus {
    color: var(--secondary);
}
.main-nav a.active:after {
    content:'';
    display: block;
    height: 2px;
    margin-top: 5px;
    background: var(--secondary);
    width: 26px;
    border-radius: 2px;
    opacity: .7;
}
.btn.btn-primary {
    background: var(--secondary);
    color: #fff;
    padding: 12px 30px;
    border-radius: var(--btn-radius);
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: .05em;
    box-shadow: var(--shadow);
    border: 1.5px solid var(--secondary);
    transition: background 0.2s, color 0.14s, border-color 0.2s, box-shadow 0.19s;
    position: relative;
}
.btn.btn-primary:hover, .btn.btn-primary:focus {
    background: #a2353b;
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 2px 15px rgba(201,69,77,0.13), var(--shadow);
}
.btn.btn-secondary {
    background: var(--accent);
    color: var(--primary);
    padding: 12px 26px;
    border-radius: var(--btn-radius);
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 500;
    font-size: 1rem;
    border: 1.5px solid var(--metallic);
    transition: background 0.2s, color 0.15s, border-color 0.18s, box-shadow 0.18s;
    box-shadow: var(--shadow);
    margin-left: 12px;
    margin-right: 12px;
    position: relative;
}
.btn.btn-secondary:hover, .btn.btn-secondary:focus {
    background: var(--metallic);
    color: var(--secondary);
    border-color: var(--secondary);
    box-shadow: 0 2px 15px rgba(201,69,77,0.10),var(--shadow);
}

/* MOBILE MENU */
.mobile-menu-toggle {
    font-size: 2rem;
    color: var(--accent);
    background: none;
    border: none;
    display: none;
    height: 46px;
    width: 46px;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    border-radius: 50%;
    z-index: 150;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
    background: rgba(201,69,77,0.10);
}
.mobile-menu {
    position: fixed;
    top: 0; left: 0; right:0; bottom:0;
    background: var(--primary);
    z-index: 1800;
    transform: translateX(100vw);
    transition: transform .36s cubic-bezier(.7,.15,.33,1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0;
    width: 100vw;
    height: 100vh;
}
.mobile-menu.active {
    transform: translateX(0);
}
.mobile-menu-close {
    align-self: flex-end;
    margin: 24px 24px 16px 0;
    font-size: 2.4rem;
    color: var(--secondary);
    background: none;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.16s;
    z-index: 1820;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
    background: rgba(201,69,77,0.12);
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    align-items: flex-start;
    padding: 0 36px;
    margin-top: 30px;
}
.mobile-nav a {
    color: var(--accent);
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1.24rem;
    font-weight: 600;
    padding: 16px 0;
    transition: color 0.19s;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-nav a:focus,
.mobile-nav a:hover {
    color: var(--secondary);
}

/* HIDE NAV ON MOBILE, SHOW HAMBURGER */
@media (max-width: 989px) {
    .main-nav {
        display: none; }
    .mobile-menu-toggle {
        display: flex; }
}
@media (min-width: 990px) {
    .mobile-menu,
    .mobile-menu-toggle {
        display: none!important;
    }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: var(--darker);
    color: var(--accent);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 24px 8% 24px 8%;
    box-shadow: 0 -4px 20px rgba(23,22,27,0.14);
    border-top: 2px solid var(--metallic);
    z-index: 9999;
    gap: 30px;
    font-size: 1rem;
}
.cookie-banner p { color: var(--accent); margin-right: 30px; flex: 1 1 360px; }
.cookie-banner .cookie-btns {
    display: flex;
    flex-direction: row;
    gap: 14px;
}
.cookie-btn {
    padding: 10px 20px;
    border-radius: var(--btn-radius);
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    border: 1.5px solid var(--metallic);
    box-shadow: var(--shadow);
    background: var(--accent);
    color: var(--primary);
    transition: background 0.16s, color 0.19s, border-color 0.18s;
}
.cookie-btn.accept {
    background: var(--secondary);
    color: #fff;
    border-color: var(--secondary);
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
    background: #ad3941;
    border-color: var(--accent);
}
.cookie-btn.reject {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--metallic);
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
    background: var(--metallic);
    color: var(--secondary);
    border-color: var(--secondary);
}
.cookie-btn.settings {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
    background: var(--accent);
    color: var(--primary);
}

/* COOKIE MODAL */
.cookie-modal-overlay {
    position: fixed;
    top:0; left:0; right:0; bottom:0;
    background: rgba(30,28,34,0.62);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}
.cookie-modal-overlay.active { display: flex; }
.cookie-modal {
    background: var(--darker);
    color: var(--accent);
    border-radius: 14px;
    box-shadow: 0 4px 32px rgba(42,44,62,0.19),var(--shadow);
    padding: 38px 30px 30px 30px;
    min-width: 340px;
    max-width: 95vw;
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: relative;
    animation: slideModalIn .32s cubic-bezier(.77,0,.18,1);
    border: 2px solid var(--metallic);
}
@keyframes slideModalIn {
    from { opacity: 0; transform: translateY(65px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2,
.cookie-modal h3 {
    color: var(--accent);
}
.cookie-category { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.cookie-toggle {
    appearance: none;
    width: 46px;
    height: 24px;
    border-radius: 16px;
    background: var(--metallic);
    position: relative;
    transition: background 0.19s;
    cursor: pointer;
    margin-right: 7px;
}
.cookie-toggle:checked { background: var(--secondary); }
.cookie-toggle:after {
    content: '';
    display: block;
    width: 20px; height: 20px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(44,43,60,0.13);
    position: absolute;
    left: 2px; top: 2px;
    transition: left 0.18s;
}
.cookie-toggle:checked:after { left: 24px; }
.cookie-modal-close {
    position: absolute;
    top:12px; right:16px;
    font-size: 1.5rem;
    color:var(--secondary);
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    padding: 6px;
    transition: background 0.11s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
    background:rgba(201,69,77,0.11);
}

/* FLEXBOX LAYOUTS FROM SPEC */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    background: var(--primary);
    border: 1.5px solid var(--metallic);
    border-radius: 13px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    position: relative;
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.20s, border-color 0.17s;
}
.card:hover, .card:focus-within {
    border-color: var(--secondary);
    box-shadow: 0 5px 24px rgba(201,69,77,0.07), var(--shadow);
}
.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}
.text-image-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
.testimonial-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: 12px;
    background: var(--accent);
    color: var(--primary);
    margin-bottom: 20px;
    box-shadow: 0 3px 12px rgba(42,44,62,0.09), var(--shadow);
    border: 1.5px solid var(--metallic);
    min-width: 260px;
    transition: transform .20s, box-shadow .16s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
    transform: scale(1.025) translateY(-4px);
    box-shadow: 0 9px 24px rgba(44,43,60,0.14), var(--shadow);
    border-color: var(--secondary);
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    background: var(--darker);
    border: 1.5px solid var(--metallic);
    border-radius: 11px;
    box-shadow: var(--shadow);
    padding: 28px 20px 18px 20px;
    min-width: 220px;
    flex: 1 1 240px;
    margin-bottom: 20px;
    transition: box-shadow 0.16s, border-color 0.16s;
}
.feature-item img {
    width: 38px; height: 38px;
    filter: grayscale(60%) contrast(1.2) drop-shadow(0 1px 2px rgba(44,43,60,0.13));
}
.feature-item:hover, .feature-item:focus-within {
    box-shadow: 0 6px 18px rgba(201,69,77,0.10), var(--shadow);
    border-color: var(--secondary);
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start;
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}
.feature-list li {
    padding: 10px 22px;
    border-radius: 20px;
    background: var(--accent);
    color: var(--secondary);
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 1px 3px rgba(44,43,60,0.09);
    margin-bottom: 12px;
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 32px;
}
.service-item {
    background: var(--darker);
    border: 1.5px solid var(--metallic);
    border-radius: 13px;
    box-shadow: var(--shadow);
    padding: 26px 18px 20px 18px;
    flex: 1 1 270px;
    margin-bottom: 20px;
    transition: box-shadow 0.18s, border-color 0.16s;
}
.service-item:hover, .service-item:focus-within {
    box-shadow: 0 8px 30px rgba(201,69,77,0.10),var(--shadow);
    border-color: var(--secondary);
}

.article-previews {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 30px;
}
.article-preview {
    background: var(--darker);
    border: 1.5px solid var(--metallic);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 26px 14px 16px 24px;
    flex: 1 1 260px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: box-shadow 0.19s, border-color 0.17s;
}
.article-preview:hover, .article-preview:focus-within {
    box-shadow: 0 5px 20px rgba(201,69,77,0.08), var(--shadow);
    border-color: var(--secondary);
}

.category-list {
    background: var(--darker);
    border: 1.5px solid var(--metallic);
    border-radius: 12px;
    padding: 22px 18px 14px 24px;
    margin-bottom: 26px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.category-list ul li {
    font-size: 1rem;
    color: var(--metallic);
}

.faq-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 32px;
}
.faq-item {
    background: var(--darker);
    border: 1.5px solid var(--metallic);
    border-radius: 9px;
    box-shadow: var(--shadow);
    padding: 22px 14px 12px 14px;
    flex: 1 1 260px;
    margin-bottom: 20px;
    transition: box-shadow 0.18s, border-color 0.18s;
}
.faq-item:hover, .faq-item:focus-within {
    border-color: var(--secondary);
    box-shadow: 0 7px 24px rgba(201,69,77,0.08),var(--shadow);
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 18px;
}
.trust-badges span {
    background: var(--accent);
    color: var(--secondary);
    border-radius: 19px;
    font-weight: 600;
    padding: 9px 22px;
    font-size: .98rem;
    box-shadow: 0 1px 3px rgba(44,43,60,0.11);
}

/* PRICING TABLE */
.pricing-table {
    width: 100%;
    background: var(--darker);
    border-radius: 12px;
    border: 1.5px solid var(--metallic);
    margin-bottom: 34px;
    box-shadow: var(--shadow);
    overflow-x: auto;
    font-size: 1rem;
}
.pricing-table th, .pricing-table td {
    padding: 14px 18px;
    text-align: left;
}
.pricing-table th {
    background: var(--primary);
    color: var(--secondary);
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1.08rem;
    letter-spacing: .04em;
    border-bottom: 1.5px solid var(--metallic);
}
.pricing-table td {
    color: var(--metallic);
}
.pricing-table tbody tr:nth-child(2n) td {
    background: rgba(174,176,179,0.055);
}

/* TESTIMONIALS */
.testimonial-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 20px;
}
.testimonial-card p {
    color: var(--primary);
    margin-bottom: 6px;
    font-size: 1.00rem;
}
.testimonial-card strong {
    color: var(--secondary);
    font-size: 1rem;
}
.stars {
    color: var(--secondary);
    font-size: 1.2rem;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    letter-spacing: 2px;
    font-weight: 600;
}

/* FOOTER */
footer {
    background: var(--darker);
    border-top: 2px solid var(--metallic);
    box-shadow: 0 -1px 8px rgba(42,44,62,0.07);
    font-size: .97rem;
}
footer .container {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 20px 24px 20px;
    gap: 20px;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 8px;
}
.footer-links a {
    color: var(--metallic);
    transition: color .13s;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: .02em;
}
.footer-links a:hover, .footer-links a:focus {
    color: var(--secondary);
}
.footer-contact {
    color: var(--metallic);
    font-size: 1rem;
    line-height: 1.7;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.footer-contact a {
    color: var(--secondary);
    font-weight: 600;
    font-size: 1rem;
}

/* TEXT SECTIONS */
.text-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.text-section ul {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.text-section li {
    list-style: disc inside;
    color: var(--metallic);
    margin-left: 16px;
}
.text-section a.btn {
    align-self: flex-start;
    margin-top: 8px;
}

/* UTILS */
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mt-4 { margin-top: 32px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mb-4 { margin-bottom: 32px !important; }

/* SPACING RULES */
section + section {
    margin-top: 59px;
}
.card + .card, .service-item + .service-item, .feature-item + .feature-item, .testimonial-card + .testimonial-card, .faq-item + .faq-item, .article-preview + .article-preview {
    margin-top: 0;
}

/* BUTTON & INTERACTIVE MICRO-ANIMATIONS */
.btn, .cookie-btn, .cookie-modal-close, .mobile-menu-close, .mobile-menu-toggle {
    transition: background 0.18s, color 0.12s, border-color 0.15s, box-shadow .15s, outline .10s;
    outline: none;
}
.btn:active, .cookie-btn:active {
    box-shadow: 0 1px 3px rgba(44,43,60,0.14);
    transform: scale(.96);
}

a:focus, button:focus {
    outline: 2px solid var(--secondary);
    outline-offset: 1px;
    z-index: 3;
}

/* ================== RESPONSIVE ================== */
@media (max-width: 990px) {
    .container {
        max-width: 100%;
        padding: 0 10px;
    }
    header .container {
        gap: 12px;
    }
    .card-container, .services-list, .features-grid, .testimonial-list, .faq-list, .article-previews {
        gap: 18px;
    }
    .feature-item, .service-item, .card, .article-preview, .faq-item, .testimonial-card {
        min-width: 210px;
        padding-left: 14px;
        padding-right: 14px;
    }
}
@media (max-width: 768px) {
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.2rem; }
    h3 { font-size: 1rem; }
    main, .section {
        padding-left: 0;
        padding-right: 0;
    }
    header .container {
        flex-direction: row;
        gap: 7px;
    }
    .features-grid, .card-container, .services-list, .testimonial-list, .faq-list, .article-previews {
        flex-direction: column;
        flex-wrap: wrap;
        gap: 14px;
    }
    .feature-item, .service-item, .card, .testimonial-card, .faq-item, .article-preview {
        min-width: unset;
        width: 100%;
        flex: 1 1 100%;
    }
    .text-image-section {
        flex-direction: column;
        gap: 18px;
        align-items: flex-start;
    }
    .footer-links, .footer-contact {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 13px;
        font-size: .98rem;
        padding-left: 18px; padding-right: 18px;
    }
}
@media (max-width: 480px) {
    .container {
        padding-left: 3px; padding-right: 3px;
    }
    .cookie-modal {
        min-width: 95vw;
        padding-left: 12px; padding-right: 12px;
    }
}

/* SCROLLBAR FOR DARK MODERN */
body, .mobile-menu,
.pricing-table, .cookie-modal {
    scrollbar-width: thin;
    scrollbar-color: var(--metallic) #21212a;
}
body::-webkit-scrollbar,
.mobile-menu::-webkit-scrollbar,
.pricing-table::-webkit-scrollbar,
.cookie-modal::-webkit-scrollbar {
    width: 8px;
    background: #21212a;
}
body::-webkit-scrollbar-thumb,
.mobile-menu::-webkit-scrollbar-thumb,
.pricing-table::-webkit-scrollbar-thumb,
.cookie-modal::-webkit-scrollbar-thumb {
    background: var(--metallic);
    border-radius: 14px;
}

/* ========== HIGHLIGHTS FOR INDUSTRIAL MODERN ========== */
section {
    background-image: linear-gradient(120deg, rgba(30,28,34,0.05) 40%, transparent 100%);
    border-radius: 18px;
    box-shadow: 0 2.5px 10px rgba(42,44,62,0.08);
}

/* =========== END OF CSS FILE =========== */
