/* ============================================================
   Koi Cloud Solutions — Matching koicloudsolutions.com style
   Light theme, Lato + Playfair Display, #227097 steel blue,
   #E8874A orange accents, white/light backgrounds
   ============================================================ */

:root {
    --brand:        #227097;
    --brand-dark:   #1b5a79;
    --brand-light:  #508dac;
    --orange:       #E8874A;
    --orange-dark:  #c96d30;
    --steel-blue:   #4a7d9e;
    --navy:         #1a2744;
    --bg-white:     #ffffff;
    --bg-light:     #f5f5f5;
    --bg-dark:      #212121;
    --text-dark:    #212121;
    --text-mid:     #555555;
    --text-light:   #888888;
    --border:       #e0e0e0;
    --font-sans: 'Lato', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --transition: all 0.22s ease;
    --radius: 3px;
    --shadow: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-hover: 0 6px 22px rgba(0,0,0,0.13);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background: var(--bg-white);
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.667;
    overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.2; }
p { line-height: 1.667; }
a { color: var(--brand); text-decoration: none; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--brand-light); border-radius: 3px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.brand-name {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--navy);
    letter-spacing: 0.3px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    color: var(--text-mid);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    padding: 6px 14px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--navy);
    background: rgba(34,112,151,0.07);
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--text-dark);
    padding: 4px;
}

/* ============================================================
   HERO — White bg with wavy topographic pattern
   ============================================================ */
.hero {
    padding-top: 60px; /* nav offset */
    min-height: 420px;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

/* Wavy topographic SVG background pattern */
.hero-waves {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='420' viewBox='0 0 1440 420'%3E%3Cg fill='none' stroke='%23e8d5c0' stroke-width='1.5' opacity='0.55'%3E%3Cellipse cx='900' cy='210' rx='680' ry='280'/%3E%3Cellipse cx='900' cy='210' rx='620' ry='240'/%3E%3Cellipse cx='900' cy='210' rx='560' ry='200'/%3E%3Cellipse cx='900' cy='210' rx='500' ry='165'/%3E%3Cellipse cx='900' cy='210' rx='440' ry='130'/%3E%3Cellipse cx='900' cy='210' rx='380' ry='100'/%3E%3Cellipse cx='900' cy='210' rx='320' ry='74'/%3E%3Cellipse cx='900' cy='210' rx='260' ry='52'/%3E%3Cellipse cx='920' cy='160' rx='720' ry='320'/%3E%3Cellipse cx='920' cy='160' rx='660' ry='280'/%3E%3Cellipse cx='920' cy='160' rx='600' ry='245'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 48px;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Logo block (left) */
.hero-logo-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.hero-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-brand-lockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 14px;
    line-height: 1.1;
}

.hero-brand-top {
    font-family: var(--font-sans);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 4px;
}

.hero-brand-bottom {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--steel-blue);
    letter-spacing: 5px;
}

.hero-logo-img {
    width: 360px;
    height: auto;
    object-fit: contain;
    display: block;
}

.hero-brand-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}

.hero-brand-top {
    font-family: var(--font-sans);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 3px;
}

.hero-brand-bottom {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--steel-blue);
    letter-spacing: 5px;
}

/* Content block (right) */
.hero-badge {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.hero-content h1 {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 18px;
    line-height: 1.15;
}

.hero-content h1 em {
    font-style: italic;
    color: var(--text-dark);
}

.hero-lead {
    font-size: 0.95rem;
    color: var(--text-mid);
    font-weight: 400;
    margin-bottom: 28px;
    line-height: 1.65;
    max-width: 480px;
}

.btn-outline-hero {
    display: inline-block;
    padding: 11px 28px;
    border: 1px solid var(--brand);
    border-radius: var(--radius);
    color: var(--brand);
    background: transparent;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 400;
    text-decoration: none;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.btn-outline-hero:hover {
    background: rgba(34,112,151,0.07);
    color: var(--brand-dark);
}

/* ============================================================
   CERTIFIED EXPERT BAND — Steel blue bg
   ============================================================ */
.certified-band {
    background: #4a7d9e;
    padding: 48px 24px;
}

.certified-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.certified-title {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.certified-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cert-badge {
    display: inline-block;
    padding: 7px 18px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 20px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 400;
    color: #ffffff;
    white-space: nowrap;
    background: rgba(255,255,255,0.1);
    transition: background 0.2s;
}

.cert-badge:hover {
    background: rgba(255,255,255,0.2);
}

/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--orange);
    margin-bottom: 8px;
}

.section-header h2 {
    font-family: var(--font-sans);
    font-size: 1.9rem;
    font-weight: 300;
    color: var(--brand);
    margin-bottom: 10px;
}

.section-divider {
    width: 48px;
    height: 3px;
    background: var(--orange);
    margin: 12px 0;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-mid);
    font-size: 0.95rem;
    font-weight: 300;
}

