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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #0a1628;
    color: #d0d8e8;
    line-height: 1.7;
    font-size: 17px;
}

a {
    color: #5b9bd5;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(91, 155, 213, 0.15);
    padding: 0 2rem;
    z-index: 100;
}

nav .nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

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

nav .brand img {
    height: 40px;
    width: 40px;
    object-fit: cover;
    border-radius: 50%;
}

nav .brand-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.04em;
}

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

nav ul li a {
    color: #8a9bb8;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: color 0.2s;
}

nav ul li a:hover {
    color: #ffffff;
    text-decoration: none;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
}

h1, h2, h3 {
    color: #ffffff;
    font-weight: 600;
}

/* Hero */
.hero {
    padding: 10rem 2rem 6rem;
    text-align: center;
}

.hero .logo {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 2.5rem;
    filter: drop-shadow(0 4px 24px rgba(91, 155, 213, 0.2));
}

.hero h1 {
    font-size: 2.6rem;
    line-height: 1.25;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.hero .tagline {
    font-size: 1.2rem;
    color: #8a9bb8;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.hero .location {
    font-size: 0.95rem;
    color: #5a6a84;
}

.divider {
    width: 60px;
    height: 2px;
    background: #5b9bd5;
    margin: 0 auto;
    opacity: 0.6;
}

/* Services */
.services {
    background: #0d1b30;
}

.section-heading {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-heading h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.section-heading p {
    color: #6b7d9a;
    font-size: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}

.service-card {
    background: rgba(26, 42, 68, 0.6);
    border: 1px solid rgba(91, 155, 213, 0.1);
    border-radius: 8px;
    padding: 2rem;
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.95rem;
    color: #8a9bb8;
    line-height: 1.65;
}

/* About */
.about .about-content {
    max-width: 780px;
    margin: 0 auto;
}

.about .about-content p {
    margin-bottom: 1.25rem;
}

.about .credentials {
    list-style: none;
    margin-top: 1.5rem;
}

.about .credentials li {
    padding: 0.5rem 0;
    padding-left: 1.25rem;
    position: relative;
    color: #8a9bb8;
    font-size: 0.95rem;
}

.about .credentials li::before {
    content: "\2014";
    position: absolute;
    left: 0;
    color: #5b9bd5;
}

/* Contact */
.contact {
    background: #0d1b30;
    text-align: center;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.contact-buttons a {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 1px solid rgba(91, 155, 213, 0.4);
    border-radius: 6px;
    color: #5b9bd5;
    font-weight: 500;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
}

.contact-buttons a:hover {
    background: rgba(91, 155, 213, 0.1);
    text-decoration: none;
}

.contact-buttons .email-link {
    background: rgba(91, 155, 213, 0.12);
    border-color: rgba(91, 155, 213, 0.5);
}

/* FAQ */
.faq .faq-list {
    max-width: 780px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(91, 155, 213, 0.1);
    padding: 1.5rem 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
    color: #ffffff;
}

.faq-item p {
    font-size: 0.95rem;
    color: #8a9bb8;
    line-height: 1.65;
}

/* Footer */
footer {
    text-align: center;
    padding: 2.5rem 2rem;
    border-top: 1px solid rgba(91, 155, 213, 0.1);
    color: #4a5a74;
    font-size: 0.85rem;
}

/* Mobile */
@media (max-width: 768px) {
    .hero {
        padding: 8rem 1.5rem 4rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero .tagline {
        font-size: 1.05rem;
    }

    section {
        padding: 4rem 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    nav ul {
        gap: 1.25rem;
    }

    nav ul li a {
        font-size: 0.8rem;
    }

    nav .brand img {
        height: 34px;
        width: 34px;
    }

    nav .brand-text {
        font-size: 0.85rem;
    }

    .hero .logo {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 480px) {
    nav .nav-inner {
        flex-direction: column;
        height: auto;
        padding: 0.75rem 0;
        gap: 0.5rem;
    }

    nav ul {
        gap: 1rem;
    }

    .hero {
        padding-top: 7rem;
    }
}

/* === Blog === */

/* Blog listing page */
.blog-listing {
    padding: 8rem 2rem 6rem;
}

.blog-listing-container {
    max-width: 1100px;
    margin: 0 auto;
}

.blog-listing-intro {
    text-align: center;
    margin-bottom: 3.5rem;
}

.blog-listing-intro h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.blog-listing-intro p {
    color: #6b7d9a;
    font-size: 1rem;
}

.blog-list {
    list-style: none;
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.blog-list > li {
    background: rgba(26, 42, 68, 0.6);
    border: 1px solid rgba(91, 155, 213, 0.1);
    border-radius: 8px;
    padding: 1.75rem 2rem;
}

.post-link-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 600;
}

.post-link-title a {
    color: #ffffff;
}

.post-link-title a:hover {
    color: #5b9bd5;
    text-decoration: none;
}

.post-link-desc {
    color: #8a9bb8;
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 0.5rem;
}

.blog-list time {
    color: #6b7d9a;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.blog-empty {
    text-align: center;
    color: #6b7d9a;
    font-size: 1rem;
    padding: 4rem 0;
}

/* Single post */
.post {
    padding: 8rem 2rem 6rem;
}

.post-container {
    max-width: 780px;
    margin: 0 auto;
}

.post-meta {
    color: #6b7d9a;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.tag {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    border: 1px solid rgba(91, 155, 213, 0.4);
    border-radius: 999px;
    color: #5b9bd5;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* Post body typography */
.post-body {
    color: #d0d8e8;
    font-size: 1rem;
    line-height: 1.7;
}

.post-body h1 {
    font-size: 2rem;
    line-height: 1.25;
    margin-bottom: 1.25rem;
    color: #ffffff;
}

.post-body h2 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    color: #ffffff;
}

.post-body h3 {
    font-size: 1.15rem;
    margin: 2rem 0 0.75rem;
    color: #ffffff;
}

.post-body p {
    margin-bottom: 1.25rem;
}

.post-body ul,
.post-body ol {
    margin: 0 0 1.25rem 1.5rem;
}

.post-body li {
    margin-bottom: 0.4rem;
}

.post-body a {
    color: #5b9bd5;
}

.post-body a:hover {
    text-decoration: underline;
}

.post-body blockquote {
    border-left: 3px solid #5b9bd5;
    padding: 0.25rem 0 0.25rem 1.25rem;
    margin: 1.5rem 0;
    color: #8a9bb8;
    font-style: italic;
}

.post-body code {
    background: rgba(91, 155, 213, 0.1);
    border-radius: 4px;
    padding: 0.1rem 0.4rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.92em;
    color: #d0d8e8;
}

.post-body pre {
    background: rgba(13, 27, 48, 0.8);
    border: 1px solid rgba(91, 155, 213, 0.1);
    border-radius: 6px;
    padding: 1rem 1.25rem;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-size: 0.9rem;
    line-height: 1.55;
}

.post-body pre code {
    background: transparent;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
}

@media (max-width: 768px) {
    .blog-listing,
    .post {
        padding: 6rem 1.5rem 4rem;
    }

    .blog-list > li {
        padding: 1.5rem 1.25rem;
    }

    .post-body h1 {
        font-size: 1.6rem;
    }

    .post-body h2 {
        font-size: 1.25rem;
    }
}
