/*
 * Elena Mochales Immigration Law - Theme Styles
 */

/* =============================================
   1. RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Inter, sans-serif;
    color: #111;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

.site-main {
    min-height: 60vh;
}

/* =============================================
   2. HEADER — PREMIUM
   ============================================= */
.pro-header {
    position: fixed; top: 0; left: 0; width: 100%;
    z-index: 9999;
    background: rgba(10,10,10,0.95);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s;
    box-shadow: 0 1px 0 rgba(255,255,255,0.04);
}
.pro-header.hide { transform: translateY(-100%); }
.pro-header-inner {
    max-width: 1300px; margin: auto;
    display: flex; align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    gap: 20px;
}

/* Brand — photo + name */
.pro-brand { flex-shrink: 0; }
.pro-brand-link {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none;
}
.pro-brand-photo {
    width: 46px; height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.15);
    transition: all 0.3s;
    flex-shrink: 0;
}
.pro-header.hide .pro-brand-photo { width: 40px; height: 40px; }
.pro-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.pro-brand-name {
    color: #fff; font-size: 1rem; font-weight: 700;
    letter-spacing: -0.01em;
}
.pro-brand-title {
    color: rgba(255,255,255,0.5); font-size: 0.7rem;
    font-weight: 500; letter-spacing: 0.3px;
    white-space: nowrap;
}

/* Desktop Nav */
.pro-nav { display: flex; gap: 28px; align-items: center; }
.pro-nav a, .pro-nav-link {
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem; font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    padding: 6px 0;
    position: relative;
    cursor: pointer;
    transition: color 0.2s;
    white-space: nowrap;
}
.pro-nav a::after, .pro-nav-link::after {
    content: ''; position: absolute; left: 0; bottom: -2px;
    width: 0; height: 2px;
    background: #156E0F;
    transition: width 0.3s ease;
}
.pro-nav a:hover, .pro-nav-link:hover { color: #fff; }
.pro-nav a:hover::after, .pro-nav-link:hover::after { width: 100%; }

/* Dropdown */
.pro-nav-item { position: relative; }
.pro-dropdown {
    display: none; position: absolute;
    top: 100%; left: 50%; transform: translateX(-50%);
    background: #111; min-width: 240px;
    border-radius: 10px; padding: 8px 0;
    box-shadow: 0 16px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.06);
    z-index: 10000;
}
.pro-dropdown a {
    display: block; padding: 10px 22px;
    color: #ccc !important;
    font-size: 0.8rem !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    white-space: nowrap;
    transition: all 0.2s;
}
.pro-dropdown a:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.04);
    padding-left: 26px;
}
.pro-nav-item:hover .pro-dropdown { display: block; }

/* Header Right */
.pro-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.pro-lang {
    display: flex; align-items: center; gap: 5px;
    color: rgba(255,255,255,0.5);
    font-size: 0.72rem; font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    padding: 5px 8px; border-radius: 6px;
    border: 1px solid transparent;
}
.pro-lang:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.1);
}
.pro-lang svg { width: 14px; height: 14px; }
.pro-cta {
    background: #156E0F; color: #fff;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s;
    white-space: nowrap;
}
.pro-cta:hover { background: #1b8f14; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(21,110,15,0.3); }

/* Burger */
.pro-burger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer;
    padding: 6px; z-index: 10001;
}
.pro-burger span {
    display: block; width: 26px; height: 2px;
    background: #fff; border-radius: 2px;
    transition: all 0.3s;
}
.pro-burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.pro-burger.active span:nth-child(2) { opacity: 0; }
.pro-burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile Overlay */
.mobile-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    opacity: 0; pointer-events: none;
    transition: opacity 0.4s; z-index: 9997;
}
.mobile-overlay.active { opacity: 1; pointer-events: auto; }

