/* Light & Minimal — Personalseg / J Chein templates */
:root {
    --bg: #ffffff;
    --surface: #fbfcfd;
    --muted: #6b7280;
    --text: #0f1724;
    --primary: #0b63d3;
    --accent: #06b6d4;
    --border: #e6eef6;
    --radius: 10px;
    --max-width: 1100px;
    --gap: 1rem;
    --font-sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

/* Layout container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.25rem;
    width: calc(100% - 2.5rem);
}

/* Header */
.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 40;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
    padding: 0.75rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none
}

.logo img {
    height: 40px;
    width: auto;
    border-radius: 8px;
    object-fit: contain
}

.main-nav {
    display: flex;
    gap: 0.6rem;
    align-items: center
}

.main-nav a {
    color: var(--muted);
    text-decoration: none;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    font-size: 0.95rem;
}

.main-nav a:hover {
    color: var(--text)
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 1.25rem;
    color: var(--text)
}

/* Main */
main {
    padding: 2rem 0
}

/* Hero */
.hero {
    padding: 2rem;
    border-radius: 12px;
    background: linear-gradient(180deg, var(--surface), #f7fafc);
    box-shadow: 0 6px 20px rgba(30, 41, 59, 0.04)
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 1.25rem;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.hero h1 {
    font-size: 2rem;
    margin: 0 0 0.6rem;
    font-weight: 700
}

.hero p {
    color: var(--muted);
    margin: 0 0 1rem;
    font-size: 1rem
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.95rem;
    border-radius: 9px;
    text-decoration: none;
    font-weight: 600;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border: 1px solid rgba(11, 99, 211, 0.15);
    box-shadow: 0 6px 18px rgba(11, 99, 211, 0.08);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

/* Quick stats */
.quick-stats {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 0.8rem
}

.quick-stats .stat {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 0.6rem 0.9rem;
    border-radius: 8px;
    min-width: 140px;
    text-align: center;
}

.muted {
    color: var(--muted)
}

/* Hero media */
.hero-media img {
    width: 100%;
    height: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--border);
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.25rem auto;
    max-width: var(--max-width);
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 1.05rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(30, 41, 59, 0.03);
}

.feature-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.7rem
}

/* CTA */
.cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 6px 20px rgba(2, 6, 23, 0.03);
    max-width: var(--max-width);
    margin: 1rem auto;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    background: var(--surface);
    padding: 1rem 0;
    margin-top: 2rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem
}

.footer-inner a {
    color: var(--muted);
    text-decoration: none
}

/* Contact / form */
.contact-hero {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--border)
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 1rem;
    margin-top: 1rem
}

.contact-card {
    background: #fff;
    border: 1px solid var(--border);
    padding: 1rem;
    border-radius: 10px
}

label {
    display: block;
    color: var(--muted);
    font-size: 0.94rem;
    margin-bottom: 0.35rem
}

input,
textarea,
select {
    width: 100%;
    padding: 0.65rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
}

textarea {
    min-height: 140px;
    resize: vertical
}

.form-actions {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    margin-top: 0.6rem
}

/* Utils */
.text-center {
    text-align: center
}

.small {
    font-size: 0.92rem;
    color: var(--muted)
}

/* Responsive */
@media (max-width:1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center
    }

    .hero h1 {
        font-size: 1.75rem
    }

    .features {
        grid-template-columns: repeat(2, 1fr)
    }

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

    .cta {
        flex-direction: column;
        align-items: center;
        text-align: center
    }
}

@media (max-width:640px) {
    .header-inner {
        padding: 0.6rem
    }

    .logo img {
        height: 36px
    }

    .main-nav {
        display: none
    }

    .menu-toggle {
        display: inline-block
    }

    .features {
        grid-template-columns: 1fr
    }

    .hero-media img {
        max-height: 220px
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem
    }
}