/* ==========================================================================
   JUSTICIA LABORAL - DESIGN SYSTEM (VANILLA CSS)
   ========================================================================== */

/* --- Design Tokens & CSS Custom Properties --- */
:root {
    /* Color Palette */
    --color-primary: #0f172a;        /* Deep Slate Blue (Trust, Law) */
    --color-primary-light: #1e293b;  /* Medium Slate Blue */
    --color-primary-lightest: #334155;
    --color-accent: #c5a880;         /* Premium Gold/Champagne (Justice, Excellence) */
    --color-accent-dark: #b09165;    /* Darker Gold for hover/active */
    --color-accent-light: #e6d7c3;   /* Light Gold/Champagne tint */
    --color-success: #10b981;        /* Success/Green */
    --color-wsp: #25d366;            /* WhatsApp Green */
    --color-wsp-dark: #128c7e;
    
    /* Backgrounds */
    --bg-main: #f8fafc;              /* Soft Light Gray-Blue */
    --bg-card: #ffffff;
    --bg-dark: #090d16;              /* Dark background for footer / dark sections */
    --bg-glass: rgba(255, 255, 255, 0.75);
    --bg-glass-dark: rgba(15, 23, 42, 0.85);

    /* Text Colors */
    --text-main: #1e293b;            /* Dark Slate Text */
    --text-muted: #64748b;           /* Muted Gray-Blue Text */
    --text-light: #f1f5f9;           /* Light text for dark backgrounds */
    --text-gold: #c5a880;

    /* Fonts */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Borders & Shadows */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.05), 0 4px 6px -2px rgba(15, 23, 42, 0.02);
    --shadow-gold: 0 10px 20px -3px rgba(197, 168, 128, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Container Widths */
    --width-desktop: 1200px;
    --width-article: 750px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

ul, ol {
    list-style: none;
}

input, textarea, button {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
    background: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.25;
    margin-bottom: 1rem;
}

/* Responsive typography using clamp() */
h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    position: relative;
    padding-bottom: 0.75rem;
}

h2.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
    border-radius: var(--radius-full);
}

h2.section-title.left-align::after {
    left: 0;
    transform: none;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
}

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

/* --- Layout Elements --- */
.container {
    width: 100%;
    max-width: var(--width-desktop);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-dark {
    background-color: var(--color-primary);
    color: var(--text-light);
}

.section-dark h2, .section-dark h3, .section-dark p {
    color: var(--text-light);
}

.section-dark h2.section-title::after {
    background-color: var(--color-accent);
}

.text-center {
    text-align: center;
}

/* --- Button System --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

.btn-secondary:hover {
    background-color: var(--color-accent);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-white {
    background-color: #ffffff;
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background-color: var(--color-accent-light);
    transform: translateY(-2px);
}

.btn-wsp {
    background-color: var(--color-wsp);
    color: #ffffff;
}

.btn-wsp:hover {
    background-color: var(--color-wsp-dark);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

/* --- Glassmorphic Header Navigation --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(197, 168, 128, 0.15);
    transition: var(--transition);
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 0;
}

.header-container {
    max-width: var(--width-desktop);
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 36px;
    height: 36px;
    color: var(--color-accent);
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-logo .logo-img {
    height: 48px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.1;
}

.logo-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-primary);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--color-accent-dark);
    font-weight: 600;
}

/* Mobile Hamburger Menu */
.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1001;
    border-radius: var(--radius-md);
    background-color: rgba(15, 23, 42, 0.05);
}

.hamburger {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--color-primary);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    width: 20px;
    height: 2px;
    background-color: var(--color-primary);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    top: 6px;
}

/* Open menu styling */
.menu-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
}

