/* ========================================
    LEVEL 3
   Estilos principales del sitio web
   ======================================== */

/* ----------------------------------------
   CSS VARIABLES
   ---------------------------------------- */
:root {
    /* Colores principales */
    --bg-primary: #f9f8f6;
    --bg-white: #ffffff;
    --bg-navy: #1a1f2e;
    --bg-navy-light: #252b3d;
    --bg-navy-lighter: #2f3548;
    
    /* Colores de texto */
    --text-dark: #1a1f2e;
    --text-body: #4a4f5c;
    --text-muted: #7a7f8c;
    --text-light: #a8acb5;
    
    /* Color de acento */
    --accent: #b8963e;
    --accent-light: #d4b563;
    --accent-dark: #967832;
    --accent-subtle: rgba(184, 150, 62, 0.1);
    
    /* Colores de estado */
    --error: #c53030;
    --success: #2f855a;
    
    /* Bordes */
    --border: #e8e6e3;
    --border-light: #f0eee9;
    
    /* Sombras */
    --shadow-sm: 0 1px 3px rgba(26, 31, 46, 0.06);
    --shadow-md: 0 4px 12px rgba(26, 31, 46, 0.08);
    --shadow-lg: 0 8px 30px rgba(26, 31, 46, 0.12);
    --shadow-xl: 0 12px 40px rgba(26, 31, 46, 0.15);
    
    /* Bordes redondeados */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Transiciones */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

/* ----------------------------------------
   TYPOGRAPHY
   ---------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

h1 { font-size: clamp(1.875rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

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

.text-accent {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    color: var(--accent);
    font-style: italic;
}

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

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

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

/* ----------------------------------------
   LAYOUT
   ---------------------------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

@media (min-width: 768px) {
    .container { padding: 0 2rem; }
}

@media (min-width: 1024px) {
    .container { padding: 0 3rem; }
}

.section {
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .section { padding: 4rem 0; }
}

@media (min-width: 1024px) {
    .section { padding: 5rem 0; }
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3rem;
}

.section-label {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

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

/* ----------------------------------------
   HEADER
   ---------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(249, 248, 246, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

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

@media (min-width: 1024px) {
    .header-inner { height: 76px; }
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-name {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.logo-title {
    font-size: 0.6875rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.nav-desktop {
    display: none;
}

@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }
}

.nav-link {
    position: relative;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-body);
    padding: 0.625rem 1rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-dark);
    background: var(--bg-white);
}

.nav-link.active {
    color: var(--accent);
    background: var(--accent-subtle);
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

@media (min-width: 1024px) {
    .menu-toggle { display: none; }
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-mobile {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 1.25rem 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
}

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

.nav-mobile .nav-link {
    display: block;
    padding: 1rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border-light);
    background: none;
    border-radius: 0;
}

.nav-mobile .nav-link:last-child {
    border-bottom: none;
}

/* ----------------------------------------
   BUTTONS
   ---------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

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

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 150, 62, 0.25);
    color: var(--bg-white);
}

.btn-secondary {
    background: var(--bg-navy);
    color: var(--bg-white);
}

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

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

.btn-outline:hover {
    border-color: var(--text-dark);
    background: var(--bg-white);
    color: var(--text-dark);
}

.btn-small {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ----------------------------------------
   HERO SECTION
   ---------------------------------------- */
.hero {
    position: relative;
    min-height: calc(100vh - 68px);
    display: flex;
    align-items: center;
    padding: 3rem 0;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .hero { min-height: calc(100vh - 76px); }
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 70%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(184, 150, 62, 0.05) 0%, transparent 70%);
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.hero-title {
    margin-bottom: 1.25rem;
    max-width: 580px;
}

.hero-description {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-body);
    max-width: 500px;
    margin-bottom: 1.75rem;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

@media (min-width: 480px) {
    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.hero-contact {
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border-light);
}

.hero-contact-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.875rem;
}

.hero-contact-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.hero-contact-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--text-body);
    font-weight: 500;
    font-size: 0.9375rem;
}

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

.hero-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-lg);
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-light);
}

.hero-card-avatar {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--bg-navy), var(--bg-navy-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-weight: 600;
    font-size: 1.125rem;
}

.hero-card-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9375rem;
}

.hero-card-title {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.hero-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    text-align: center;
}