/* Mobile Menu — Premium */
.mobile-menu {
    position: fixed; top: 0; right: -320px;
    width: 300px; height: 100vh;
    background: #0a0a0a;
    padding: 30px 24px 40px;
    display: flex; flex-direction: column; gap: 4px;
    transition: right 0.4s cubic-bezier(0.22,1,0.36,1);
    z-index: 9998;
    overflow-y: auto;
}
.mobile-menu.active { right: 0; }
.mobile-brand {
    display: flex; align-items: center; gap: 12px;
    padding-bottom: 20px; margin-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-brand-photo {
    width: 44px; height: 44px; border-radius: 50%;
    object-fit: cover; border: 2px solid rgba(255,255,255,0.1);
}
.mobile-brand div { display: flex; flex-direction: column; }
.mobile-brand strong { color: #fff; font-size: 0.95rem; }
.mobile-brand span { color: rgba(255,255,255,0.4); font-size: 0.75rem; }
.mobile-menu > a, .mobile-submenu-toggle {
    color: #ddd; font-size: 0.95rem; font-weight: 500;
    padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
    display: block;
}
.mobile-menu > a:hover { color: #fff; }
.mobile-submenu {
    display: none; flex-direction: column;
    padding-left: 18px; gap: 2px;
    margin-bottom: 4px;
}
.mobile-submenu.open { display: flex; }
.mobile-submenu a {
    font-size: 0.85rem !important; color: #999 !important;
    border-bottom: none !important; padding: 8px 0 !important;
}
.mobile-submenu a:hover { color: #fff !important; }
.mobile-langs { margin-top: 8px; }
.mobile-lang {
    display: flex !important; align-items: center; gap: 8px;
    font-size: 0.85rem !important;
    color: #888 !important;
    border-bottom: 1px solid rgba(255,255,255,0.04) !important;
}
.mobile-lang svg { width: 14px; height: 14px; opacity: 0.5; }
.mobile-menu .mobile-cta-btn {
    background: #156E0F; color: #fff !important;
    text-align: center; padding: 14px !important;
    border-radius: 8px; font-weight: 700;
    border: none !important; margin-top: 16px;
    font-size: 0.9rem !important;
}

/* =============================================
   3. HERO SECTION
   ============================================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0,0,0,0.75), rgba(0,0,0,0.65));
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://elenamochales.es/en/wp-content/uploads/2023/07/immigration-hero.jpg') center/cover no-repeat;
    z-index: -1;
}

.light-grid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    pointer-events: none;
    z-index: 0;
}
.light {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.8rem, 1.5vw, 1.2rem);
    font-weight: 700;
    color: rgba(255,255,255,0.07);
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: floatLight 20s infinite alternate ease-in-out;
}
.light:nth-child(odd) { animation-delay: -5s; }
.light:nth-child(3n) { animation-delay: -10s; }
@keyframes floatLight {
    0% { transform: translateY(0) rotate(0deg); opacity: 0.5; }
    100% { transform: translateY(-20px) rotate(3deg); opacity: 0.8; }
}

.hero-core {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 20px;
}
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 20px;
}
.hero-title .brand-green-text { color: #156E0F; }
.hero-badge {
    display: inline-block;
    background: rgba(21,110,15,0.2);
    border: 1px solid rgba(21,110,15,0.4);
    color: #156E0F;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}
.hero-desc {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 35px;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-main {
    background: #156E0F;
    color: #fff;
    padding: 14px 32px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.3s, transform 0.2s;
}
.btn-main:hover { background: #1b8f14; transform: translateY(-2px); }
.btn-sec {
    background: transparent;
    color: #fff;
    padding: 14px 32px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid rgba(255,255,255,0.3);
    transition: border-color 0.3s, transform 0.2s;
}
.btn-sec:hover { border-color: #156E0F; transform: translateY(-2px); }

/* =============================================
   4. SERVICES SECTION
   ============================================= */
.services-section {
    padding: 100px 20px;
    background: #fff;
}
.services-container { max-width: 1300px; margin: 0 auto; }
.services-main-title {
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: #0a111a;
    margin-bottom: 60px;
}
.green-highlight { color: #156E0F; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.service-card {
    background: #f9f9f9;
    border-radius: 15px;
    padding: 35px 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.service-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.service-card h3 {
    color: #156E0F;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 12px;
}
.service-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 18px;
}
.service-link {
    display: inline-block;
    color: #156E0F;
    font-weight: 600;
    font-size: 0.85rem;
    transition: gap 0.3s;
}
.service-link:hover { text-decoration: underline; }

/* =============================================
   5. ABOUT / AUTHORITY SECTION
   ============================================= */
.about-authority {
    background: #f4f7f4;
    padding: 100px 20px;
}
.authority-container { max-width: 1300px; margin: 0 auto; }
.authority-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.authority-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #0a111a;
    margin: 0 0 25px;
}
.green-text { color: #156E0F; }
.auth-description {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
}
.auth-list { display: flex; flex-direction: column; gap: 18px; }
.auth-list li { border-bottom: 1px solid #e0e5e0; padding-bottom: 15px; }
.auth-list li strong { display: block; font-size: 1rem; color: #111; margin-bottom: 4px; }
.auth-list li span { font-size: 0.9rem; color: #666; line-height: 1.5; display: block; }
.authority-image { text-align: center; }
.authority-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.auth-trust-badge {
    display: inline-block;
    background: #156E0F;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 4px;
    margin-top: 15px;
    letter-spacing: 0.5px;
}

/* =============================================
   6. STATS SECTION
   ============================================= */
.stats-section {
    background: #156E0F;
    padding: 80px 20px;
}
.stats-container { max-width: 1300px; margin: 0 auto; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.stat-item { padding: 20px; }
.number-wrapper { margin-bottom: 8px; }
.stat-number {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.stat-suffix {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 800;
    color: rgba(255,255,255,0.7);
}
.stat-label {
    display: block;
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* =============================================
   7. REVIEWS SECTION
   ============================================= */
.reviews-section {
    padding: 100px 20px;
    background: #fff;
    text-align: center;
}
.reviews-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: #0a111a;
    margin-bottom: 50px;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 40px;
}
.review-card {
    background: #f9f9f9;
    border-radius: 15px;
    padding: 30px;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}
.review-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.06); }
.stars { color: #f1c40f; font-size: 1.2rem; margin-bottom: 12px; letter-spacing: 2px; }
.review-text {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 15px;
    font-style: italic;
}
.review-author strong { display: block; font-size: 0.9rem; color: #111; }
.review-author span { font-size: 0.8rem; color: #888; }
.google-cta { margin-top: 10px; }
.google-link {
    color: #156E0F;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 2px solid #156E0F;
    padding-bottom: 3px;
    transition: opacity 0.3s;
}
.google-link:hover { opacity: 0.8; }

/* =============================================
   8. BLOG INTRO + GRID
   ============================================= */
.blog-intro-section {
    text-align: center;
    padding: 80px 20px 20px;
    max-width: 800px;
    margin: 0 auto;
}
.eyebrow-text {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #156E0F;
    margin-bottom: 12px;
    display: block;
}
.blog-main-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #0a111a;
    margin: 0 0 15px;
}
.blog-subtitle {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.blog-grid-section {
    padding: 40px 20px 80px;
    max-width: 1300px;
    margin: 0 auto;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.blog-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.06); }
.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.blog-card-body { padding: 20px; }
.blog-card-date {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}
.blog-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 10px;
    line-height: 1.4;
}
.blog-card-title a { color: inherit; }
.blog-card-title a:hover { color: #156E0F; }
.blog-card-excerpt {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    margin: 0 0 15px;
}
.blog-card-more {
    color: #156E0F;
    font-weight: 600;
    font-size: 0.85rem;
}

/* =============================================
   9. SOCIAL CONNECT SECTION
   ============================================= */
.social-connect {
    background: #f4f7f4;
    padding: 100px 20px;
    text-align: center;
}
.social-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #0a111a;
    margin-bottom: 12px;
}
.social-subtitle {
    color: #666;
    font-size: 1rem;
    margin-bottom: 50px;
}
.social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}
.social-card {
    background: #fff;
    border-radius: 15px;
    padding: 35px 20px;
    text-decoration: none;
    color: #111;
    border: 1px solid #e0e5e0;
    transition: transform 0.3s, border-color 0.3s;
}
.social-card:hover { transform: translateY(-10px); }
.social-card.instagram:hover { border-color: #E1306C; }
.social-card.youtube:hover { border-color: #FF0000; }
.social-card.telegram:hover { border-color: #0088cc; }
.social-card.whatsapp:hover { border-color: #25D366; }
.social-icon { font-size: 2.5rem; margin-bottom: 12px; }
.social-card h3 { font-size: 1rem; font-weight: 700; margin: 0 0 5px; }
.social-handle { font-size: 0.8rem; color: #888; }

/* =============================================
   10. CONTACT / WPForms SECTION
   ============================================= */
.contact-section {
    background: #fff;
    padding: 100px 20px;
}
.contact-container { max-width: 800px; margin: 0 auto; }
.contact-title {
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #0a111a;
    margin-bottom: 12px;
}
.contact-subtitle {
    text-align: center;
    color: #666;
    font-size: 1rem;
    margin-bottom: 40px;
}

/* WPForms Styling */
.wpforms-container {
    max-width: 600px;
    margin: 0 auto;
}
.wpforms-field {
    margin-bottom: 18px;
}
.wpforms-field-label {
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    color: #111 !important;
    margin-bottom: 6px !important;
}
.wpforms-field input,
.wpforms-field textarea,
.wpforms-field select {
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    padding: 14px 16px !important;
    font-size: 1rem !important;
    font-family: Inter, sans-serif !important;
    background: #fff !important;
    transition: border-color 0.3s, box-shadow 0.3s !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.wpforms-field input:focus,
.wpforms-field textarea:focus {
    border-color: #156E0F !important;
    box-shadow: 0 0 0 3px rgba(21,110,15,0.1) !important;
    outline: none !important;
}
.wpforms-submit {
    background: #156E0F !important;
    color: #fff !important;
    padding: 14px 32px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-size: 0.85rem !important;
    border: none !important;
    cursor: pointer !important;
    transition: background 0.3s !important;
    width: 100% !important;
}
.wpforms-submit:hover { background: #1b8f14 !important; }
.wpforms-error { color: #dc3545 !important; font-size: 0.8rem !important; }
.wpforms-field-gdpr-checkbox label { font-size: 0.8rem !important; color: #666 !important; }
div.wpforms-container-full .wpforms-form .wpforms-field-row { margin-bottom: 0 !important; }

/* =============================================
   11. FOOTER — PREMIUM
   ============================================= */
.pro-footer {
    background: #080808; padding: 60px 20px 0;
    border-top: 3px solid #156E0F;
}
.pro-footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1.2fr 1fr;
    gap: 50px; max-width: 1300px; margin: 0 auto 40px;
}

/* Brand Column */
.pro-footer-brand-link {
    display: flex; align-items: center; gap: 14px;
    text-decoration: none; margin-bottom: 16px;
}
.pro-footer-photo {
    width: 50px; height: 50px; border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}
.pro-footer-name { color: #fff; font-size: 1rem; font-weight: 700; display: block; }
.pro-footer-role { color: rgba(255,255,255,0.4); font-size: 0.72rem; display: block; margin-top: 2px; }
.pro-footer-desc {
    color: #999; font-size: 0.88rem; line-height: 1.7;
    margin: 0 0 20px; max-width: 380px;
}
.pro-footer-social { display: flex; gap: 10px; }
.pro-footer-social a {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid #222; border-radius: 10px;
    color: #777;
    transition: all 0.3s;
}
.pro-footer-social a:hover { border-color: #156E0F; background: rgba(21,110,15,0.1); color: #156E0F; }

/* Services Column */
.pro-footer-services h4,
.pro-footer-contact h4 {
    color: #fff; font-size: 0.85rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px;
    margin: 0 0 16px;
}
.pro-footer-services ul,
.pro-footer-contact ul {
    display: flex; flex-direction: column; gap: 8px;
}
.pro-footer-services li,
.pro-footer-contact li {
    font-size: 0.85rem; color: #aaa;
    display: flex; align-items: center;
}
.pro-footer-services li::before { content: '\203A'; color: #156E0F; font-weight: 700; margin-right: 8px; }
.pro-footer-services a { color: #ccc; transition: color 0.2s; }
.pro-footer-services a:hover { color: #156E0F; }
.pro-footer-contact a { color: #156E0F; font-weight: 600; }

.pro-footer-icam {
    margin-top: 20px;
}
.pro-footer-icam span {
    display: inline-block;
    background: rgba(21,110,15,0.15);
    border: 1px solid rgba(21,110,15,0.25);
    color: #156E0F; font-size: 0.65rem; font-weight: 700;
    letter-spacing: 0.5px; padding: 5px 12px;
    border-radius: 6px;
}

/* Legal Bar */
.pro-footer-bar {
    background: #050505; border-top: 1px solid #151515;
    padding: 20px; display: flex;
    justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 15px;
    max-width: 1300px; margin: 0 auto;
}
.pro-footer-bar p { color: #666; font-size: 0.78rem; margin: 0; }
.pro-footer-bar nav { display: flex; gap: 24px; }
.pro-footer-bar nav a { color: #666; font-size: 0.78rem; transition: color 0.3s; }
.pro-footer-bar nav a:hover { color: #156E0F; }

/* =============================================
   12. SERVICE PAGE TEMPLATE
   ============================================= */
.service-template-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
    font-family: Inter, sans-serif;
}
.service-template-container article { color: #111; line-height: 1.8; }
.service-template-container .entry-content { font-size: 1rem; }
.service-template-container .entry-content h1 { font-size: 2rem; margin-top: 0; }
.service-template-container .entry-content h2 { color: #156E0F; font-size: 1.4rem; margin-top: 30px; }
.service-template-container .entry-content h3 { font-size: 1.15rem; margin-top: 25px; }
.service-template-container .entry-content p { margin-bottom: 15px; }
.service-template-container .entry-content ul,
.service-template-container .entry-content ol { padding-left: 20px; margin-bottom: 15px; }
.service-template-container .entry-content li { margin-bottom: 8px; }
.service-template-container .entry-content img { border-radius: 8px; margin: 20px 0; }

/* =============================================
   13. PAGE TEMPLATES
   ============================================= */
.page-container,
.single-container,
.archive-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}
.page-container .entry-title,
.single-container .entry-title,
.archive-container .archive-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 30px;
}

/* Blog archive */
.archive-container .archive-posts { display: flex; flex-direction: column; gap: 30px; }
.archive-container .archive-post {
    border-bottom: 1px solid #eee;
    padding-bottom: 25px;
}
.archive-container .archive-post h2 { margin: 0 0 10px; }
.archive-container .archive-post h2 a { color: #111; }
.archive-container .archive-post h2 a:hover { color: #156E0F; }
.archive-container .archive-post .post-meta { font-size: 0.8rem; color: #888; margin-bottom: 10px; }

/* Single post */
.single-container .post-meta { font-size: 0.85rem; color: #888; margin-bottom: 30px; }
.single-container .post-content { line-height: 1.8; }
.single-container .post-content h2 { color: #156E0F; font-size: 1.4rem; margin-top: 30px; }
.single-container .post-content p { margin-bottom: 15px; }

/* Author bio at end of posts */
.author-bio {
    background: #f4f7f4;
    border-radius: 12px;
    padding: 25px;
    margin-top: 40px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.author-bio-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-bio-text { flex: 1; }
.author-bio-text h4 { margin: 0 0 8px; font-size: 1rem; color: #111; }
.author-bio-text p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
}
.author-bio-text .icam-badge {
    display: inline-block;
    background: #156E0F;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    margin-top: 8px;
    letter-spacing: 0.5px;
}

/* Legal disclaimer */
.legal-disclaimer {
    font-size: 0.8rem;
    color: #888;
    font-style: italic;
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: 30px;
}

/* 404 page */
.error-404 {
    text-align: center;
    padding: 120px 20px;
}
.error-404 h1 { font-size: 4rem; color: #156E0F; margin-bottom: 10px; }
.error-404 p { font-size: 1.1rem; color: #666; margin-bottom: 30px; }

/* =============================================
   14. SINGLE POST — PREMIUM
   ============================================= */

/* Reading progress bar */
.single-progress {
    position: fixed; top: 0; left: 0; width: 0%; height: 3px;
    background: linear-gradient(90deg, #156E0F, #1b8f14);
    z-index: 99999;
    transition: width 0.1s linear;
}

/* Layout */
.sp-wrapper {
    max-width: 1200px; margin: 0 auto; padding: 120px 20px 60px;
    display: grid; grid-template-columns: 1fr 320px; gap: 50px;
    align-items: start;
}
.sp-main { min-width: 0; }

/* Article header */
.sp-header { margin-bottom: 32px; }
.sp-cats { margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.sp-cats a {
    background: rgba(21,110,15,0.1);
    color: #156E0F; font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.8px;
    padding: 4px 12px; border-radius: 20px;
    transition: all 0.2s;
}
.sp-cats a:hover { background: #156E0F; color: #fff; }

.sp-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800; line-height: 1.2;
    color: #0a111a; margin: 0 0 16px;
}
.sp-meta {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    color: #888; font-size: 0.85rem;
}
.sp-meta-author strong { color: #0a111a; font-weight: 600; }
.sp-meta-sep { color: #ddd; }

/* Featured image */
.sp-featured { margin-bottom: 36px; border-radius: 14px; overflow: hidden; }
.sp-featured-img { width: 100%; height: auto; display: block; border-radius: 14px; }

/* Table of contents */
.sp-toc {
    background: #f4f7f4; border-radius: 12px;
    padding: 22px 26px; margin-bottom: 32px;
    border-left: 4px solid #156E0F;
}
.sp-toc-title { display: block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #156E0F; margin-bottom: 10px; }
.sp-toc nav { display: flex; flex-direction: column; gap: 4px; }
.sp-toc nav a {
    color: #444; font-size: 0.88rem; font-weight: 500;
    padding: 3px 0; border-bottom: 1px solid #e0e5e0;
    transition: color 0.2s;
}
.sp-toc nav a:hover { color: #156E0F; }

/* Body content */
.sp-body { font-size: 1.05rem; line-height: 1.8; color: #222; }
.sp-body h2 { font-size: 1.6rem; font-weight: 700; color: #0a111a; margin: 40px 0 16px; padding-bottom: 8px; border-bottom: 2px solid #f0f0f0; scroll-margin-top: 100px; }
.sp-body h3 { font-size: 1.25rem; font-weight: 700; color: #0a111a; margin: 32px 0 12px; scroll-margin-top: 100px; }
.sp-body p { margin-bottom: 18px; }
.sp-body ul, .sp-body ol { padding-left: 24px; margin-bottom: 18px; }
.sp-body li { margin-bottom: 8px; }
.sp-body img { border-radius: 10px; margin: 24px 0; max-width: 100%; height: auto; }
.sp-body a { color: #156E0F; text-decoration: underline; text-underline-offset: 3px; }
.sp-body a:hover { color: #1b8f14; }
.sp-body blockquote {
    border-left: 4px solid #156E0F; padding: 16px 22px;
    margin: 24px 0; background: #f4f7f4; border-radius: 0 10px 10px 0;
    font-style: italic; color: #444;
}
.sp-body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.9rem; }
.sp-body th, .sp-body td { border: 1px solid #e0e0e0; padding: 10px 14px; text-align: left; }
.sp-body th { background: #f4f7f4; font-weight: 700; color: #0a111a; }

/* Author box */
.sp-author {
    display: flex; gap: 20px; align-items: flex-start;
    background: #f4f7f4; border-radius: 14px;
    padding: 26px; margin-top: 48px; border: 1px solid #e0e5e0;
}
.sp-author-img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.sp-author-text { flex: 1; }
.sp-author-text strong { display: block; font-size: 1rem; color: #0a111a; margin-bottom: 2px; }
.sp-author-text span { display: block; font-size: 0.78rem; color: #156E0F; font-weight: 600; margin-bottom: 8px; }
.sp-author-text p { font-size: 0.88rem; color: #555; line-height: 1.6; margin: 0; }

/* Disclaimer */
.sp-disclaimer {
    font-size: 0.78rem; color: #999; font-style: italic;
    border-top: 1px solid #eee; padding-top: 20px; margin-top: 30px;
}

/* Related posts */
.sp-related { margin-top: 50px; padding-top: 30px; border-top: 2px solid #f0f0f0; }
.sp-related-title { font-size: 1.2rem; font-weight: 700; color: #0a111a; margin: 0 0 20px; }
.sp-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sp-related-card {
    display: block; background: #f9f9f9; border-radius: 12px;
    overflow: hidden; border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
}
.sp-related-card:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(0,0,0,0.06); }
.sp-related-card img { width: 100%; height: 140px; object-fit: cover; display: block; }
.sp-related-card h4 { font-size: 0.88rem; font-weight: 700; color: #0a111a; margin: 12px 14px 4px; }
.sp-related-date { display: block; font-size: 0.72rem; color: #888; margin: 0 14px 14px; }

/* SIDEBAR */
.sp-sidebar { position: sticky; top: 100px; }
.sp-widget {
    background: #fff; border-radius: 12px;
    border: 1px solid #e8e8e8; padding: 24px;
    margin-bottom: 20px;
}
.sp-widget h4 {
    font-size: 0.85rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; color: #0a111a; margin: 0 0 14px;
}

/* CTA Widget */
.sp-cta-card { background: #0a111a; border-color: #0a111a; text-align: center; }
.sp-cta-card h4 { color: #fff; }
.sp-cta-card p { color: rgba(255,255,255,0.7); font-size: 0.85rem; line-height: 1.6; margin: 0 0 18px; }
.sp-cta-btn {
    display: inline-block; background: #156E0F; color: #fff;
    padding: 10px 24px; border-radius: 6px;
    font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.5px; transition: all 0.3s;
}
.sp-cta-btn:hover { background: #1b8f14; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(21,110,15,0.3); }

/* Recent Widget */
.sp-recent-card ul { display: flex; flex-direction: column; gap: 12px; }
.sp-recent-card li { margin: 0; }
.sp-recent-card a {
    display: flex; gap: 12px; align-items: center;
    color: #333; transition: color 0.2s;
}
.sp-recent-card a:hover { color: #156E0F; }
.sp-recent-card a img {
    width: 48px; height: 48px; border-radius: 8px;
    object-fit: cover; flex-shrink: 0;
}
.sp-recent-card a span { display: flex; flex-direction: column; }
.sp-recent-card a strong { font-size: 0.82rem; font-weight: 600; line-height: 1.3; }
.sp-recent-card a small { font-size: 0.7rem; color: #999; margin-top: 2px; }

/* Categories Widget */
.sp-cats-card ul { display: flex; flex-direction: column; gap: 6px; }
.sp-cats-card li a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 12px; border-radius: 8px;
    color: #444; font-size: 0.85rem; font-weight: 500;
    transition: all 0.2s;
}
.sp-cats-card li a:hover { background: #f4f7f4; color: #156E0F; }
.sp-cats-card li a span { color: #999; font-size: 0.75rem; }

/* =============================================
   15. BLOG ARCHIVE — PREMIUM
   ============================================= */

.arc-hero {
    background: #0a111a; padding: 120px 20px 60px;
    text-align: center;
}
.arc-hero-inner { max-width: 700px; margin: 0 auto; }
.arc-eyebrow {
    display: inline-block;
    color: #156E0F; font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px;
    margin-bottom: 12px;
}
.arc-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800; color: #fff; margin: 0 0 14px;
}
.arc-hero p {
    color: rgba(255,255,255,0.6); font-size: 1rem;
    line-height: 1.6; margin: 0;
}

.arc-wrapper {
    max-width: 1200px; margin: 0 auto; padding: 50px 20px 80px;
}

.arc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.arc-card {
    background: #fff; border-radius: 14px;
    border: 1px solid #eee;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.arc-card:hover { transform: translateY(-6px); box-shadow: 0 14px 35px rgba(0,0,0,0.06); }
.arc-card-link { display: block; color: inherit; text-decoration: none; }

.arc-card-img-wrap { overflow: hidden; }
.arc-card-img-wrap img {
    width: 100%; height: 200px; object-fit: cover;
    display: block; transition: transform 0.5s;
}
.arc-card:hover .arc-card-img-wrap img { transform: scale(1.04); }

.arc-card-body { padding: 22px 24px 24px; }
.arc-card-cat {
    display: inline-block;
    background: rgba(21,110,15,0.1); color: #156E0F;
    font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.8px; padding: 4px 10px; border-radius: 4px;
    margin-bottom: 10px;
}
.arc-card-title {
    font-size: 1.1rem; font-weight: 700; color: #0a111a;
    margin: 0 0 10px; line-height: 1.35;
}
.arc-card-title:hover { color: #156E0F; }
.arc-card-excerpt {
    font-size: 0.88rem; color: #555; line-height: 1.6;
    margin: 0 0 14px;
}
.arc-card-footer {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.75rem; color: #999;
    padding-top: 12px; border-top: 1px solid #f0f0f0;
}

/* Pagination */
.arc-pagi { margin-top: 50px; }
.arc-pagi ul {
    display: flex; justify-content: center; gap: 6px;
    list-style: none; padding: 0;
}
.arc-pagi li a, .arc-pagi li span {
    display: flex; align-items: center; justify-content: center;
    min-width: 38px; height: 38px;
    padding: 0 12px; border-radius: 8px;
    font-size: 0.85rem; font-weight: 600;
    color: #444; background: #f4f4f4;
    transition: all 0.2s;
}
.arc-pagi li a:hover { background: #156E0F; color: #fff; }
.arc-pagi li span.current { background: #156E0F; color: #fff; }
.arc-pagi li span.dots { background: none; color: #999; }

.arc-empty { text-align: center; padding: 60px 0; }
.arc-empty p { color: #888; font-size: 1rem; margin-bottom: 20px; }

/* =============================================
   16. FALLBACK THUMBNAIL
   ============================================= */
.em-thumb-fallback {
    display: block; width: 100%; height: 100%;
    background: linear-gradient(135deg, #0a111a 0%, #1a2a3a 100%);
    position: relative; overflow: hidden;
}
.em-thumb-fallback::before {
    content: '\2696'; font-size: 2.8rem;
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255,255,255,0.08);
}
.em-thumb-fallback::after {
    content: ''; position: absolute; inset: 0;
    background: repeating-linear-gradient(
        45deg, transparent, transparent 20px,
        rgba(255,255,255,0.015) 20px, rgba(255,255,255,0.015) 21px
    );
}
/* Blog card fallback */
.blog-card-img-link { display: block; overflow: hidden; }
.blog-card-img-link .em-thumb-fallback { height: 200px; }
.blog-card-img-link .em-thumb-fallback::before { font-size: 3rem; }

/* Archive card fallback */
.arc-card-img-wrap { overflow: hidden; }
.arc-card-img-wrap .em-thumb-fallback { height: 200px; }

/* Related posts fallback */
.sp-related-thumb { display: block; overflow: hidden; }
.sp-related-thumb .em-thumb-fallback { height: 140px; }
.sp-related-thumb .em-thumb-fallback::before { font-size: 2rem; }

/* Sidebar fallback */
.sp-sidebar-thumb { width: 48px; height: 48px; border-radius: 8px; flex-shrink: 0; object-fit: cover; }
.sp-sidebar-thumb.em-thumb-fallback { border-radius: 8px; }
.sp-sidebar-thumb.em-thumb-fallback::before { font-size: 1.2rem; }

/* =============================================
   17. RESPONSIVE
   ============================================= */
@media (max-width: 1023px) {
    .desktop { display: none; }
    .pro-nav, .pro-cta { display: none; }
    .pro-burger { display: flex; }
    .sp-wrapper { grid-template-columns: 1fr; padding-top: 100px; }
    .sp-sidebar { position: static; }
    .sp-related-grid { grid-template-columns: 1fr; }
    .pro-brand-title { display: none; }
}

@media (max-width: 991px) {
    .authority-content { grid-template-columns: 1fr; }
    .authority-image { order: -1; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .blog-grid { grid-template-columns: 1fr; }
    .social-grid { grid-template-columns: repeat(2, 1fr); }
    .pro-footer-inner { grid-template-columns: 1fr; text-align: center; }
    .pro-footer-brand-link { justify-content: center; }
    .pro-footer-desc { max-width: 100%; }
    .pro-footer-social { justify-content: center; }
    .pro-footer-bar { flex-direction: column; text-align: center; }
    .pro-footer-bar nav { justify-content: center; flex-wrap: wrap; }
    .services-grid { grid-template-columns: 1fr; }
    .arc-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
}

@media (max-width: 600px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .stat-item { padding: 10px; }
    .reviews-grid { grid-template-columns: 1fr; }
    .social-grid { grid-template-columns: 1fr; max-width: 300px; }
    .hero-btns { flex-direction: column; align-items: center; }
    .hero-btns .btn-main,
    .hero-btns .btn-sec { width: 100%; max-width: 280px; text-align: center; }
    .pro-header-inner { padding: 10px 15px; }
    .author-bio { flex-direction: column; align-items: center; text-align: center; }
    .sp-wrapper { padding: 90px 14px 40px; }
    .sp-meta { font-size: 0.78rem; }
    .sp-author { flex-direction: column; align-items: center; text-align: center; }
    .arc-hero { padding: 100px 14px 40px; }
    .arc-wrapper { padding: 30px 14px 60px; }
}
