/* 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; height: 100%; }
body { min-height: 100%; background: #232931; color: #F3F2EF; line-height: 1.6; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { border: none; max-width: 100%; display: block; }
button, input, select, textarea {
    font: inherit;
    background: none;
    border: none;
    outline: none;
    color: inherit;
}
button { cursor: pointer; }

/* Brand Variables */
:root {
    --primary: #354558;
    --primary-light: #465872;
    --secondary: #C7B299;
    --accent: #F3F2EF;
    --metal: #848B94;
    --dark: #232931;
    --dark-bg: #1b1e22;
    --surface: #232931;
    --elevation: 0 4px 24px rgba(36,42,51,0.11);
    --radius: 12px;
    --radius-sm: 6px;
    --input-bg: #2e3846;
    --shadow-focus: 0 0 0 3px #c7b29940;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Montserrat', Arial, sans-serif;
}

/* Typography */
body {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--accent);
    background: var(--surface);
    font-weight: 400;
    letter-spacing: 0.02em;
}
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    color: var(--secondary);
    font-weight: 600;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; line-height: 1.16; }
h2 { font-size: 2rem; margin-bottom: 20px; line-height: 1.2; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4, h5 { font-size: 1.1rem; }
p, ul, ol, blockquote, .text-section li {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 12px;
}
section:not(.hero):not(.cta) ul,
section:not(.hero):not(.cta) ol {
    margin-left: 24px;
    margin-bottom: 20px;
}
strong, b { font-weight: 700; }

/* Layout Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-left: 18px;
    padding-right: 18px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: var(--dark);
    border-radius: var(--radius);
    box-shadow: var(--elevation);
    position: relative;
}

/* Flex Spacing Patterns */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
}
.card {
    margin-bottom: 20px;
    position: relative;
    background: var(--primary);
    border-radius: var(--radius);
    box-shadow: var(--elevation);
    padding: 24px 20px;
    transition: box-shadow 0.25s, transform 0.2s;
    border: 1.5px solid var(--metal);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.card:hover {
    box-shadow: 0 8px 32px rgba(199,178,153,0.18);
    transform: translateY(-3px) scale(1.012);
    border-color: var(--secondary);
}
.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;
    background: var(--accent);
    color: var(--primary);
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 10px rgba(35,41,49,0.10);
    margin-bottom: 24px;
    min-width: 0;
}
.testimonial-card p, .testimonial-card strong {
    color: var(--primary);
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

/* Hero Section */
.hero {
    background: linear-gradient(100deg, var(--dark-bg) 70%, var(--primary) 100%);
    padding: 60px 0 60px 0;
    margin-bottom: 64px;
    border-bottom: 2px solid var(--secondary);
}
.hero .container {
    align-items: start;
    padding-left: 18px;
    padding-right: 18px;
}
.hero h1 {
    font-size: 2.8rem;
    color: var(--secondary);
    margin-bottom: 24px;
    text-shadow: 0 2px 16px rgba(25,27,29,0.09);
}
.hero p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: var(--accent);
}

/* Feature Grid */
.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
}
.feature-grid > div {
    background: var(--primary);
    border-radius: var(--radius-sm);
    box-shadow: 0 1.5px 8px rgba(53,69,88,0.10);
    flex: 1 1 210px;
    min-width: 210px;
    max-width: 300px;
    padding: 20px 18px 18px 18px;
    border: 1.5px solid var(--metal);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.19s, box-shadow 0.19s, border 0.13s;
    margin-bottom: 20px;
}
.feature-grid > div:hover {
    box-shadow: 0 6px 28px rgba(199,178,153,0.11);
    border-color: var(--secondary);
    transform: scale(1.025);
}
.feature-grid h3 {
    margin-bottom: 6px;
    font-family: var(--font-display);
    color: var(--secondary);
    font-size: 1.15rem;
    font-weight: 600;
}
.feature-grid img {
    width: 34px;
    height: 34px;
    margin-bottom: 6px;
    filter: grayscale(28%) brightness(0.98) contrast(1.12);
}