.menu-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* --- Hero Section --- */
.hero {
    padding-top: 9rem;
    padding-bottom: 6rem;
    background: radial-gradient(circle at top right, rgba(197, 168, 128, 0.1), transparent), linear-gradient(180deg, #ffffff, var(--bg-main));
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    max-width: 650px;
}

.hero-tag {
    display: inline-block;
    padding: 0.35rem 1rem;
    background-color: rgba(197, 168, 128, 0.15);
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero-lead {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
}

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

.hero-badge-container {
    display: flex;
    gap: 2rem;
    margin-top: 3.5rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding-top: 1.5rem;
}

.hero-badge {
    display: flex;
    flex-direction: column;
}

.hero-badge-number {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-accent-dark);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.hero-badge-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 600;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-illustration {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 4px solid #ffffff;
}

.hero-illustration-accent {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 150px;
    height: 150px;
    background: radial-gradient(var(--color-accent-light) 20%, transparent 20%);
    background-size: 15px 15px;
    z-index: -1;
    opacity: 0.6;
}

/* --- Services Grid Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3.5rem;
}

.service-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 23, 42, 0.03);
    border-top: 4px solid var(--color-accent);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon-box {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background-color: rgba(197, 168, 128, 0.1);
    color: var(--color-accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    flex-grow: 1;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-accent-dark);
}

.service-card-link:hover {
    color: var(--color-primary);
}

/* --- Split Section (Text & Steps) --- */
.brand-split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.brand-text-content {
    max-width: 550px;
}

.brand-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-card {
    display: flex;
    gap: 1.5rem;
    background-color: var(--bg-card);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 23, 42, 0.02);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
}

.step-details h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.step-details p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.section-dark .step-card p {
    color: var(--text-muted) !important;
}

.section-dark .step-card h4 {
    color: var(--color-primary) !important;
}

/* --- About Us Mini Section --- */
.about-box {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(197, 168, 128, 0.1);
    position: relative;
    overflow: hidden;
}

.about-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background-color: var(--color-accent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.about-lead {
    font-size: 1.15rem;
    color: var(--color-primary);
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-quote {
    background-color: var(--bg-main);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-accent);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* --- Contact Section with Form --- */
.contact-section-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3.5rem;
    align-items: start;
}

.contact-info-panel {
    background-color: var(--color-primary-light);
    color: var(--text-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 100px;
}

.contact-info-panel h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-info-panel p {
    color: rgba(241, 245, 249, 0.7);
    margin-bottom: 2rem;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.channel-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.channel-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}

.channel-icon svg {
    width: 20px;
    height: 20px;
}

.channel-details {
    display: flex;
    flex-direction: column;
}

.channel-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(241, 245, 249, 0.5);
}

.channel-value {
    font-weight: 500;
    font-size: 0.95rem;
}

.contact-form-panel {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 23, 42, 0.02);
}

.form-title {
    margin-bottom: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
}

.form-label .required {
    color: #ef4444;
    font-weight: 400;
    font-size: 0.75rem;
}

.form-control {
    background-color: var(--bg-main);
    border: 1.5px solid transparent;
    border-radius: var(--radius-md);
    padding: 0.85rem 1.1rem;
    color: var(--text-main);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--color-accent);
    background-color: #ffffff;
    box-shadow: var(--shadow-sm);
}

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

.form-feedback {
    display: none;
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-feedback.success {
    display: block;
    background-color: rgba(16, 185, 129, 0.1);
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-feedback.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.1);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* --- Blog Page Styles --- */
.blog-header {
    background-color: var(--color-primary);
    color: #ffffff;
    padding-top: 10rem;
    padding-bottom: 5rem;
    text-align: center;
    position: relative;
    background-image: radial-gradient(circle at top left, rgba(197, 168, 128, 0.12), transparent);
}

.blog-header h1 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.blog-header p {
    color: rgba(241, 245, 249, 0.8);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.blog-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 23, 42, 0.02);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-card-image-link {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.blog-card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--color-primary-light);
    color: var(--color-accent);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    display: flex;
    gap: 1rem;
}

.blog-card-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-card-excerpt {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-accent-dark);
}

.blog-card-link:hover {
    gap: 0.75rem;
}

/* --- Blog Post Detail Layout --- */
.blog-post-detail {
    padding-top: 8rem;
}

.post-header-container {
    max-width: var(--width-article);
    margin: 0 auto;
    padding: 2rem 1.5rem 1rem 1.5rem;
}

.breadcrumbs {
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
}

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

.post-detail-header {
    margin-bottom: 2rem;
}

