@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
    --bg: #f5f6f8;
    --fg: #141a2a;
    --card: #ffffff;
    --primary: #f27a1a;
    --primary-fg: #ffffff;
    --muted: #6b7a90;
    --border: #dfe4ec;
    --surface-warm: #f9f6f2;
    --surface-dark: #1a2236;
    --surface-dark-fg: #b3bcc9;
    --accent: #33997a;
    --shadow-soft: 0 4px 24px -4px rgba(20, 26, 42, 0.08);
    --shadow-elevated: 0 12px 40px -8px rgba(20, 26, 42, 0.12);
    --shadow-warm: 0 8px 32px -8px rgba(242, 122, 26, 0.2);
    --radius: 0.75rem;
    --hero-gradient: linear-gradient(135deg, #1a2236 0%, #233052 50%, #3d2a1a 100%);
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--fg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Space Grotesk', system-ui, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--fg);
}

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

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

.nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
    color: var(--primary);
}

.hamburger-btn {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 26px;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: var(--primary-fg) !important;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: var(--shadow-warm);
    transition: opacity 0.2s;
    border: none;
    cursor: pointer;
}

a.btn-primary:hover {
    opacity: 0.9;
    color: #f5f6f8;
}

.btn-outline {
    display: inline-block;
    border: 1px solid rgba(179, 188, 201, 0.3);
    color: var(--primary-fg);
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    transition: background 0.2s;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
}

.mobile-nav {
    display: none;
    left: 0;
    right: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 1.4rem 1rem;
    border-bottom: 1px solid var(--border);
    background: var(--card);
    position: absolute;
    top: 65px;
}

.mobile-nav.open-menu {
    display: flex;
}

/* Hero */
.hero {
    background: var(--hero-gradient);
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(242, 122, 26, 0.15), transparent 60%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-label {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, #f27a1a, #f5c842);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.125rem;
    color: var(--surface-dark-fg);
    max-width: 36rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-buttons .btn-primary {
    padding: 0.75rem 1.5rem;
}

/* Info Bar */
.info-bar {
    background: var(--card);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

.info-bar .container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: var(--muted);
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-warm {
    background: var(--surface-warm);
}

.section-label {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--fg);
}

.section-header {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 3rem;
}

/* Cards Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.3s;
}

.card:hover {
    box-shadow: var(--shadow-elevated);
}

.card-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius);
    background: rgba(242, 122, 26, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 0.875rem;
    color: var(--muted);
}

/* Pricing */
.price-card {
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--border);
    background: var(--card);
    box-shadow: var(--shadow-soft);
}

.price-card.featured {
    background: var(--hero-gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-warm);
}

.price-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.price-card .price {
    font-size: 2rem;
    font-weight: 700;
}

.price-card .period {
    font-size: 0.875rem;
    color: var(--muted);
}

.price-card.featured .period {
    color: rgba(255, 255, 255, 0.7);
}

.price-card p {
    font-size: 0.875rem;
    color: var(--muted);
    margin-top: 0.75rem;
}

.price-card.featured p {
    color: rgba(255, 255, 255, 0.8);
}

/* Hours */
.hours-table {
    max-width: 32rem;
    margin: 0 auto;
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

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

.hours-row .day {
    font-weight: 500;
}

.hours-row .time {
    color: var(--muted);
}

.hours-row .closed {
    color: #e04040;
    font-weight: 500;
}

/* FAQ */
.faq details {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    margin-bottom: 0.75rem;
}

.faq summary {
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-weight: 500;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq details>div {
    padding: 0 1.5rem 1rem;
    font-size: 0.875rem;
    color: var(--muted);
}

/* Article Cards */
.article-card {
    display: block;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.3s;
}

.article-card:hover {
    box-shadow: var(--shadow-elevated);
}

.article-card .bar {
    height: 4px;
    background: var(--primary);
}

.article-card .body {
    padding: 1.5rem;
}

.article-card .cat {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
}

.article-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0.5rem 0;
    transition: color 0.2s;
}

.article-card:hover h3 {
    color: var(--primary);
}

.article-card .excerpt {
    font-size: 0.875rem;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card .meta {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--muted);
}

/* CTA */
.cta {
    background: var(--hero-gradient);
    padding: 5rem 0;
    text-align: center;
}

.cta h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta p {
    color: var(--surface-dark-fg);
    max-width: 36rem;
    margin: 0 auto 2rem;
    font-size: 1.125rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--surface-dark);
    color: var(--surface-dark-fg);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer h4 {
    font-family: 'Space Grotesk', sans-serif;
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 0.5rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(179, 188, 201, 0.15);
    padding-top: 2rem;
    font-size: 0.875rem;
    opacity: 0.5;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Legal page */
.legal {
    padding: 6rem 1rem 4rem;
    max-width: 48rem;
    margin: 0 auto;
}

.legal h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.legal .date {
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 2.5rem;
}

.legal h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
    color: var(--fg);
}

.legal p,
.legal li {
    font-size: 1rem;
    color: var(--muted);
    margin-bottom: 0.75rem;
}

.legal ul {
    padding-left: 1.5rem;
}

.legal a {
    color: var(--primary);
}

.legal a:hover {
    text-decoration: underline;
}

/* Article page */
.article-page {
    padding: 6rem 1rem 4rem;
    max-width: 48rem;
    margin: 0 auto;
}

.article-page .back {
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 2rem;
    display: inline-block;
}

.article-page .back:hover {
    color: var(--primary);
}

.article-page h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin: 0.5rem 0 1rem;
}

.article-page .meta {
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 2.5rem;
}

.article-page .content p {
    margin-bottom: 1rem;
    color: rgba(20, 26, 42, 0.85);
}

.article-page .content strong {
    color: var(--fg);
    font-weight: 600;
}

.article-page .content ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.article-page .content li {
    margin-bottom: 0.25rem;
    color: rgba(20, 26, 42, 0.85);
}

.article-page .cta-box {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--surface-warm);
    border-radius: var(--radius);
    text-align: center;
}

.article-page .cta-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.article-page .cta-box p {
    color: var(--muted);
    margin-bottom: 1rem;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.contact-card .icon {
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-card p,
.contact-card a {
    font-size: 0.875rem;
    color: var(--muted);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.625rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-family: inherit;
    background: var(--bg);
    color: var(--fg);
}

.form-group textarea {
    resize: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Mobile */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--fg);
}

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .hamburger-btn {
        display: flex;
    }
}