:root {
    --primary: #0A0A0A;
    --accent: #E8904F;
    --accent-dark: #D67D3E;
    --text: #2A2A2A;
    --text-light: #666666;
    --background: #FAFAFA;
    --white: #FFFFFF;
    --border: #E0E0E0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Work Sans', sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    animation: slideDown 0.6s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0;
}

.logo-container img {
    height: 65px;
    width: auto;
}

nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--accent);
}

.contact-btn {
    padding: 0.7rem 1.5rem;
    background: var(--accent);
    color: white;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(232, 144, 79, 0.3);
}

.contact-btn::after {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    margin-top: 80px;
    background: linear-gradient(135deg, #FAFAFA 0%, #FFFFFF 100%);
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 5rem;
    align-items: center;
}

.hero-text h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.accent-text {
    color: var(--accent);
    position: relative;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(232, 144, 79, 0.2);
}

.cta-button:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(232, 144, 79, 0.35);
}

.cta-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--border);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}
/* Subpage + blog styling */
.subpage-hero {
    padding: 8rem 5% 4rem;
    background: linear-gradient(135deg, #fefefe 0%, #f5f2ef 100%);
    margin-top: 80px;
}

.article-hero {
    padding-bottom: 3rem;
}

.subpage-hero-inner {
    max-width: 900px;
    margin: 0 auto;
}

.hero-lede {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.blog-series {
    padding: 5rem 5%;
    background: white;
}

.series-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.series-card {
    padding: 2.5rem;
    background: var(--background);
    border-radius: 16px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.series-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    background: white;
}

.series-card-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.series-tagline {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.article-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.article-links li a {
    display: block;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: white;
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.article-links li a:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.article-title {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.article-summary {
    display: block;
    font-size: 0.95rem;
    color: var(--text-light);
}

.article-layout {
    padding: 4rem 5% 6rem;
    background: var(--background);
}

.article-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
    font-family: 'Outfit', sans-serif;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.article-content h2 {
    font-size: 2rem;
}

.article-content h3 {
    font-size: 1.4rem;
}

.article-content p + p {
    margin-top: 1rem;
}

.article-content ul,
.article-content ol {
    margin-left: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content a {
    color: var(--accent);
    text-decoration: none;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: var(--text-light);
}

.article-meta.note {
    margin-top: 2rem;
    justify-content: flex-start;
}

.idea-card {
    margin: 2.5rem 0;
    padding: 2rem;
    border-radius: 14px;
    background: rgba(232, 144, 79, 0.08);
    border: 1px solid rgba(232, 144, 79, 0.3);
}

.idea-card-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.article-backlink {
    margin-top: 3rem;
}

.article-backlink a {
    color: var(--accent);
    font-weight: 600;
}

.table-scroll {
    overflow-x: auto;
    margin: 2rem 0;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.article-content th,
.article-content td {
    border: 1px solid var(--border);
    padding: 0.85rem 1rem;
    text-align: left;
    font-size: 0.95rem;
}

.article-content th {
    background: var(--background);
    font-weight: 600;
}

.article-content blockquote {
    border-left: 4px solid var(--accent);
    padding-left: 1.5rem;
    color: var(--text-light);
    font-style: italic;
}


.hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.stat-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-family: 'Outfit', sans-serif;

    .hero-actions {
        flex-direction: column;
    }

    .article-content {
        padding: 2rem;
    }
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Expertise Section */
.expertise {
    padding: 8rem 5% 6rem;
    background: white;
}

.section-header {
    max-width: 1400px;
    margin: 0 auto 4rem;
    text-align: center;
}

.section-tag {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    display: block;
}

.section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.expertise-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.expertise-card {
    background: var(--background);
    padding: 3rem 2.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(232, 144, 79, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.expertise-card:hover::before {
    opacity: 1;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    background: white;
}

.expertise-icon {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    display: block;
}

.expertise-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
}

.expertise-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* Services Section */
.services {
    padding: 8rem 5%;
    background: var(--background);
}

.services-grid {
    max-width: 1400px;
    margin: 4rem auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.service-item {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.service-item h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
}

.service-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Locations Section */
.locations {
    padding: 8rem 5%;
    background: white;
}

.locations-grid {
    max-width: 1200px;
    margin: 4rem auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.location-card {
    background: var(--background);
    padding: 3rem 2.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.location-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.location-emoji {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.location-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.location-card p {
    color: var(--text-light);
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 8rem 5%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button-white {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: white;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-button-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    padding: 4rem 5% 2rem;
    background: var(--primary);
    color: white;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 50px;
    filter: brightness(0) invert(1);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    nav {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .expertise-grid,
    .services-grid,
    .locations-grid {
        grid-template-columns: 1fr;
    }
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--white);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    width: 90%;
    max-width: 520px;
    position: relative;
    transform: translateY(30px) scale(0.96);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--text-light);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
    background: var(--background);
    color: var(--text);
}

.modal h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.modal .modal-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.modal form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.modal form label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text);
}

.modal form input[type="email"],
.modal form input[type="text"],
.modal form textarea {
    padding: 0.85rem 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    color: var(--text);
    background: var(--background);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
    resize: vertical;
}

.modal form input[type="email"]:focus,
.modal form input[type="text"]:focus,
.modal form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232, 144, 79, 0.15);
}

.modal form textarea {
    min-height: 120px;
}

.modal form button[type="submit"] {
    padding: 1rem 2rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(232, 144, 79, 0.2);
    margin-top: 0.5rem;
}

.modal form button[type="submit"]:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(232, 144, 79, 0.35);
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}