/* Text Section/List */
.text-section {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.text-section li {
    padding-left: 16px;
    position: relative;
}
.text-section li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85em;
    width: 7px;
    height: 7px;
    background: var(--secondary);
    border-radius: 1px;
    box-shadow: 0 1px 3px var(--metal);
}
blockquote {
    margin: 0 0 14px 0;
    padding-left: 18px;
    border-left: 4px solid var(--secondary);
    color: var(--secondary);
    font-family: var(--font-display);
    font-size: 1.15rem;
}
.map-placeholder {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1.5px dashed var(--metal);
    border-radius: var(--radius-sm);
    background: #272d34;
    padding: 18px 14px;
    margin-top: 8px;
}
.map-placeholder img { width: 32px; height: 32px; }

/* CTA Section */
.cta {
    background: var(--primary);
    padding: 48px 0;
    color: var(--accent);
    text-align: center;
    margin-bottom: 0px;
}
.cta .container { align-items: center; }
.cta h2 {
    color: var(--secondary);
    margin-bottom: 24px;
}
.cta a.cta-primary {
    margin: 18px 0;
}
.cta p {
    margin-top: 22px;
    font-size: 1rem;
    color: var(--accent);
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}
.cta img { vertical-align: middle; margin-right: 7px; }

/* Cards and Content Blocks */
.newsletter-signup {
    background: var(--input-bg);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    box-shadow: 0 1px 7px rgba(35,41,49,0.12);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.newsletter-signup h3 {
    color: var(--secondary);
    font-size: 1.15rem;
    margin-bottom: 5px;
}
.newsletter-signup em {
    color: var(--metal);
    font-size: 0.99em;
    font-style: italic;
}

/* Button Styles */
.cta-primary, .btn, button, .mobile-menu-close, .cookie-btn {
    font-family: var(--font-body);
    font-size: 1.05rem;
    padding: 12px 24px;
    background: var(--secondary);
    color: var(--primary);
    border-radius: var(--radius-sm);
    border: none;
    font-weight: 600;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 7px rgba(53,69,88,.10);
    transition: background 0.16s, color 0.14s, box-shadow 0.21s, transform 0.13s;
    display: inline-block;
    margin: 6px 0;
}
.cta-primary:hover, .btn:hover, button:hover, .cookie-btn:hover, .mobile-menu-close:focus {
    background: var(--primary);
    color: var(--secondary);
    box-shadow: 0 4px 16px rgba(199,178,153,0.13);
    transform: translateY(-2px) scale(1.05);
}
.cta-primary:active, .btn:active {
    background: var(--primary-light);
    color: var(--secondary);
    box-shadow: 0 2px 7px rgba(53,69,88,.13);
}

/* Special Button: Secondary */
.btn-secondary {
    background: var(--primary);
    color: var(--secondary);
    border: 1.5px solid var(--secondary);
}
.btn-secondary:hover {
    background: var(--secondary);
    color: var(--primary);
}

/* Header and Navigation */
header {
    width: 100%;
    background: var(--dark-bg);
    box-shadow: 0 2px 16px rgba(35,41,49,0.10);
    z-index: 999;
    position: relative;
}
header .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    position: relative;
    gap: 20px;
}
.logo img {
    height: 48px;
    width: auto;
    filter: grayscale(7%) brightness(1.07) contrast(1.2);
    transition: filter 0.22s;
}
.logo:hover img {
    filter: grayscale(0%) brightness(1.11) drop-shadow(0 2px 8px #c7b29966);
}
.main-nav {
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: center;
    margin-left: 24px;
    font-family: var(--font-body);
}
.main-nav a {
    color: var(--accent);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.01em;
    padding: 4px 7px;
    border-radius: 5px;
    transition: background 0.13s, color 0.13s;
}
.main-nav a:hover {
    background: var(--secondary);
    color: var(--primary);
}

/* Hide main nav and show burger on mobile */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--secondary);
    margin-left: 18px;
    z-index: 1101;
    transition: color 0.14s, transform 0.17s;
    border-radius: 30%;
    padding: 7px 13px 7px 13px;
    box-shadow: none;
}
.mobile-menu-toggle:focus {
    outline: var(--shadow-focus);
}

