:root {
    /* -- Modern Swiss Palette -- */
    --primary: #0f172a;
    /* Slate 900 */
    --primary-hover: #1e293b;
    /* Slate 800 */

    --accent: #d97706;
    /* Amber 600 - Warm, professional accent */
    --accent-hover: #b45309;

    --bg-body: #ffffff;
    --bg-alt: #f1f5f9;
    /* Slate 100 */

    --text-main: #0f172a;
    --text-muted: #64748b;
    /* Slate 500 */
    --text-light: #94a3b8;
    /* Slate 400 */
    --white: #ffffff;

    --border: #e2e8f0;
    /* Slate 200 */

    /* -- Typography -- */
    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Manrope', sans-serif;

    /* -- Spacing -- */
    --container-width: 1320px;
    --header-height: 90px;
    --top-bar-height: 48px;

    /* -- Effects -- */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* -- Buttons -- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* -- Top Bar -- */
.top-bar {
    background-color: var(--primary);
    color: var(--text-light);
    height: var(--top-bar-height);
    font-size: 0.875rem;
}

.top-bar-inner {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contact a,
.top-social a {
    color: #cbd5e1;
    margin-right: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.top-contact a:hover,
.top-social a:hover {
    color: var(--white);
}

/* -- Header -- */
.main-header {
    background-color: var(--white);
    height: var(--header-height);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: -1px;
    /* Triggers sticky */
    z-index: 1000;
}

.navbar {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.35rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.logo-icon i {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* -- Hero Section -- */
.hero {
    position: relative;
    padding: 8rem 0;
    background-color: var(--primary);
    color: var(--white);
    background-image: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.8)), url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?auto=format&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    max-width: 800px;
}

.hero p {
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

/* -- Sections -- */
.section {
    padding: 6rem 0;
}

.bg-alt {
    background-color: var(--bg-alt);
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-title p {
    text-align: center;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 4rem;
}

/* -- Services Grid -- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 3rem;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-link {
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-link i {
    transition: 0.3s;
}

.service-link:hover i {
    transform: translateX(5px);
    color: var(--accent);
}

/* -- Contact Form -- */
.contact-container {
    background: var(--white);
    box-shadow: var(--shadow-card);
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    overflow: hidden;
}

.contact-form-wrapper {
    padding: 4rem;
}

.contact-info-wrapper {
    background: var(--primary);
    padding: 4rem;
    color: var(--white);
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: var(--bg-alt);
    border: 1px solid transparent;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
}

.form-control:focus {
    outline: none;
    background: var(--white);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

/* -- Footer -- */
.modern-footer {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 6rem 0 2rem;
    margin-top: auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.footer-nav-col h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-nav-col ul li {
    margin-bottom: 0.75rem;
}

.footer-nav-col a {
    color: #94a3b8;
    transition: 0.3s;
}

.footer-nav-col a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact-col .address {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-link {
    margin-bottom: 0.5rem;
}

.contact-link a {
    color: var(--white);
    font-weight: 600;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    font-size: 0.9rem;
}

.legal-links a {
    margin-left: 2rem;
}

/* -- Responsive -- */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    .hero {
        text-align: center;
        justify-content: center;
    }

    .hero h1 {
        margin-left: auto;
        margin-right: auto;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .navbar {
        flex-direction: column;
        height: auto;
        padding: 1rem 0;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .top-bar-inner {
        flex-direction: column;
        justify-content: center;
        gap: 0.5rem;
    }

    .top-contact a {
        margin: 0 0.75rem;
    }
}