/* ============================================================
   CORE SOLUTIONS
   ============================================================ */
.services {
    padding: 72px 0;
    background: var(--bg-white);
}

.core-solutions-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.core-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--border);
}

.core-item {
    padding: 36px 48px 36px 0;
    border-bottom: 1px solid var(--border);
}

.core-item:nth-child(even) {
    padding-left: 48px;
    padding-right: 0;
    border-left: 1px solid var(--border);
}

.core-item h3 {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--steel-blue);
    margin-bottom: 12px;
}

.core-item p {
    color: var(--text-mid);
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   ARCHITECTURE WITH INTENTION
   ============================================================ */
.architecture {
    padding: 72px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
}

.architecture-inner {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.architecture-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    font-style: italic;
    color: var(--brand);
    margin-bottom: 20px;
}

.architecture-body {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-mid);
    line-height: 1.7;
    margin: 0;
}

.architecture-body strong {
    font-weight: 700;
    color: var(--text-dark);
}


/* ============================================================
   CONTACT
   ============================================================ */
.contact {
    padding: 80px 0;
    background: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.contact-text .section-eyebrow { margin-bottom: 10px; }

.contact-text h2 {
    font-family: var(--font-sans);
    font-size: 1.9rem;
    font-weight: 300;
    color: var(--brand);
    margin-bottom: 12px;
}

.contact-text p {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-mid);
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--text-mid);
    margin-bottom: 10px;
}

.features-list li span {
    color: var(--brand);
    font-weight: 700;
    flex-shrink: 0;
}

.contact-form-container {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
}

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

.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 9px 12px;
    background: var(--bg-white);
    border: 1px solid #c8c8c8;
    border-radius: var(--radius);
    color: var(--text-dark);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 300;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 2px rgba(34,112,151,0.12);
}

textarea.form-control { resize: vertical; }

.btn-submit {
    background: var(--brand);
    color: #ffffff;
    border: 1px solid var(--brand-dark);
    width: 100%;
    padding: 11px 24px;
    font-size: 0.875rem;
    font-weight: 400;
    font-family: var(--font-sans);
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.2s;
    letter-spacing: 0.3px;
}

.btn-submit:hover { background: var(--brand-dark); }

.btn-outline-submit {
    background: transparent;
    color: var(--brand);
    border: 1px solid var(--brand);
    padding: 9px 22px;
    font-size: 0.875rem;
    font-family: var(--font-sans);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline-submit:hover { background: rgba(34,112,151,0.07); }

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    margin-bottom: 24px;
}

.checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.85rem !important;
    color: var(--text-mid) !important;
    text-transform: none !important;
    font-weight: 300 !important;
    line-height: 1.4 !important;
    letter-spacing: 0 !important;
    cursor: pointer;
    user-select: none;
}

