/* ========================================
   INSIGHTHARBOUR - BRAND STYLESHEET
   Extracted from mockup color palette
   ======================================== */

:root {
    /* Primary Brand Colors */
    --dark-green: #2c3f33;
    --dark-green-light: #3a5242;
    --dark-green-dark: #1e2e24;
    --dark-green-transparent: rgba(44, 63, 51, 0.92);

    /* Accent Colors */
    --gold: #c4a882;
    --gold-hover: #b8986e;
    --gold-light: #d9c7b5;
    --gold-muted: #b5a090;

    /* Background Colors */
    --cream: #f8f2ed;
    --cream-dark: #f4ece6;
    --cream-light: #fdfbf9;
    --card-bg: #f9f3ee;

    /* Text Colors */
    --text-dark: #2d3f2f;
    --text-muted: #5c6b5f;
    --text-light: #f5efeb;
    --text-light-muted: rgba(245, 239, 235, 0.7);

    /* Utility */
    --border: #e8e0d8;
    --white: #ffffff;
    --shadow: rgba(44, 63, 51, 0.08);
    --shadow-hover: rgba(44, 63, 51, 0.15);

    /* Typography */
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --section-padding: 100px;
    --container-max: 1200px;
    --container-padding: 24px;
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.5rem); }
h4 { font-size: 1.2rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.text-serif { font-family: var(--font-serif); }
.text-sans { font-family: var(--font-sans); }
.text-gold { color: var(--gold); }
.text-dark { color: var(--text-dark); }
.text-muted { color: var(--text-muted); }
.text-light { color: var(--text-light); }

/* ========================================
   LAYOUT
   ======================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--section-padding) 0;
}

.section-sm { padding: 60px 0; }
.section-lg { padding: 140px 0; }

.bg-cream { background-color: var(--cream); }
.bg-cream-dark { background-color: var(--cream-dark); }
.bg-cream-light { background-color: var(--cream-light); }
.bg-dark-green { background-color: var(--dark-green); }
.bg-card { background-color: var(--card-bg); }

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196, 168, 130, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid rgba(245, 239, 235, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(245, 239, 235, 0.1);
    border-color: rgba(245, 239, 235, 0.5);
}

.btn-outline {
    background-color: transparent;
    color: var(--dark-green);
    border: 1px solid var(--dark-green);
}

.btn-outline:hover {
    background-color: var(--dark-green);
    color: var(--text-light);
}

.btn-light {
    background-color: var(--gold-light);
    color: var(--text-dark);
}

.btn-light:hover {
    background-color: var(--gold);
    color: var(--white);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.8rem;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--dark-green-transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(245, 239, 235, 0.05);
}

.navbar.scrolled {
    background-color: var(--dark-green);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-light);
}

.logo-icon {
    width: 28px;
    height: 28px;
    position: relative;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

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

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 24px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-light-muted);
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 18px;
    left: 20px;
    right: 20px;
    height: 2px;
    background-color: var(--gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-toggle svg {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background-color: var(--dark-green);
    border: 1px solid rgba(245, 239, 235, 0.1);
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    font-size: 0.85rem;
    color: var(--text-light-muted);
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    color: var(--text-light);
    background-color: rgba(245, 239, 235, 0.05);
    border-left-color: var(--gold);
    padding-left: 24px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-light);
    transition: all 0.3s ease;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        var(--dark-green) 0%,
        var(--dark-green) 45%,
        rgba(44, 63, 51, 0.7) 65%,
        rgba(44, 63, 51, 0.2) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding-top: 100px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.hero-title em {
    font-style: italic;
    color: var(--gold-light);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light-muted);
    margin-bottom: 2rem;
    max-width: 450px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-divider {
    position: relative;
    z-index: 2;
    background-color: var(--cream);
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.hero-divider-inner {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-divider-item {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero-divider-sep {
    color: var(--gold);
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-title {
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-image-frame {
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid var(--gold);
    border-radius: 8px;
    z-index: -1;
    opacity: 0.5;
}

.about-content h2 {
    margin-bottom: 8px;
}

.about-content .section-label {
    margin-bottom: 20px;
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
}

.about-cta:hover {
    color: var(--gold-hover);
    gap: 12px;
}

.about-cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px 28px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--gold);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px var(--shadow-hover);
    border-color: var(--gold-light);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--cream);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--gold);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--dark-green);
    transition: color 0.3s ease;
}

.service-card:hover .service-icon svg {
    color: var(--white);
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-family: var(--font-sans);
    font-weight: 600;
}

.service-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ========================================
   PROCESS SECTION
   ======================================== */
.process-section {
    position: relative;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 400;
    font-style: italic;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 16px;
    display: block;
}

.process-title {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.process-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 280px;
    margin: 0 auto;
}

.process-connector {
    position: absolute;
    top: 30px;
    right: -20px;
    width: 40px;
    height: 2px;
    background-color: var(--gold-light);
}

.process-connector::after {
    content: '';
    position: absolute;
    right: 0;
    top: -4px;
    width: 0;
    height: 0;
    border-left: 8px solid var(--gold-light);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

/* ========================================
   TESTIMONIAL SECTION
   ======================================== */
.testimonial-section {
    position: relative;
    overflow: hidden;
}

.testimonial-section::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-serif);
    font-size: 8rem;
    color: var(--gold-light);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-card {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-style: italic;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.testimonial-author {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background-color: var(--dark-green);
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(196, 168, 130, 0.05) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--text-light);
    margin-bottom: 32px;
}

.cta-title em {
    font-style: italic;
    color: var(--gold-light);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background-color: var(--dark-green-dark);
    padding: 60px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(245, 239, 235, 0.1);
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-light-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-title {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 24px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-light-muted);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--text-light-muted);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 0.8rem;
    color: var(--text-light-muted);
}

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

