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

:root {
    --bg: #FAFAFA;
    --bg-warm: #FFF8F0;
    --card-bg: #FFFFFF;
    --text: #111111;
    --text-muted: #555555;
    --accent: #FF3B30;
    --accent-hover: #E0342B;
    --accent-light: #FFF0EF;
    --green: #34C759;
    --green-light: #E8F9ED;
    --blue: #007AFF;
    --border: #111111;
    --border-light: #E5E5E5;
    --shadow: #111111;
    --grid-color: rgba(0, 0, 0, 0.04);
    --radius: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background-color: var(--bg);
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 40px 40px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ---- NAV ---- */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 250, 250, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--border);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-logo img {
    height: 32px;
    width: auto;
}

.nav-logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 6px 14px;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-links a:hover {
    color: var(--text);
    background: rgba(0, 0, 0, 0.04);
}

.nav-cta {
    background: var(--accent) !important;
    color: #fff !important;
    font-weight: 600 !important;
    border: 2px solid var(--border) !important;
    padding: 8px 20px !important;
    border-radius: 8px !important;
    transition: all 0.2s !important;
    box-shadow: 3px 3px 0 var(--shadow);
}

.nav-cta:hover {
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0 var(--shadow);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 16px 24px;
    background: var(--bg);
    border-bottom: 2px solid var(--border);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

/* ---- SECTIONS ---- */
section {
    padding: 80px 24px;
}

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

/* ---- HERO ---- */
.hero {
    padding: 100px 24px 80px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-light);
    border: 2px solid var(--border);
    border-radius: 999px;
    padding: 6px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a7a34;
    margin-bottom: 32px;
    box-shadow: 2px 2px 0 var(--shadow);
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    max-width: 800px;
    margin: 0 auto 24px;
}

.hero h1 .accent {
    color: var(--accent);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 10px;
    border: 3px solid var(--border);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    position: relative;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 4px 4px 0 var(--shadow);
}

.btn-primary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--shadow);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text);
    box-shadow: 4px 4px 0 var(--shadow);
}

.btn-secondary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--shadow);
}

/* ---- BRUTALIST CARD ---- */
.card {
    position: relative;
    background: var(--card-bg);
    border: 3px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 5px 5px 0 var(--shadow);
    transition: all 0.2s;
}

.card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0 var(--shadow);
}

/* ---- SERVICES ---- */
.services-section {
    background: var(--bg-warm);
    border-top: 3px solid var(--border);
    border-bottom: 3px solid var(--border);
}

.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 48px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.service-card {
    display: flex;
    flex-direction: column;
}

.service-card .service-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    box-shadow: 2px 2px 0 var(--shadow);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
    margin-top: 16px;
    margin-bottom: 24px;
}

.service-card ul li {
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.service-card ul li::before {
    content: '>';
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
}

.service-card .hero-badge {
    margin-top: auto;
    margin-bottom: 0;
    align-self: center;
}

/* ---- WHY US / TRUST ---- */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.trust-item {
    text-align: center;
    padding: 32px 24px;
}

.trust-item .trust-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.trust-item h3 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.trust-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ---- PROCESS ---- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.step {
    text-align: center;
    padding: 24px;
}

.step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid var(--border);
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 3px 3px 0 var(--shadow);
}

.step h3 {
    font-weight: 700;
    margin-bottom: 8px;
}

.step p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ---- CTA / BOOKING ---- */
.cta-section {
    background: var(--text);
    color: #fff;
    border-top: 3px solid var(--border);
    text-align: center;
}

.cta-section .section-label {
    color: var(--green);
}

.cta-section .section-title {
    color: #fff;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 560px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.cta-section .btn-primary {
    background: var(--accent);
    border-color: #fff;
    box-shadow: 4px 4px 0 rgba(255, 255, 255, 0.3);
}

.cta-section .btn-primary:hover {
    box-shadow: 6px 6px 0 rgba(255, 255, 255, 0.3);
}

/* ---- ABOUT ---- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-info h3 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.about-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

.cert-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--accent-light);
    border: 2px solid var(--border);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 2px 2px 0 var(--shadow);
}

.contact-details {
    background: var(--bg-warm);
    border: 3px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 5px 5px 0 var(--shadow);
}

.contact-details h3 {
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.95rem;
}

.contact-row:last-child {
    border-bottom: none;
}

.contact-row .label {
    font-weight: 600;
    min-width: 100px;
    flex-shrink: 0;
}

.contact-row a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.contact-row a:hover {
    text-decoration: underline;
}

/* ---- FOOTER ---- */
footer {
    border-top: 3px solid var(--border);
    padding: 32px 24px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

footer a:hover {
    color: var(--text);
}

/* ---- BLOG LIST (for /blog/) ---- */
.blog-list {
    display: grid;
    gap: 24px;
    margin-top: 48px;
}

.blog-card {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.blog-card .blog-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.blog-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.blog-card h3 a {
    color: var(--text);
    text-decoration: none;
}

.blog-card h3 a:hover {
    color: var(--accent);
}

.blog-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ---- BLOG POST (for /blog/post/) ---- */
.blog-content {
    max-width: 720px;
    margin: 0 auto;
}

.blog-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.blog-content .blog-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--border-light);
}

.blog-content h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 40px 0 16px;
}

.blog-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 32px 0 12px;
}

.blog-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.blog-content ul,
.blog-content ol {
    color: var(--text-muted);
    margin: 0 0 20px 24px;
    line-height: 1.8;
}

.blog-content code {
    background: var(--bg-warm);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 0.9em;
}

.blog-content pre {
    background: var(--text);
    color: #e0e0e0;
    padding: 20px 24px;
    border-radius: var(--radius);
    border: 3px solid var(--border);
    box-shadow: 5px 5px 0 var(--shadow);
    overflow-x: auto;
    margin-bottom: 24px;
}

.blog-content pre code {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
}

.blog-content blockquote {
    border-left: 4px solid var(--accent);
    padding: 12px 24px;
    margin: 0 0 20px;
    background: var(--accent-light);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    border: 3px solid var(--border);
    box-shadow: 5px 5px 0 var(--shadow);
    margin: 0;
    display: block;
}

.blog-content figure {
    margin: 32px 0;
}

.blog-content figcaption {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 10px;
    font-style: italic;
}

.blog-content ol {
    color: var(--text-muted);
    margin: 0 0 20px 24px;
    line-height: 1.8;
}

.blog-content a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.blog-content a:hover {
    text-decoration: underline;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    section {
        padding: 60px 20px;
    }

    .hero {
        padding: 80px 20px 60px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .blog-card {
        flex-direction: column;
    }
}