/* Honeypot */
.honeypot-field {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

/* Success Card */
.success-card { text-align: center; padding: 20px; }
.success-icon { color: var(--brand); margin-bottom: 16px; }
.success-card h3 { font-size: 1.4rem; font-weight: 300; color: var(--brand); margin-bottom: 10px; }
.success-card p { font-weight: 300; color: var(--text-mid); margin-bottom: 20px; }
.hidden { display: none !important; }

/* ============================================================
   CHATBOT WIDGET
   ============================================================ */
.chat-widget {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.chat-toggle {
    display: flex;
    align-items: center;
    gap: 9px;
    background: var(--brand);
    color: white;
    border: none;
    border-radius: 28px;
    padding: 11px 18px;
    font-size: 0.875rem;
    font-weight: 400;
    font-family: var(--font-sans);
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(34,112,151,0.4);
    transition: var(--transition);
}

.chat-toggle:hover {
    background: var(--brand-dark);
    transform: translateY(-2px);
}

.chat-widget.active .chat-toggle { background: var(--bg-dark); box-shadow: none; }

.chat-window {
    width: 350px;
    height: 450px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: absolute;
    bottom: 62px;
    right: 0;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.14);
    transform: translateY(18px) scale(0.96);
    opacity: 0;
    pointer-events: none;
    transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chat-widget.active .chat-window {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.chat-header {
    background: var(--brand);
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.agent-info { display: flex; align-items: center; gap: 10px; }

.agent-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.agent-details h4 { font-size: 0.875rem; font-weight: 400; color: #fff; margin: 0; }
.agent-details span { font-size: 0.68rem; color: rgba(255,255,255,0.72); }

.chat-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.8);
    font-size: 1.3rem;
    cursor: pointer;
    line-height: 1;
}

.chat-close:hover { color: #fff; }

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #fafafa;
}

.message-row { display: flex; }
.ai-message { justify-content: flex-start; }
.user-message { justify-content: flex-end; }

.message-bubble {
    max-width: 80%;
    padding: 9px 13px;
    border-radius: 12px;
    font-size: 0.84rem;
    line-height: 1.45;
    font-weight: 300;
}

.ai-message .message-bubble {
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text-dark);
    border-top-left-radius: 2px;
}

.user-message .message-bubble {
    background: var(--brand);
    color: #fff;
    border-top-right-radius: 2px;
}

.chat-suggestions {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding: 9px 14px;
    border-top: 1px solid var(--border);
    background: #fff;
    scrollbar-width: none;
}

.chat-suggestions::-webkit-scrollbar { display: none; }

.suggest-btn {
    flex-shrink: 0;
    padding: 4px 10px;
    font-size: 0.72rem;
    border-radius: 14px;
    background: transparent;
    border: 1px solid var(--brand);
    color: var(--brand);
    font-family: var(--font-sans);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.suggest-btn:hover { background: rgba(34,112,151,0.07); }

.chat-input-bar {
    padding: 10px 12px;
    background: #fff;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 8px;
    align-items: center;
}

.chat-input-bar input {
    flex: 1;
    background: var(--bg-light);
    border: 1px solid #c8c8c8;
    border-radius: 18px;
    padding: 7px 14px;
    color: var(--text-dark);
    font-size: 0.84rem;
    font-family: var(--font-sans);
}

.chat-input-bar input:focus { outline: none; border-color: var(--brand); }

.chat-send {
    background: var(--brand);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.chat-send:hover { background: var(--brand-dark); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.55);
    text-align: center;
    padding: 32px 20px;
    font-size: 0.8rem;
    font-weight: 300;
}

.footer-location {
    margin-top: 6px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.35);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
    .hero-container {
        grid-template-columns: 1fr;
        padding: 48px 24px;
        text-align: center;
    }
    .hero-logo-block { align-items: center; }
    .hero-lead { max-width: 100%; margin-left: auto; margin-right: auto; }
    .about-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
    .section-divider { margin: 12px auto !important; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-badge-wrap { justify-content: center; }
}

@media (max-width: 640px) {
    .nav-menu { display: none; }
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #ffffff;
        border-bottom: 1px solid var(--border);
        padding: 10px 0;
        box-shadow: var(--shadow);
        gap: 8px;
    }
    .nav-hamburger { display: block; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-logo-img { width: 160px; }
    .hero-brand-top { font-size: 1.3rem; }
    .hero-brand-bottom { font-size: 0.85rem; }
    .certified-grid { flex-direction: column; gap: 12px; }
    .cert-item { border-right: none; padding-right: 0; margin-right: 0; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-container { padding: 22px; }
    .chat-window { width: 300px; right: -8px; }
}

/* ============================================================
   WHAT WE OFFER PAGE STYLES
   ============================================================ */
.wwo-hero {
    padding-top: 60px;
    min-height: 380px;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.wwo-hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wwo-hero h1 {
    font-family: var(--font-serif);
    font-size: 3.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.wwo-hero-sub {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text-mid);
    margin-bottom: 32px;
    max-width: 600px;
}

.wwo-hero-sub strong {
    font-weight: 700;
    color: var(--text-dark);
}

.wwo-banner {
    background: #4a7d9e;
    padding: 22px 0;
    width: 100%;
}

.wwo-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

.wwo-banner h2 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wwo-banner h2 .orange-dash {
    color: var(--orange);
}

.wwo-section {
    background: var(--bg-white);
}

.wwo-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 48px;
}

.wwo-content p {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-mid);
    margin-bottom: 20px;
    max-width: 900px;
    line-height: 1.7;
}

.wwo-list {
    list-style-type: square;
    margin-left: 20px;
    padding-left: 10px;
}

.wwo-list li {
    font-size: 0.92rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.5;
}

.wwo-divider {
    border: none;
    border-top: 1px solid #e8e8e8;
    margin: 0;
    padding: 0;
}

/* ============================================================
   PRICING PAGE STYLES
   ============================================================ */
.pricing-hero {
    padding-top: 60px;
    min-height: 360px;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.pricing-hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px;
    position: relative;
    z-index: 1;
}

.pricing-hero h1 {
    font-family: var(--font-serif);
    font-size: 3.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.pricing-hero-sub {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text-mid);
    margin-bottom: 0;
}

.pricing-section {
    padding: 60px 0 100px 0;
    background: #fafafa;
    border-top: 1px solid var(--border);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
    margin-bottom: 72px;
}

.pricing-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 40px 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

/* Emphasized Middle Card (Growth Partner) */
.pricing-card.featured {
    border: 2px solid var(--brand);
    transform: scale(1.04);
    box-shadow: 0 10px 30px rgba(34,112,151,0.12);
    z-index: 2;
}

.pricing-card.featured:hover {
    transform: scale(1.04) translateY(-4px);
    box-shadow: 0 14px 36px rgba(34,112,151,0.18);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--orange);
    color: #ffffff;
    padding: 5px 18px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(232,135,74,0.3);
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 24px;
}

.pricing-card.featured .pricing-header {
    border-bottom-color: rgba(34,112,151,0.15);
}

.plan-name {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.pricing-card.featured .plan-name {
    color: var(--brand);
}

.plan-hours {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plan-price {
    font-family: var(--font-serif);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--orange);
    margin-top: 12px;
}

.plan-price span {
    font-size: 1rem;
    font-family: var(--font-sans);
    color: var(--text-mid);
    font-weight: 400;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 36px 0;
    flex-grow: 1;
}

.plan-features li {
    font-size: 0.92rem;
    color: var(--text-mid);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li::before {
    content: "✓";
    color: var(--brand);
    font-weight: 700;
    font-size: 1.1rem;
}

.pricing-card.featured .plan-features li::before {
    color: var(--orange);
}

.btn-plan {
    display: block;
    width: 100%;
    padding: 12px 24px;
    text-align: center;
    border: 1px solid var(--brand);
    border-radius: var(--radius);
    color: var(--brand);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    transition: var(--transition);
}

.btn-plan:hover {
    background: rgba(34,112,151,0.06);
}

.pricing-card.featured .btn-plan {
    background: var(--brand);
    border-color: var(--brand);
    color: #ffffff;
}

.pricing-card.featured .btn-plan:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
}

/* Custom & Ad-hoc Support Banner */
.pricing-banner-band {
    background: #4a7d9e;
    color: #ffffff;
    padding: 72px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.pricing-banner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.banner-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 36px;
    text-align: center;
    transition: var(--transition);
}

.banner-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-2px);
}

.banner-card h3 {
    font-family: var(--font-sans);
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.banner-price {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    color: #ffb74d; /* lighter warm orange */
    font-weight: 700;
    margin-bottom: 10px;
}

.banner-price span {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    font-weight: 400;
}

.banner-card p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0;
    font-weight: 300;
}

@media (max-width: 960px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto 48px auto;
        gap: 40px;
    }
    .pricing-card.featured {
        transform: none;
    }
    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }
    .pricing-banner-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ============================================================
   BLOG PAGE STYLES
   ============================================================ */