.hero-stat-number {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.hero-stat-label {
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ----------------------------------------
   PRACTICE AREAS
   ---------------------------------------- */
.practice-section {
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
}

.practice-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .practice-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.practice-card {
    position: relative;
    padding: 1.75rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.practice-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.practice-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.practice-icon svg {
    width: 22px;
    height: 22px;
    color: var(--accent);
}

.practice-card h3 {
    margin-bottom: 0.625rem;
    font-size: 1.0625rem;
}

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

.practice-number {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-light);
}

/* ----------------------------------------
   CTA SECTION
   ---------------------------------------- */
.cta-section {
    background: var(--bg-navy);
    text-align: center;
}

.cta-section .section-title {
    color: var(--bg-white);
}

.cta-section .section-subtitle {
    color: var(--text-light);
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    justify-content: center;
    margin-top: 2rem;
}

@media (min-width: 480px) {
    .cta-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* ----------------------------------------
   ABOUT PAGE
   ---------------------------------------- */
.page-hero {
    padding: 3rem 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

@media (min-width: 1024px) {
    .page-hero { padding: 4rem 0; }
}

.about-grid {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1.3fr;
        gap: 4rem;
        align-items: start;
    }
}

.about-photo {
    position: relative;
}

.about-photo-img {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #e8e6e3 0%, #d4d2cf 100%);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.about-photo-frame {
    position: absolute;
    top: 0.875rem;
    left: 0.875rem;
    right: -0.875rem;
    bottom: -0.875rem;
    border: 2px solid var(--accent);
    border-radius: var(--radius-md);
    opacity: 0.25;
    z-index: -1;
}

.about-intro {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: 1.5rem;
}

.credentials-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .credentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.credentials-box {
    padding: 1.75rem;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
}

.credentials-box h3 {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
    font-size: 1rem;
}

.credentials-box h3 svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

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

.credentials-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.625rem;
    font-size: 0.875rem;
}

.credentials-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius: 50%;
}

/* ----------------------------------------
   VALUES SECTION
   ---------------------------------------- */
.values-section {
    background: var(--bg-navy);
    color: var(--bg-white);
}

.values-section .section-label {
    color: var(--accent-light);
}

.values-section .section-title {
    color: var(--bg-white);
}

.values-section .section-subtitle {
    color: var(--text-light);
}

.values-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.value-card {
    padding: 1.75rem;
    background: var(--bg-navy-light);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.value-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.value-number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.value-card h3 {
    color: var(--bg-white);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.value-card p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin: 0;
}

/* ----------------------------------------
   SERVICES PAGE
   ---------------------------------------- */
.services-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

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

.service-card-header {
    padding: 2rem 2rem 1.5rem;
    background: var(--bg-navy);
    color: var(--bg-white);
}

.service-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.service-card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.service-card-header h3 {
    color: var(--bg-white);
    margin-bottom: 0.25rem;
}

.service-card-header p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

.service-card-body {
    padding: 1.5rem 2rem 2rem;
}

.service-card-body ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-card-body li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-body);
}

.service-card-body li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.service-price {
    padding: 1rem;
    background: var(--accent-subtle);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.service-price strong {
    color: var(--accent-dark);
}

/* Pricing Note */
.pricing-note {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--accent-subtle);
    border: 1px solid rgba(184, 150, 62, 0.2);
    border-radius: var(--radius-md);
    margin-top: 2rem;
}

.pricing-note svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.pricing-note p {
    margin: 0;
    font-size: 0.9375rem;
}

/* ----------------------------------------
   FAQ SECTION
   ---------------------------------------- */
.faq-section {
    background: var(--bg-primary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--accent);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: all var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.5rem;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    font-size: 0.9375rem;
    color: var(--text-body);
    margin: 0;
    line-height: 1.7;
}

/* ----------------------------------------
   BLOG PAGE
   ---------------------------------------- */
.blog-hero {
    padding: 3rem 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    text-align: center;
}

.blog-layout {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr 320px;
        gap: 4rem;
    }
}

.blog-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.blog-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