/* ========================================
   PAGE HEADER (Inner Pages)
   ======================================== */
.page-header {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    background-color: var(--dark-green);
    padding-top: 72px;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    inset: 0;
    opacity: 0.3;
}

.page-header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--dark-green) 0%, rgba(44, 63, 51, 0.8) 100%);
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-light);
    margin-bottom: 12px;
}

.page-header-subtitle {
    color: var(--text-light-muted);
    font-size: 1.1rem;
    max-width: 600px;
}

.breadcrumbs {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.8rem;
    color: var(--text-light-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumbs a:hover {
    color: var(--gold);
}

.breadcrumbs-sep {
    color: var(--gold);
}

/* ========================================
   CONTENT SECTIONS (Inner Pages)
   ======================================== */
.content-section {
    padding: 80px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.content-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px var(--shadow);
}

.content-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.content-text h2 {
    margin-bottom: 20px;
}

.content-text p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.content-list {
    margin: 24px 0;
}

.content-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1rem;
    color: var(--text-muted);
}

.content-list li svg {
    width: 20px;
    height: 20px;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ========================================
   CASE STUDIES / CARDS
   ======================================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px var(--shadow-hover);
}

.card-image {
    height: 220px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-body {
    padding: 28px;
}

.card-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.card-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-family: var(--font-sans);
    font-weight: 600;
}

.card-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-green);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-link:hover {
    color: var(--gold);
    gap: 10px;
}

.card-link svg {
    width: 14px;
    height: 14px;
}

/* ========================================
   BLOG / CMS STYLES
   ======================================== */
.blog-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

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

.blog-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
}

.blog-card:hover {
    box-shadow: 0 15px 40px var(--shadow-hover);
    transform: translateY(-4px);
}

.blog-card-image {
    height: 100%;
    min-height: 220px;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-body {
    padding: 28px 28px 28px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-meta svg {
    width: 14px;
    height: 14px;
}

.blog-card-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-family: var(--font-sans);
    font-weight: 600;
    line-height: 1.3;
}

.blog-card-title a:hover {
    color: var(--gold);
}

.blog-excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
}

.blog-read-more:hover {
    color: var(--gold-hover);
    gap: 10px;
}

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 24px;
    border: 1px solid var(--border);
}

.sidebar-title {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}

.sidebar-list li {
    margin-bottom: 12px;
}

.sidebar-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.sidebar-list a:hover {
    color: var(--dark-green);
    padding-left: 4px;
}

.sidebar-list .count {
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 600;
}

/* CMS Editor Styles */
.cms-editor {
    background-color: var(--white);
    border-radius: 12px;
    padding: 40px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px var(--shadow);
}

.cms-editor h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold-light);
}

.cms-editor h3 {
    margin-top: 30px;
    margin-bottom: 16px;
}

.cms-editor p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.05rem;
}

.cms-editor blockquote {
    border-left: 4px solid var(--gold);
    padding-left: 24px;
    margin: 30px 0;
    font-style: italic;
    color: var(--text-muted);
    font-family: var(--font-serif);
    font-size: 1.1rem;
}

.cms-editor ul, .cms-editor ol {
    margin: 20px 0;
    padding-left: 24px;
}

.cms-editor ul li {
    list-style: disc;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.cms-editor ol li {
    list-style: decimal;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.cms-editor img {
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 10px 30px var(--shadow);
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    margin-bottom: 20px;
    font-family: var(--font-sans);
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background-color: var(--cream-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 20px;
    height: 20px;
    color: var(--gold);
}

.contact-item-text h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    font-family: var(--font-sans);
    font-weight: 600;
}

.contact-item-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.contact-form {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

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

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-dark);
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(196, 168, 130, 0.15);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

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

/* ========================================
   PLATFORMS PAGES
   ======================================== */
.platform-hero {
    background-color: var(--cream-dark);
    padding: 120px 0 80px;
    text-align: center;
}

.platform-hero h1 {
    margin-bottom: 16px;
}

.platform-hero p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.platform-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.platform-feature {
    display: flex;
    gap: 20px;
    padding: 30px;
    background-color: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.platform-feature:hover {
    box-shadow: 0 15px 40px var(--shadow-hover);
    transform: translateY(-4px);
}

.platform-feature-icon {
    width: 56px;
    height: 56px;
    background-color: var(--gold-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.platform-feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--dark-green);
}

.platform-feature-text h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-family: var(--font-sans);
    font-weight: 600;
}

.platform-feature-text p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .sidebar-widget {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background-color: var(--dark-green);
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-link {
        padding: 16px 0;
        border-bottom: 1px solid rgba(245, 239, 235, 0.1);
    }

    .nav-link::after {
        display: none;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: rgba(245, 239, 235, 0.05);
        border: none;
        padding: 0;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-item {
        padding-left: 20px;
    }

    .about-grid,
    .content-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image img {
        height: 350px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .process-connector {
        display: none;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-title {
        font-size: 2rem;
    }

    .blog-card {
        grid-template-columns: 1fr;
    }

    .blog-card-image {
        min-height: 200px;
    }

    .blog-card-body {
        padding: 24px;
    }

    .blog-sidebar {
        grid-template-columns: 1fr;
    }

    .platform-features {
        grid-template-columns: 1fr;
    }

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

    .page-header {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.8rem;
    }

    .section {
        padding: 50px 0;
    }

    .contact-form {
        padding: 24px;
    }

    .cms-editor {
        padding: 24px;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   UTILITIES
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.hidden { display: none; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