.blog-hero {
    padding-top: 60px;
    min-height: 300px;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.blog-hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px;
    position: relative;
    z-index: 1;
}

.blog-hero h1 {
    font-family: var(--font-serif);
    font-size: 3.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.blog-hero-sub {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text-mid);
    margin-bottom: 0;
}

.blog-section {
    padding: 60px 0 100px 0;
    background: #fafafa;
    border-top: 1px solid var(--border);
}

.blog-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.blog-posts-list {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.blog-post-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.02);
    transition: var(--transition);
    position: relative;
}

.blog-post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.78rem;
    color: var(--text-light);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-post-card h2 {
    font-family: var(--font-serif);
    font-size: 1.85rem;
    color: var(--text-dark);
    margin-bottom: 18px;
    line-height: 1.35;
}

.blog-post-content {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.7;
    font-weight: 400;
    white-space: pre-wrap;
}

/* Admin Toggle Link */
.admin-trigger-container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 32px;
}

.btn-admin-mode {
    font-size: 0.8rem;
    color: var(--text-light);
    background: transparent;
    border: 1px dashed var(--border);
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-sans);
}

.btn-admin-mode:hover {
    color: var(--brand);
    border-color: var(--brand);
}

/* Modal Admin Styles */
.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.admin-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.admin-modal-content {
    background: var(--bg-white);
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 36px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    position: relative;
}

