/* Reset & Base */
:root {
    --mres-bg: #0F172A;
    --mres-surface: #1E293B;
    --mres-surface-hover: #334155;
    --mres-accent: #D97706;
    --mres-accent-light: #F59E0B;
    --mres-text: #CBD5E1;
    --mres-title: #F8FAFC;
    --mres-font-head: 'Playfair Display', Didot, 'Hoefler Text', Georgia, serif;
    --mres-font-body: 'Lato', 'Helvetica Neue', Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.mres-layout {
    font-family: var(--mres-font-body);
    background-color: var(--mres-bg);
    color: var(--mres-text);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--mres-font-head);
    color: var(--mres-title);
    font-weight: 700;
}

a {
    color: var(--mres-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--mres-accent-light);
}

/* Header */
.mres-topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.mres-topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mres-logo {
    font-family: var(--mres-font-head);
    font-size: 2rem;
    color: var(--mres-accent);
    font-weight: 700;
    letter-spacing: 2px;
}

.mres-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mres-brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--mres-title);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mres-brand-sub {
    font-size: 0.8rem;
    color: var(--mres-text);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mres-badge {
    background: var(--mres-accent);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 0 15px rgba(217, 119, 6, 0.4);
}

/* Hero Section */
.mres-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    background: radial-gradient(circle at center, #1E293B 0%, #0F172A 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mres-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: repeating-linear-gradient(
        45deg,
        rgba(255,255,255,0.02) 0px,
        rgba(255,255,255,0.02) 2px,
        transparent 2px,
        transparent 8px
    );
    pointer-events: none;
}

.mres-hero-content {
    max-width: 900px;
    position: relative;
    z-index: 10;
}

.mres-hero-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--mres-accent);
    border-radius: 50px;
    color: var(--mres-accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    margin-bottom: 2rem;
}

.mres-hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.mres-hero-desc {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--mres-text);
}

.mres-hero-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.mres-hero-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 1.5rem;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.mres-hcard-title {
    font-size: 1.1rem;
    color: var(--mres-accent);
    margin-bottom: 0.5rem;
}

.mres-hcard-text {
    font-size: 0.95rem;
}

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

.mres-sec-alt {
    background-color: var(--mres-surface);
}

.mres-sec-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.mres-sec-head {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.mres-sec-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.mres-sec-intro {
    font-size: 1.1rem;
}

/* Cards Grid */
.mres-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mres-card {
    background: var(--mres-bg);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mres-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--mres-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.mres-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.mres-card:hover::before {
    transform: scaleX(1);
}

.mres-kicker {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--mres-accent);
    margin-bottom: 1rem;
}

.mres-card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.mres-card-text {
    margin-bottom: 1.5rem;
    min-height: 3rem;
}

.mres-list {
    list-style: none;
}

.mres-list-item {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.mres-list-item::before {
    content: '▪';
    color: var(--mres-accent);
    position: absolute;
    left: 0;
    top: 0;
}

/* Footer */
.mres-foot {
    background: #0B1120;
    padding: 5rem 2rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.mres-foot-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.mres-foot-slogan {
    font-size: 1.8rem;
    text-align: center;
    color: var(--mres-accent);
    margin-bottom: 4rem;
}

.mres-foot-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.mres-foot-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mres-foot-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 2rem;
}

.mres-foot-contacts p {
    margin-bottom: 0.5rem;
}

.mres-foot-nav {
    display: flex;
    gap: 2rem;
}

.mres-nav-link {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.mres-foot-copy {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(203, 213, 225, 0.5);
}

/* Responsive */
@media (max-width: 900px) {
    .mres-hero-title {
        font-size: 3rem;
    }
    .mres-hero-grid, .mres-grid, .mres-foot-cols {
        grid-template-columns: 1fr;
    }
    .mres-foot-bottom {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    .mres-brand-sub {
        display: none;
    }
}
