/* ===== CSS Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1a1a2e;
    background-color: #fafafa;
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Skip Link ===== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: #1a1a2e;
    color: #fff;
    padding: 0.5rem 1rem;
    z-index: 1000;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
}

.skip-link:focus {
    top: 0;
}

/* ===== Container ===== */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== Typography ===== */
h1, h2, h3 {
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #111;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 0.25em;
}

h2 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: 1.25em;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #e0e0e0;
    color: #333;
}

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

a {
    color: #2c3e6b;
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover, a:focus {
    color: #1a1a2e;
    text-decoration: underline;
}

a:focus-visible {
    outline: 2px solid #2c3e6b;
    outline-offset: 2px;
}

/* ===== Header ===== */
header {
    border-bottom: 1px solid #e8e8e8;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: #1a1a2e;
}

.logo svg {
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav a {
    color: #555;
    font-size: 0.9375rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

nav a:hover, nav a:focus {
    color: #1a1a2e;
}

/* ===== Hero Section ===== */
.hero {
    padding: 6rem 0 5rem;
    text-align: center;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    color: #555;
    font-weight: 400;
    letter-spacing: 0.02em;
    margin-bottom: 0.5em;
}

.hero-location {
    font-size: 0.9375rem;
    color: #888;
    font-weight: 400;
}

/* ===== About Section ===== */
.about {
    padding: 5rem 0;
    background: #fafafa;
}

.about-content {
    max-width: 100%;
}

.about-content p {
    color: #444;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ===== Contact Section ===== */
.contact {
    padding: 5rem 0;
    background: #fff;
    border-top: 1px solid #e8e8e8;
}

.contact-content {
    color: #444;
}

.contact-content > p {
    margin-bottom: 1.5rem;
}

.contact-email {
    margin-bottom: 2rem;
}

.contact-email a {
    font-size: 1.15rem;
    font-weight: 500;
    color: #2c3e6b;
    border-bottom: 1px solid #2c3e6b;
    padding-bottom: 2px;
}

.contact-email a:hover {
    color: #1a1a2e;
    border-bottom-color: #1a1a2e;
    text-decoration: none;
}

.contact-address {
    font-style: normal;
    color: #666;
    font-size: 0.9375rem;
}

.contact-address p {
    margin: 0;
    line-height: 1.6;
}

/* ===== Footer ===== */
footer {
    padding: 2.5rem 0;
    background: #1a1a2e;
    color: #aaa;
    font-size: 0.875rem;
    text-align: center;
}

footer p {
    margin: 0;
    line-height: 1.8;
}

footer a {
    color: #ccc;
}

footer a:hover {
    color: #fff;
}

.footer-links {
    margin: 0.25rem 0;
}

.footer-aux {
    color: #777;
    font-size: 0.8125rem;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
    .hero {
        padding: 4rem 0 3rem;
    }

    .about,
    .contact {
        padding: 3rem 0;
    }

    .header-inner {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
    }

    nav ul {
        gap: 1rem;
    }

    .container {
        padding: 0 1rem;
    }
}

/* ===== Print ===== */
@media print {
    header, footer, .skip-link {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    .hero, .about, .contact {
        padding: 2rem 0;
        background: #fff;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
    }
}
