/* CSS Variables for Premium Theme */
:root {
    --primary-color: #0f2a4a; /* Deep elegant Navy */
    --primary-dark: #071526; 
    --accent-color: #d4af37; /* Champagne Gold */
    --accent-hover: #b8962b;
    --bg-main: #fcfcfc; /* Crisp white background */
    --bg-alt: #f4f7f9; /* Subtle off-white for sections */
    --bg-card: #ffffff; 
    
    --text-main: #334155; /* Slate 700 */
    --text-muted: #64748b; /* Slate 500 */
    --text-heading: #0f172a; /* Slate 900 */
    
    --white: #ffffff;
    --border-color: rgba(15, 42, 74, 0.1);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

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

/* Typography Elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-weight: 600;
    line-height: 1.3;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 2.5rem; }
.flex-between { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-title p {
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.divider {
    height: 3px;
    width: 80px;
    background-color: var(--accent-color);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 1.05rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-family: var(--font-body);
}

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

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

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #1ebe57;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-dark);
    padding: 10px 0;
    font-size: 0.85rem;
    color: #cbd5e1;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 25px;
}

.contact-info span i {
    color: var(--accent-color);
    margin-right: 8px;
}

.social-links a {
    color: #cbd5e1;
    margin-left: 20px;
    transition: var(--transition);
}

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

.contact-info a:hover {
    color: var(--white);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
}

.header.scrolled .top-bar {
    display: none;
}

.navbar {
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.img-logo {
    max-height: 60px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.header.scrolled .img-logo {
    max-height: 50px;
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    color: var(--text-main);
}

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

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

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

.btn-contacto {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 4px;
    border: none;
}

.btn-contacto::after { display: none; }
.btn-contacto:hover, .btn-contacto.active { 
    background-color: var(--accent-color);
    color: var(--white);
}

.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-color);
    transition: var(--transition);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background-image: url('assets/hero_bg.png'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(244, 247, 249, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 850px;
    margin-left: 10%;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-content .subtitle {
    font-size: 1.35rem;
    color: var(--text-main);
    margin-bottom: 3rem;
    max-width: 650px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Sobre Mi Section */
.about {
    padding: 120px 0;
    background-color: var(--bg-alt);
}

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

.about-header h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.about-header h4 {
    color: var(--accent-color);
    font-size: 1.3rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.image-wrapper {
    position: relative;
    border-radius: 12px;
    padding: 15px;
    background: white;
    box-shadow: var(--shadow-lg);
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    bottom: 30px;
    left: 30px;
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    z-index: 0;
}

.about-image img {
    position: relative;
    z-index: 1;
    border-radius: 8px;
    width: 100%;
    object-fit: cover;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.cedula-box {
    display: inline-flex;
    align-items: center;
    padding: 15px 25px;
    background: var(--white);
    border-left: 4px solid var(--accent-color);
    border-radius: 0 8px 8px 0;
    box-shadow: var(--shadow-sm);
    font-size: 1.1rem;
}

/* Services */
.services {
    padding: 120px 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 45px 35px;
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background: var(--primary-color);
    color: var(--white);
    transform: rotateY(180deg);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.service-card p, .service-card ul {
    color: var(--text-muted);
}

.service-card ul {
    padding-left: 0;
}

.service-card ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 24px;
}

.service-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-color);
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.9rem;
}

/* Quote Section */
.quote-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    position: relative;
}

.quote-icon {
    font-size: 3.5rem;
    color: rgba(212, 175, 55, 0.2);
    margin-bottom: 25px;
}

.quote-section h2 {
    font-size: 2.2rem;
    font-style: italic;
    max-width: 900px;
    margin: 0 auto;
    color: var(--white);
    font-weight: 400;
    line-height: 1.5;
}

/* Testimonials */
.testimonials {
    padding: 120px 0;
    background-color: var(--bg-alt);
}

.testimonials-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1050px;
    margin: 0 auto;
    height: 550px;
}

.testimonials-gallery {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-color: #000;
    box-shadow: var(--shadow-lg);
}

.carousel-container {
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.9;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    color: var(--primary-color);
    font-size: 1.2rem;
    z-index: 10;
    transition: var(--transition);
}

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

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

.testimonials-list {
    overflow-y: auto;
    padding-right: 15px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    scroll-behavior: smooth;
}

.testimonials-list::-webkit-scrollbar { width: 6px; }
.testimonials-list::-webkit-scrollbar-track { background: transparent; }
.testimonials-list::-webkit-scrollbar-thumb { background: rgba(15, 42, 74, 0.2); border-radius: 10px; }
.testimonials-list::-webkit-scrollbar-thumb:hover { background: var(--primary-color); }

.testimonial-card {
    background: var(--bg-card);
    padding: 35px;
    border-radius: 12px;
    border: 1px solid transparent;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    opacity: 0.6;
}

.testimonial-card.active, .testimonial-card:hover {
    opacity: 1;
    border-color: var(--accent-color);
    background-color: var(--white);
    transform: translateX(-5px);
}

.testimonial-card.active {
    box-shadow: var(--shadow-md);
}

.case-title {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 25px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--bg-alt);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid var(--border-color);
}

.testimonial-card.active .author-avatar {
    background-color: var(--primary-color);
    color: var(--white);
}

.author-info h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 2px;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Blog */
.blog {
    padding: 120px 0;
    background-color: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.blog-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

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

.blog-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    border-bottom: 3px solid var(--accent-color);
    transition: transform 0.5s ease;
}

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

