/* LegalWeed SEO V4 - Style Sheet
   Design: Clean, professional, non-aggressive
   Focus: Readability, trust, content-first */

:root {
    --primary: #2d7a3a;
    --primary-dark: #1e5a28;
    --primary-light: #e8f5e9;
    --accent: #ff9800;
    --text: #333;
    --text-light: #666;
    --text-muted: #999;
    --bg: #fff;
    --bg-alt: #f8f9fa;
    --bg-dark: #1a1a2e;
    --border: #e0e0e0;
    --radius: 8px;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --max-w: 900px;
    --transition: 0.2s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--bg);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* Layout */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
}

.site-logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: var(--text);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Breadcrumb */
.breadcrumb {
    padding: 12px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--primary);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 48px 0;
    text-align: center;
}

.hero h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.hero p {
    font-size: 1.05rem;
    opacity: 0.92;
    max-width: 600px;
    margin: 0 auto 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
}

.btn-white {
    background: #fff;
    color: var(--primary);
}

.btn-white:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-light);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.05rem;
}

/* Main Content */
.section {
    padding: 40px 0;
}

/* Article-style content */
.article-content {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
}

.article-content h2 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin: 36px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-light);
}

.article-content p {
    margin-bottom: 16px;
}

.article-content ul {
    margin: 12px 0 16px 24px;
}

.article-content li {
    margin-bottom: 8px;
}

/* Province Info Box */
.province-info {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin: 24px 0;
}

.province-info h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
}

/* Delivery Box */
.delivery-box {
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 20px 24px;
    margin: 24px 0;
}

.delivery-box h3 {
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.delivery-highlight {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.product-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: box-shadow var(--transition);
}

.product-card:hover {
    box-shadow: var(--shadow);
}

.product-card h3 {
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.product-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    text-align: center;
    padding: 32px;
    border-radius: var(--radius);
    margin: 32px 0;
}

.cta-box h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.cta-box .code {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    border: 2px dashed rgba(255, 255, 255, 0.5);
    padding: 8px 24px;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: var(--radius);
    margin: 12px 0;
}

/* FAQ */
.faq-section {
    margin: 20px 0;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 0.95rem;
    background: var(--bg-alt);
    transition: background var(--transition);
}

.faq-question:hover {
    background: var(--primary-light);
}

.faq-question .toggle {
    font-size: 1.2rem;
    color: var(--primary);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.6;
}

.faq-item.open .faq-answer {
    padding: 16px 20px;
    max-height: 300px;
}

.faq-item.open .toggle {
    transform: rotate(45deg);
}

/* Disclaimer */
.disclaimer {
    background: #fff8e1;
    border-left: 4px solid var(--accent);
    padding: 12px 16px;
    margin: 20px 0;
    font-size: 0.85rem;
    color: var(--text-light);
    border-radius: 0 var(--radius) var(--radius) 0;
}

/* Related Links */
.related-links {
    margin: 24px 0;
}

.related-links h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
}

.related-grid a {
    display: block;
    padding: 10px 16px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 0.9rem;
    transition: background var(--transition);
}

.related-grid a:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

/* Newsletter */
.newsletter {
    background: var(--bg-alt);
    padding: 32px 20px;
    text-align: center;
    margin: 32px 0;
    border-radius: var(--radius);
}

.newsletter h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.newsletter p {
    color: var(--text-light);
    font-size: 0.92rem;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
}

.newsletter-form button {
    padding: 10px 20px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

.fine-print {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Reviews Section */
.reviews-section {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin: 24px 0;
    text-align: center;
}

.reviews-section h3 {
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.reviews-section p {
    font-size: 0.92rem;
    color: var(--text-light);
}

/* WhatsApp Box */
.whatsapp-box {
    background: #dcf8c6;
    border-left: 4px solid #25d366;
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 12px 16px;
    margin: 24px 0;
    font-size: 0.92rem;
}

.whatsapp-box a {
    color: #128c7e;
    font-weight: 600;
}

.whatsapp-box a:hover {
    color: #075e54;
}

/* Guide Cards */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.guide-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: box-shadow var(--transition), transform var(--transition);
}

.guide-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.guide-card h3 {
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.guide-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.5;
}

.guide-card .read-more {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
}

/* Cross-links in guides */
.guide-crosslinks {
    background: var(--primary-light);
    border-radius: var(--radius);
    padding: 20px;
    margin: 32px 0;
}

.guide-crosslinks h3 {
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.guide-crosslinks a {
    display: inline-block;
    padding: 6px 14px;
    background: #fff;
    border-radius: 20px;
    margin: 4px 4px 4px 0;
    font-size: 0.85rem;
    color: var(--text);
    transition: all var(--transition);
}

.guide-crosslinks a:hover {
    background: var(--primary);
    color: #fff;
}

/* Promo Box (area-specific) */
.promo-box {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: #fff;
    text-align: center;
    padding: 28px 24px;
    border-radius: var(--radius);
    margin: 28px 0;
}

.promo-box h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.promo-box .promo-code {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    border: 2px dashed rgba(255, 255, 255, 0.6);
    padding: 10px 28px;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 3px;
    border-radius: var(--radius);
    margin: 12px 0;
    font-family: monospace;
}

.promo-box p {
    font-size: 0.92rem;
    opacity: 0.92;
}

/* Local Insight Section */
.local-insight {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 28px 24px;
    margin: 28px 0;
    border: 1px solid var(--border);
}

.local-insight h2 {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 14px;
    border-bottom: none;
}

.local-insight p {
    margin-bottom: 14px;
    line-height: 1.7;
}

.local-insight blockquote {
    border-left: 4px solid var(--primary);
    margin: 18px 0;
    padding: 14px 20px;
    background: rgba(76, 175, 80, 0.06);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--text);
}

.local-insight blockquote cite {
    display: block;
    margin-top: 8px;
    font-size: 0.88rem;
    font-style: normal;
    color: var(--text-muted);
}

/* Footer */
.site-footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
    margin-top: 40px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.8);
}

/* Hub page - region grid */
.region-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.region-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: box-shadow var(--transition);
}

.region-card:hover {
    box-shadow: var(--shadow);
}

.region-card h3 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--primary-dark);
}

.region-card .meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.4rem;
    }

    .hero {
        padding: 32px 0;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .region-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .site-nav {
        flex-direction: column;
        gap: 8px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}