.admin-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 14px;
}

.admin-modal-header h3 {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.admin-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    line-height: 1;
}

.admin-modal-close:hover {
    color: var(--text-dark);
}

.btn-danger-post {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    color: #e55039;
    font-size: 0.78rem;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    opacity: 0.4;
    transition: var(--transition);
}

.blog-post-card:hover .btn-danger-post {
    opacity: 0.85;
}

.btn-danger-post:hover {
    color: #eb2f06 !important;
    opacity: 1 !important;
}

/* Contenteditable Placeholder */
#post-content-editor:empty::before {
    content: attr(placeholder);
    color: #aaaaaa;
    cursor: text;
}

/* ─────────────────────────────────────────────────────────────────────────
   RICH TEXT FORMATTING STYLES (EDITOR & POST OUTPUT)
   ───────────────────────────────────────────────────────────────────────── */
.blog-post-content img,
#post-content-editor img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 24px auto;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.blog-post-content blockquote,
#post-content-editor blockquote {
    border-left: 4px solid var(--brand);
    padding-left: 18px;
    margin: 24px 0;
    color: var(--text-mid);
    font-style: italic;
    font-size: 1.05rem;
}

.blog-post-content h3,
#post-content-editor h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-top: 28px;
    margin-bottom: 12px;
    font-weight: 700;
}

.blog-post-content a,
#post-content-editor a {
    color: var(--brand);
    text-decoration: underline;
    font-weight: 600;
}

.blog-post-content ul,
#post-content-editor ul {
    list-style-type: disc;
    margin: 16px 0;
    padding-left: 28px;
}

.blog-post-content ol,
#post-content-editor ol {
    list-style-type: decimal;
    margin: 16px 0;
    padding-left: 28px;
}

.blog-post-content li,
#post-content-editor li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Small dashed outline in editor for images so they show up clearly as editable block elements */
#post-content-editor img {
    border: 1px dashed #cccccc;
    padding: 2px;
}

/* ─────────────────────────────────────────────────────────────────────────
   COVER IMAGES & PILL TAGS AESTHETICS
   ───────────────────────────────────────────────────────────────────────── */
.blog-post-cover {
    margin: -40px -40px 30px -40px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    overflow: hidden;
    height: 320px;
    position: relative;
}

.blog-post-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-post-card:hover .blog-post-cover img {
    transform: scale(1.03);
}

.blog-post-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.blog-tag {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--brand);
    background: rgba(243, 114, 44, 0.08); /* faint transparent orange */
    padding: 4px 10px;
    border-radius: 99px;
    transition: var(--transition);
}

.blog-post-card:hover .blog-tag {
    background: rgba(243, 114, 44, 0.14);
}

.blog-post-subtitle {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-mid);
    font-style: italic;
    margin-top: -8px;
    margin-bottom: 24px;
    line-height: 1.4;
}

/* Splitscreen Admin Adjustments */
.admin-modal {
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-modal.active {
    overflow: hidden;
}

/* Form controls reset inside splitscreen */
.admin-modal-content label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.admin-modal-content .form-control {
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    #admin-editor-section {
        flex-direction: column !important;
        height: 95vh !important;
        width: 95% !important;
    }
    #admin-editor-section > div {
        width: 100% !important;
        height: 50% !important;
    }
}

/* Video Embed Elements styling */
.blog-post-content iframe,
.blog-post-content video,
#post-content-editor iframe,
#post-content-editor video {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    margin: 24px auto;
    border-radius: 6px;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    background: #000;
}

/* Drag and Drop Cover dropzone hover states */
#cover-dropzone:hover,
#cover-dropzone.dragover {
    border-color: var(--brand) !important;
    background: rgba(243, 114, 44, 0.04) !important;
    color: var(--brand) !important;
}

/* Edit Button next to Delete */
.btn-edit-post {
    position: absolute;
    top: 24px;
    right: 96px; /* placed next to delete */
    background: transparent;
    border: none;
    color: #4a69bd;
    font-size: 0.78rem;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    opacity: 0.4;
    transition: var(--transition);
}

.blog-post-card:hover .btn-edit-post {
    opacity: 0.85;
}

.btn-edit-post:hover {
    color: #1e3799 !important;
    opacity: 1 !important;
}