.post-category {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background-color: rgba(197, 168, 128, 0.15);
    color: var(--color-primary-light);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.post-title-main {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding-bottom: 1.5rem;
}

.meta-icon {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
    margin-right: 0.25rem;
}

.post-featured-image-wrapper {
    max-width: var(--width-desktop);
    margin: 0 auto 3rem auto;
    padding: 0 1.5rem;
}

.post-featured-image {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.post-body-container {
    max-width: var(--width-desktop);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 4rem;
}

.post-content-body {
    max-width: var(--width-article);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Styling markdown elements inside post */
.post-content-body h2 {
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.post-content-body h3 {
    font-size: 1.35rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.post-content-body p {
    margin-bottom: 1.5rem;
    color: #334155; /* Slightly darker for body text readability */
}

.post-content-body ul, .post-content-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-content-body ul {
    list-style-type: disc;
}

.post-content-body ol {
    list-style-type: decimal;
}

.post-content-body li {
    margin-bottom: 0.5rem;
    color: #334155;
}

.post-content-body blockquote {
    border-left: 4px solid var(--color-accent);
    padding: 1rem 1.5rem;
    background-color: rgba(197, 168, 128, 0.08);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 2rem 0;
    font-style: italic;
}

.post-content-body blockquote p {
    margin-bottom: 0;
}

.post-content-body strong {
    color: var(--color-primary);
}

/* Post Sidebar */
.post-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 23, 42, 0.03);
}

.cta-sidebar-card {
    border-top: 4px solid var(--color-accent);
}

.cta-sidebar-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.cta-sidebar-card p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.cta-sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    gap: 0.5rem;
    width: 100%;
}

.cta-sidebar-btn.whatsapp {
    background-color: var(--color-wsp);
    color: #ffffff;
}

.cta-sidebar-btn.whatsapp:hover {
    background-color: var(--color-wsp-dark);
}

.cta-sidebar-btn.whatsapp svg {
    width: 18px;
    height: 18px;
}

.cta-sidebar-btn.secondary {
    background-color: var(--bg-main);
    color: var(--color-primary);
    border: 1.5px solid rgba(15, 23, 42, 0.08);
}

.cta-sidebar-btn.secondary:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

.contact-details-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.sidebar-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.9rem;
}

.sidebar-contact-list li {
    line-height: 1.4;
}

/* Post bottom CTA Box */
.blog-bottom-cta {
    max-width: var(--width-desktop);
    margin: 5rem auto;
    padding: 3rem;
    background-color: var(--color-primary-light);
    color: #ffffff;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    overflow: hidden;
}

.blog-bottom-cta::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background-color: rgba(197, 168, 128, 0.05);
    border-radius: var(--radius-full);
    z-index: 1;
}

.blog-bottom-cta h2 {
    color: #ffffff;
    font-size: 1.75rem;
}

.blog-bottom-cta p {
    color: rgba(241, 245, 249, 0.8);
    margin-bottom: 0;
    max-width: 600px;
}

.cta-content {
    z-index: 2;
}

.cta-action {
    z-index: 2;
    flex-shrink: 0;
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: var(--color-wsp);
    color: #ffffff;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: wsp-pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: var(--color-wsp-dark);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

.wsp-float-icon {
    width: 32px;
    height: 32px;
}

@keyframes wsp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* --- Site Footer --- */
.site-footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding-top: 5rem;
    padding-bottom: 0;
    border-top: 3px solid var(--color-accent);
}

.footer-container {
    max-width: var(--width-desktop);
    margin: 0 auto;
    padding: 0 1.5rem 4rem 1.5rem;
    display: grid;
    grid-template-columns: 1.2fr 0.6fr 1.2fr;
    gap: 4rem;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-brand .footer-logo .logo-title {
    color: #ffffff;
}

.footer-brand .logo-icon {
    width: 40px;
    height: 40px;
}

.footer-description {
    color: rgba(241, 245, 249, 0.75);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-title {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-body);
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.footer-menu a {
    color: rgba(241, 245, 249, 0.75);
}

.footer-menu a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    line-height: 1.4;
}

.contact-icon {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.contact-details a {
    color: rgba(241, 245, 249, 0.75);
}

.contact-details a:hover {
    color: var(--color-accent);
}

.whatsapp-btn-container {
    margin-top: 1.5rem;
}

.whatsapp-footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-wsp);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
}

.whatsapp-footer-btn:hover {
    background-color: var(--color-wsp-dark);
}

.wsp-icon {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 1.5rem 0;
}

.footer-bottom-container {
    max-width: var(--width-desktop);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(241, 245, 249, 0.5);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

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


/* ==========================================================================
   MEDIA QUERIES - RESPONSIVE STYLING
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-badge-container {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        display: none; /* Hide illustrative image on tablet/mobile to focus on content */
    }
    
    .brand-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .brand-text-content {
        max-width: 100%;
        text-align: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-section-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info-panel {
        position: static;
    }
    
    .post-body-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .post-sidebar {
        position: static;
    }
    
    .blog-bottom-cta {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .site-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--color-primary);
        z-index: 999;
        display: none; /* Controlled by active class in JS */
        flex-direction: column;
        padding: 3rem 2rem;
        transition: var(--transition);
        overflow-y: auto;
    }
    
    .site-nav.active {
        display: flex;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }
    
    .nav-link {
        color: #ffffff;
        font-size: 1.25rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 485px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-badge-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .contact-form-panel {
        padding: 1.5rem;
    }
}
