/* Enermax Resources - Stylesheet v2 */

:root {
    --red: #E50027;
    --red-dark: #B8001F;
    --ink: #111418;
    --body: #2B2F36;
    --muted: #5A616B;
    --line: #E4E6EA;
    --bg: #FFFFFF;
    --bg-soft: #F6F7F9;
    --dark: #0E0F12;
    --dark-2: #1A1C21;
    --on-dark: #F2F3F5;
    --on-dark-muted: #B9BEC7;
    --radius: 12px;
    --max: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', Arial, sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: var(--body);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--red); }

h1, h2, h3, h4 {
    color: var(--ink);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }

p + p { margin-top: 1em; }

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

.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 14px;
}

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head p { margin-top: 18px; font-size: 1.1rem; color: var(--muted); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.on-dark .btn-outline { color: #fff; }
.on-dark .btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: saturate(180%) blur(8px);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.brand img { height: 40px; width: auto; }
.brand span {
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    color: var(--ink);
    line-height: 1.1;
}
.brand small {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--muted);
}
.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
}
.nav a:hover, .nav a.active { color: var(--red); }
.lang {
    display: flex;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}
.lang a {
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--muted);
}
.lang a.current { background: var(--ink); color: #fff; }
.menu-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 1.8rem;
    color: var(--ink);
    cursor: pointer;
}

/* Hero */
.hero {
    background: var(--dark);
    color: var(--on-dark);
    padding: 110px 0 120px;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    right: -180px;
    top: -180px;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229,0,39,0.35) 0%, rgba(229,0,39,0) 70%);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 880px; }
.hero h1 em { font-style: normal; color: #FF3355; }
.hero p.lead {
    margin-top: 24px;
    max-width: 680px;
    font-size: 1.2rem;
    color: var(--on-dark-muted);
}
.hero .actions { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }

.page-hero {
    background: var(--dark);
    padding: 80px 0 72px;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: var(--on-dark-muted); margin-top: 16px; font-size: 1.15rem; max-width: 680px; }

/* Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.card:hover { border-color: #F3B3BF; box-shadow: 0 12px 32px rgba(17,20,24,0.06); }
.card .icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: #FFEEF1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 1rem; }
.card.featured { border: 2px solid var(--red); }
.badge {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
}

/* Feature (social media) */
.feature {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
    align-items: start;
}
.feature-text p { font-size: 1.08rem; }
.checklist { list-style: none; margin-top: 28px; }
.checklist li {
    position: relative;
    padding-left: 36px;
    margin-bottom: 14px;
    color: var(--ink);
    font-weight: 500;
}
.checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat;
}
.steps { display: grid; gap: 16px; }
.step {
    display: flex;
    gap: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
}
.step-num {
    flex: 0 0 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.step h3 { font-size: 1.08rem; margin-bottom: 4px; }
.step p { font-size: 0.98rem; color: var(--muted); }

/* CTA band */
.cta-band {
    background: var(--red);
    color: #fff;
    padding: 72px 0;
}
.cta-band .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.cta-band h2 { color: #fff; max-width: 640px; }
.cta-band p { color: #FFE3E8; margin-top: 10px; }
.cta-band .btn-light { background: #fff; color: var(--red); }
.cta-band .btn-light:hover { background: var(--ink); color: #fff; }

/* About */
.prose { max-width: 780px; }
.prose h2 { margin: 56px 0 18px; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 1.08rem; }

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}
.stat { border-top: 3px solid var(--red); padding-top: 18px; }
.stat strong { display: block; font-size: 2.2rem; color: var(--ink); font-weight: 800; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 0.98rem; }

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
}
.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 40px;
}
.form-card h2 { font-size: 1.7rem; margin-bottom: 8px; }
.form-card > p { color: var(--muted); margin-bottom: 28px; font-size: 1rem; }
.field { margin-bottom: 20px; }
.field label {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--ink);
    margin-bottom: 8px;
}
.field label span { color: var(--red); }
.field input, .field textarea {
    width: 100%;
    font: inherit;
    font-size: 1rem;
    padding: 13px 16px;
    border: 1.5px solid #CDD1D7;
    border-radius: 8px;
    color: var(--ink);
    background: #fff;
}
.field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(229,0,39,0.12);
}
.field textarea { min-height: 140px; resize: vertical; }
.info-card {
    background: var(--dark);
    color: var(--on-dark);
    border-radius: var(--radius);
    padding: 40px;
}
.info-card h2 { color: #fff; font-size: 1.7rem; margin-bottom: 24px; }
.info-item { padding: 18px 0; border-top: 1px solid #2C2F36; }
.info-item h3 {
    color: var(--on-dark-muted);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.info-item p, .info-item a { color: #fff; font-size: 1.05rem; text-decoration: none; }
.info-item a:hover { color: #FF5C77; }

/* Legal */
.legal { max-width: 820px; }
.legal-meta {
    background: var(--bg-soft);
    border-left: 4px solid var(--red);
    padding: 20px 24px;
    border-radius: 8px;
    margin-bottom: 40px;
    font-size: 1rem;
}
.legal h2 {
    font-size: 1.4rem;
    margin: 44px 0 14px;
    text-transform: none;
}
.legal h3 { font-size: 1.1rem; margin: 26px 0 10px; }
.legal p, .legal li { font-size: 1.02rem; }
.legal ul { margin: 12px 0 12px 22px; }
.legal li { margin-bottom: 6px; }

/* Footer */
.site-footer {
    background: var(--dark);
    color: var(--on-dark-muted);
    padding: 72px 0 32px;
    font-size: 1rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
}
.site-footer .brand span { color: #fff; }
.site-footer .brand small { color: var(--on-dark-muted); }
.site-footer h4 {
    color: #fff;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #FF5C77; }
.company-details { margin-top: 20px; line-height: 1.8; }
.company-details strong { color: #fff; }
.footer-bottom {
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid #2C2F36;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.92rem;
}

/* Responsive */
@media (max-width: 1000px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .feature, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
    .menu-toggle { display: block; }
    .nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 8px 24px 20px;
        border-bottom: 1px solid var(--line);
    }
    .nav.open { display: flex; }
    .nav a { padding: 12px 0; width: 100%; font-size: 1.05rem; }
    .lang { margin-top: 10px; }
    .lang a { width: auto; padding: 8px 16px; }
}

@media (max-width: 640px) {
    body { font-size: 17px; }
    .section { padding: 64px 0; }
    .hero { padding: 72px 0 80px; }
    .grid-3, .stats, .footer-grid { grid-template-columns: 1fr; }
    .card, .form-card, .info-card { padding: 26px; }
    .brand small { display: none; }
}