.blog-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.blog-card-img {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--bg-navy) 0%, var(--bg-navy-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.blog-card-img svg {
    width: 40px;
    height: 40px;
    color: var(--accent);
    opacity: 0.5;
}

.blog-card-content {
    padding: 1.5rem;
}

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

.blog-card-category {
    background: var(--accent-subtle);
    color: var(--accent-dark);
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.blog-card h2 {
    font-size: 1.125rem;
    margin-bottom: 0.625rem;
    line-height: 1.4;
}

.blog-card h2 a:hover {
    color: var(--accent);
}

.blog-card-excerpt {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

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

.blog-card-link svg {
    width: 14px;
    height: 14px;
    transition: transform var(--transition-fast);
}

.blog-card-link:hover svg {
    transform: translateX(3px);
}

/* Blog Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.sidebar-widget h3 {
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light);
}

.recent-posts-list {
    list-style: none;
}

.recent-posts-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.recent-posts-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-posts-list a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-body);
    display: block;
    line-height: 1.5;
}

.recent-posts-list a:hover {
    color: var(--accent);
}

.recent-posts-list .post-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 0.25rem;
}

.sidebar-cta {
    background: var(--bg-navy);
    border: none;
    text-align: center;
}

.sidebar-cta h3 {
    color: var(--bg-white);
    border-bottom-color: var(--bg-navy-light);
}

.sidebar-cta p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* ----------------------------------------
   ARTICLE PAGE
   ---------------------------------------- */
.article-hero {
    padding: 3rem 0 2rem;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

.article-header {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.article-category {
    background: var(--accent-subtle);
    color: var(--accent-dark);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.article-title {
    margin-bottom: 1rem;
}

.article-excerpt {
    font-size: 1.125rem;
    color: var(--text-body);
    max-width: 600px;
    margin: 0 auto;
}

.article-featured-img {
    max-width: 800px;
    margin: 2rem auto 0;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.article-featured-img img {
    width: 100%;
    height: auto;
}

.article-content {
    max-width: 720px;
    margin: 0 auto;
}

.article-content p {
    margin-bottom: 1.25rem;
    line-height: 1.85;
}

.article-content h2 {
    margin: 2rem 0 1rem;
    font-size: 1.375rem;
}

.article-content h3 {
    margin: 1.5rem 0 0.75rem;
    font-size: 1.125rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.article-content blockquote {
    margin: 1.5rem 0;
    padding: 1.25rem 1.5rem;
    background: var(--bg-primary);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text-body);
}

.article-content .highlight-box {
    background: var(--accent-subtle);
    border: 1px solid rgba(184, 150, 62, 0.2);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.article-content .highlight-box h4 {
    color: var(--accent-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.article-content .highlight-box p {
    margin: 0;
    font-size: 0.9375rem;
}

/* Social Share */
.social-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 0;
    margin-top: 2rem;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.social-share-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-right: 0.5rem;
}

.social-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.social-share-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.social-share-btn:hover svg {
    color: var(--bg-white);
}

.social-share-btn svg {
    width: 16px;
    height: 16px;
    color: var(--text-body);
}

/* Article Footer */
.article-footer {
    max-width: 720px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.article-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.article-author-avatar {
    width: 48px;
    height: 48px;
    background: var(--bg-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-weight: 600;
    font-size: 0.875rem;
}

.article-author-info h4 {
    font-size: 0.9375rem;
    margin-bottom: 0.125rem;
}

.article-author-info p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0;
}

.article-nav {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .article-nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

.article-nav-link {
    padding: 1.25rem;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.article-nav-link:hover {
    border-color: var(--accent);
}

.article-nav-label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.375rem;
}

.article-nav-title {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* ----------------------------------------
   CONTACT PAGE
   ---------------------------------------- */
.contact-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.contact-info h1 {
    margin-bottom: 0.5rem;
}

.contact-subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.contact-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.contact-item-content h4 {
    margin-bottom: 0.125rem;
    font-size: 0.9375rem;
}

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

.contact-item-content a {
    color: var(--text-dark);
    font-weight: 500;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

@media (min-width: 768px) {
    .contact-form-wrapper { padding: 2.5rem; }
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-label .required {
    color: var(--error);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: inherit;
    font-size: 0.9375rem;
    color: var(--text-dark);
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px var(--accent-subtle);
}

.form-input.error,
.form-textarea.error {
    border-color: var(--error);
}

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

.form-error {
    display: none;
    font-size: 0.75rem;
    color: var(--error);
    margin-top: 0.375rem;
}

.form-error.visible {
    display: block;
}

.form-disclaimer {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.form-disclaimer svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
    vertical-align: middle;
    margin-right: 0.375rem;
    margin-top: -2px;
}

.form-submit {
    width: 100%;
}

.form-message {
    display: none;
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    text-align: center;
}

.form-message.success {
    background: rgba(47, 133, 90, 0.1);
    border: 1px solid rgba(47, 133, 90, 0.2);
    color: var(--success);
}

.form-message.error {
    background: rgba(197, 48, 48, 0.1);
    border: 1px solid rgba(197, 48, 48, 0.2);
    color: var(--error);
}

.form-message.visible {
    display: block;
}

/* ----------------------------------------
   FOOTER
   ---------------------------------------- */
.footer {
    background: var(--bg-navy);
    color: var(--text-light);
    padding: 2.5rem 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.footer-brand-name {
    font-weight: 600;
    color: var(--bg-white);
    font-size: 1rem;
}

.footer-brand-title {
    font-size: 0.8125rem;
    color: var(--text-light);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.footer-links a {
    font-size: 0.8125rem;
    color: var(--text-light);
}

.footer-links a:hover {
    color: var(--bg-white);
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ----------------------------------------
   WHATSAPP BUTTON
   ---------------------------------------- */
.whatsapp-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: all var(--transition-fast);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn svg {
    width: 28px;
    height: 28px;
    color: #fff;
}

@media (min-width: 768px) {
    .whatsapp-btn {
        width: 60px;
        height: 60px;
        bottom: 2rem;
        right: 2rem;
    }
    
    .whatsapp-btn svg {
        width: 32px;
        height: 32px;
    }
}

/* ----------------------------------------
   BREADCRUMBS
   ---------------------------------------- */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: var(--text-muted);
}

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

.breadcrumbs span {
    color: var(--text-body);
}

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

.animate-in {
    animation: fadeInUp 0.5s ease forwards;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html { scroll-behavior: auto; }
}

/* Focus States */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

::selection {
    background: var(--accent);
    color: var(--bg-white);
}

/* ----------------------------------------
   LAZY LOADING
   ---------------------------------------- */
img[loading="lazy"] {
    opacity: 1;
    transition: opacity var(--transition-base);
}

/* ----------------------------------------
   UTILITY CLASSES
   ---------------------------------------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

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

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

.hidden { display: none !important; }

@media (max-width: 767px) {
    .hide-mobile { display: none !important; }
}

@media (min-width: 768px) {
    .hide-desktop { display: none !important; }
}