.blog-content {
    padding: 35px;
    background: var(--white);
    position: relative;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.blog-card:hover h3 {
    color: var(--primary-color);
}

.blog-content p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

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

.read-more:hover {
    color: var(--primary-color);
    gap: 15px;
}

/* WhatsApp Banner */
.whatsapp-banner {
    background-color: var(--bg-alt);
    padding: 70px 0;
}

.banner-content {
    text-align: center;
    background: var(--white);
    padding: 60px 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--primary-color);
}

.banner-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.banner-content p {
    color: var(--text-muted);
    margin-bottom: 35px;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    padding-top: 100px;
    color: #94a3b8;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 70px;
}

.footer-info h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.footer-info h3 span {
    color: var(--accent-color);
}

.footer-info p {
    margin-bottom: 25px;
    line-height: 1.8;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    margin-right: 12px;
    color: var(--white);
}

.footer-socials a:hover {
    background: var(--accent-color);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.footer-contact h4, .footer-map h4 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-contact h4::after, .footer-map h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.footer-contact ul li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact ul li i {
    color: var(--accent-color);
    margin-top: 5px;
    font-size: 1.1rem;
}

.map-placeholder iframe {
    border-radius: 12px;
    opacity: 0.9;
    transition: var(--transition);
}

.map-placeholder iframe:hover {
    opacity: 1;
}

.footer-bottom {
    background-color: #030b14;
    padding: 25px 0;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #94a3b8;
}

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

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 35px;
    right: 35px;
    background-color: #25D366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.delay-100 { animation-delay: 0.15s; transition-delay: 0.15s; }
.delay-200 { animation-delay: 0.3s; transition-delay: 0.3s; }
.delay-300 { animation-delay: 0.45s; transition-delay: 0.45s; }
.delay-400 { animation-delay: 0.6s; transition-delay: 0.6s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 3.5rem; }
    .hero-content { margin-left: 5%; }
}

@media (max-width: 991px) {
    .hero-content h1 { font-size: 3rem; }
    .hero-content { margin-left: 0; text-align: center; }
    .hero-buttons { justify-content: center; }
    .testimonials-layout { grid-template-columns: 1fr; height: auto; gap: 30px; }
    .testimonials-gallery { height: 350px; }
    .testimonials-list { max-height: 450px; }
    .about-grid { grid-template-columns: 1fr; text-align: center; }
    .image-wrapper::before { display: none; }
    .cedula-box { border-left: none; border-bottom: 4px solid var(--accent-color); border-radius: 8px; }
    .section-title h2 { font-size: 2.25rem; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .hamburger { display: block; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-lg);
        padding: 40px 0;
        backdrop-filter: blur(10px);
    }
    
    .nav-menu.active { left: 0; }
    .nav-link { display: block; padding: 15px 0; font-size: 1.1rem; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    .btn { width: 100%; }
    .floating-whatsapp { width: 55px; height: 55px; font-size: 30px; bottom: 20px; right: 20px; }
}

/* Blog Post Page Styles */
.blog-post-page {
    background-color: var(--bg-alt);
    padding-bottom: 60px;
    padding-top: 160px; /* Space for fixed header */
}

.blog-header {
    max-width: 900px;
    margin: 0 auto 30px;
    padding: 0 20px;
}

.blog-meta-top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.blog-category {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    font-weight: 700;
}

.blog-read-time {
    color: var(--text-muted);
}

.blog-main-title {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    line-height: 1.2;
}

.blog-meta-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(15, 42, 74, 0.1);
}

.author-info-small {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar-small {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-color);
}

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

.author-name {
    font-weight: 600;
    color: var(--primary-color);
}

.publish-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.social-share {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-share a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid rgba(15, 42, 74, 0.1);
}

.social-share a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.blog-featured-image-container {
    max-width: 1000px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.blog-featured-image {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.blog-content-wrapper {
    max-width: 800px;
    margin: 0 auto 60px;
    background: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.blog-content-wrapper p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: var(--text-main);
}

.blog-content-wrapper h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 45px;
    margin-bottom: 25px;
}

.blog-content-wrapper ul {
    margin-bottom: 30px;
    padding-left: 0;
}

.blog-content-wrapper ul li {
    font-size: 1.15rem;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    color: var(--text-main);
}

.blog-content-wrapper ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-color);
    position: absolute;
    left: 0;
    top: 4px;
    font-size: 1rem;
}

.blog-content-wrapper blockquote {
    font-style: italic;
    font-size: 1.3rem;
    color: var(--primary-color);
    border-left: 4px solid var(--accent-color);
    padding: 20px 30px;
    margin: 40px 0;
    background-color: rgba(212, 175, 55, 0.05);
    border-radius: 0 8px 8px 0;
}

.author-box-container {
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.author-box {
    display: flex;
    align-items: center;
    gap: 30px;
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border-top: 5px solid var(--accent-color);
}

.author-box-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-alt);
    box-shadow: var(--shadow-sm);
}

.author-box-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.author-box-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .blog-post-page { padding-top: 180px; }
    .blog-main-title { font-size: 2.2rem; }
    .blog-meta-bottom { flex-direction: column; align-items: flex-start; gap: 20px; }
    .blog-content-wrapper { padding: 30px 20px; }
    .author-box { flex-direction: column; text-align: center; padding: 30px 20px; }
    .author-box-content { display: flex; flex-direction: column; align-items: center; }
}