/* Mobile Navigation Menu Styles */
.mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 88vw;
    max-width: 350px;
    background: var(--primary);
    box-shadow: 2px 0 48px rgba(35,41,49,0.26), 15px 0 80px #c7b29909;
    z-index: 1200;
    padding: 24px 20px 20px 20px;
    transform: translateX(-102%);
    transition: transform 0.33s cubic-bezier(0.83,0,0.17,1);
}
.mobile-menu.open {
    transform: translateX(0);
}
.mobile-menu-close {
    align-self: flex-end;
    font-size: 2rem;
    background: var(--secondary);
    color: var(--primary);
    border-radius: 50%;
    border: none;
    box-shadow: 0 2px 8px rgba(53,69,88,.06);
    margin-bottom: 16px;
    padding: 6px 12px;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
}
.mobile-nav a {
    font-size: 1.16rem;
    color: var(--accent);
    font-family: var(--font-body);
    background: transparent;
    border-radius: 5px;
    padding: 11px 6px;
    transition: background 0.16s, color 0.13s;
    margin-bottom: 2px;
}
.mobile-nav a:hover {
    background: var(--secondary);
    color: var(--primary);
}
/* Hide mobile menu overlay background by default */
.mobile-menu::after {
    content: '';
    display: none;
}


/* Footer */
footer {
    background: var(--primary);
    color: var(--accent);
    font-family: var(--font-body);
    padding: 38px 0 22px 0;
    font-size: 1rem;
    box-shadow: 0 -2px 12px rgba(35,41,49,0.10);
}
footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.footer-nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    justify-content: center;
}
.footer-nav a {
    color: var(--accent);
    font-size: 1rem;
    font-family: var(--font-body);
    letter-spacing: 0.01em;
    opacity: 0.88;
    transition: color 0.13s, opacity 0.13s;
}
.footer-nav a:hover {
    color: var(--secondary);
    opacity: 1;
}
.footer-contact p {
    font-size: 0.95rem;
    color: var(--accent);
    opacity: 0.94;
    line-height: 1.4;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: var(--dark-bg);
    color: var(--accent);
    box-shadow: 0 -2px 18px rgba(53,69,88,0.22);
    z-index: 2000;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 20px 12px 22px 12px;
    gap: 24px;
    font-size: 1rem;
    animation: fadeInUp 0.7s cubic-bezier(0.83,0,0.17,1);
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: none; }
}
.cookie-banner .cookie-btn {
    margin-left: 13px;
    margin-right: 2px;
    min-width: 120px;
}
.cookie-banner .cookie-btn.cookie-settings {
    background: var(--primary);
    color: var(--secondary);
    border: 1.5px solid var(--secondary);
}
.cookie-banner .cookie-btn.cookie-settings:hover {
    background: var(--secondary);
    color: var(--primary);
}

/* Cookie Modal */
.cookie-modal-overlay {
    position: fixed; left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(35,41,49,0.66);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInOverlay 0.33s;
}
@keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}
.cookie-modal {
    background: var(--primary);
    color: var(--accent);
    border-radius: var(--radius);
    box-shadow: 0 6px 48px rgba(35,41,49,0.43);
    max-width: 420px;
    width: 97vw;
    padding: 34px 34px 22px 34px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 22px;
    animation: scaleIn 0.27s cubic-bezier(0.59,0,-0.07,1.16);
}
@keyframes scaleIn {
    from { transform: scale(0.93); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
    font-family: var(--font-display);
    color: var(--secondary);
    margin-bottom: 9px;
    font-size: 1.22rem;
    font-weight: 600;
}
.cookie-category {
    margin-bottom: 13px;
    font-size: 0.98rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
}
.cookie-category .cookie-toggle {
    appearance: none;
    width: 36px;
    height: 20px;
    border-radius: 10px;
    background: var(--metal);
    position: relative;
    outline: none;
    transition: background 0.21s;
}
.cookie-category .cookie-toggle:checked {
    background: var(--secondary);
}
.cookie-category .cookie-toggle::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--dark-bg);
    position: absolute;
    top: 2px;
    left: 2px;
    transition: left 0.18s;
}
.cookie-category .cookie-toggle:checked::before {
    left: 18px;
    background: var(--primary);
}
.cookie-modal-footer {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 12px;
}
.cookie-modal button {
    min-width: 110px;
}
.cookie-modal .btn-secondary {
    background: var(--primary);
    color: var(--secondary);
    border: 1.2px solid var(--secondary);
}
.cookie-modal .btn-secondary:hover {
    background: var(--secondary);
    color: var(--primary);
}

/* Form Styles */
input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 12px 12px;
    background: var(--input-bg);
    border: 1.2px solid var(--metal);
    border-radius: var(--radius-sm);
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 12px;
    transition: border 0.15s, box-shadow 0.15s;
}
input:focus, textarea:focus {
    border: 1.5px solid var(--secondary);
    box-shadow: 0 0 0 2.5px #c7b29944;
}
label {
    color: var(--secondary);
    margin-bottom: 5px;
    font-weight: 400;
    font-family: var(--font-body);
    display: block;
}

/* Special Utility */
.text-center { text-align: center; }
.text-right { text-align: right; }
.flex { display: flex; }
.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }

/* Responsive Design */
@media (max-width: 1100px) {
    .feature-grid {
        gap: 16px;
    }
}
@media (max-width: 950px) {
    .feature-grid { flex-wrap: wrap; }
    .feature-grid > div { min-width: 180px; max-width: 48vw; }
}
@media (max-width: 768px) {
    .section {
        padding: 28px 8vw;
    }
    .hero {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .feature-grid {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .feature-grid > div {
        min-width: 0;
        max-width: 100%;
    }
    .card-container, .content-grid, .text-image-section {
        flex-direction: column;
        gap: 16px;
    }
    .testimonials-card {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    .content-wrapper { gap: 22px; }
    .main-nav { display: none; }
    .mobile-menu-toggle {
        display: block !important;
    }
    .cta {
        padding: 35px 0 35px 0;
    }
    header .container {
        gap: 10px;
        flex-wrap: wrap;
    }
    .hero h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    .footer-nav { gap: 12px; }
}
@media (max-width: 500px) {
    .container { padding-left: 4px; padding-right: 4px; }
    .section { padding: 18px 2vw; }
    .cookie-modal { padding: 17px 6vw; }
    .feature-grid > div { padding: 15px 7px; }
    .hero { padding-top: 24px; padding-bottom: 24px; }
}

/* Fade animations utility classes */
.fadeIn { animation: fadeIn 1.1s; }
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Industrial Modern Decor: metallic lines & urban accent */
.section:before {
    content: '';
    display: block;
    width: 54px;
    height: 3px;
    background: linear-gradient(90deg, var(--metal) 60%, var(--secondary) 100%);
    border-radius: 2px;
    margin-bottom: 22px;
}
.hero:before {
    content: '';
    display: block;
    width: 54px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary) 70%, var(--metal) 100%);
    border-radius: 2px;
    margin-bottom: 29px;
}

/* Hide pseudo-lines in some contexts */
.hero .container > .content-wrapper:before, .section .content-wrapper:before {
    display: none;
}

/* Accessibility Helpers for Focus States */
a:focus, .cta-primary:focus, .main-nav a:focus, .mobile-nav a:focus, button:focus {
    outline: var(--shadow-focus);
    outline-offset: 2px;
    border-radius: 5px;
}

/* Miscellaneous */
hr {
    border: none;
    border-top: 1.5px solid var(--metal);
    margin: 26px 0;
}

::-webkit-input-placeholder { color: #bbb; font-style: italic; }
::-moz-placeholder { color: #bbb; font-style: italic; }
:-ms-input-placeholder { color: #bbb; font-style: italic; }
::placeholder { color: #bbb; font-style: italic; }

/* Hide scrollbar for mobile menu */
.mobile-menu {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.mobile-menu::-webkit-scrollbar {
    display: none;
}

/* Card and testimonial spacing (enforced minimums) */
.card, .testimonial-card, .feature-grid > div {
    margin-bottom: 20px;
}

/* Blog categories */
.category-label {
    background: var(--metal);
    color: var(--accent);
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 0.92rem;
    margin-right: 6px;
    display: inline-block;
}

/* End of CSS */
