/* ===============================================
   FAVERO ADVOCACIA - Static Website Styles
   =============================================== */

/* CSS Variables - Light Theme */
:root {
    /* Colors - Preserved */
    --background: #ffffff;
    --foreground: #23344E;
    --card: #ffffff;
    --card-foreground: #23344E;
    --primary: #23344E;
    --primary-foreground: #ffffff;
    --secondary: #B0A393;
    --secondary-foreground: #23344E;
    --muted: #f8f9fa;
    --muted-foreground: #64748b;
    --accent: #B0A393;
    --accent-foreground: #23344E;
    --border: #e2e8f0;
    --ring: #B0A393;

    /* Footer specific */
    --footer-bg: #23344E;
    --footer-text: #ffffff;
    --footer-muted: #94a3b8;

    /* Typography - Modern Luxury */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-serif: 'Cormorant Garamond', serif;

    /* Spacing - More breathability */
    --container-max: 1280px;
    --section-padding: 4rem;
    --section-padding-lg: 8rem;

    /* Border Radius - Softer look */
    --radius: 0.5rem;
    /* 8px */
    --radius-sm: 0.25rem;
    /* 4px */
    --radius-lg: 1rem;
    /* 16px */
    --radius-full: 9999px;

    /* Shadows - Depth */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme */
.dark {
    --background: #0f172a;
    --foreground: #f8fafc;
    --card: #1e293b;
    --card-foreground: #f8fafc;
    --primary: #B0A393;
    --primary-foreground: #23344E;
    --secondary: #23344E;
    --secondary-foreground: #f8fafc;
    --muted: #1e293b;
    --muted-foreground: #94a3b8;
    --accent: #23344E;
    --accent-foreground: #f8fafc;
    --border: #334155;
    --ring: #B0A393;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.5);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.5), 0 2px 4px -2px rgb(0 0 0 / 0.5);
}

/* ===============================================
   BASE STYLES
   =============================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea {
    font-family: inherit;
}

ul,
ol {
    list-style: none;
}

/* ===============================================
   UTILITY CLASSES
   =============================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1rem;
}

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

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

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

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

.section-header {
    max-width: 42rem;
    margin-bottom: 3rem;
}

@media (min-width: 1024px) {
    .section-header {
        margin-bottom: 4rem;
    }
}

.section-header-flex {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .section-header-flex {
        flex-direction: row;
        align-items: flex-end;
    }
}

@media (min-width: 1024px) {
    .section-header-flex {
        margin-bottom: 4rem;
    }
}

.section-title {
    font-family: var(--font-serif);
    font-size: 1.875rem;
    font-weight: 500;
    letter-spacing: -0.025em;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-subtitle {
    margin-top: 1rem;
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--muted-foreground);
}

.section-cta {
    margin-top: 3rem;
    text-align: center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    color: var(--foreground);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3rem;
    font-weight: 600;
}

h2 {
    font-size: 2.5rem;
    font-weight: 500;
}

h3 {
    font-size: 1.75rem;
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
    /* Increased for better readability */
}

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

a:hover {
    color: var(--primary-foreground);
}

/* ===============================================
   COMPONENTS
   =============================================== */

/* Breadcrumbs */
.breadcrumbs {
    padding: 1rem 0;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    background-color: var(--background);
}

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

.breadcrumbs a {
    color: var(--muted-foreground);
    transition: color 0.2s ease;
}

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

.breadcrumbs .separator {
    color: var(--border);
    font-size: 0.75rem;
}

.breadcrumbs .current {
    color: var(--foreground);
    font-weight: 500;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid transparent;
    border-radius: var(--radius);
    transition: all var(--transition-base);
    cursor: pointer;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
    transform: translateY(0);
}

.btn i {
    width: 1rem;
    height: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

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

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

.btn-primary:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
}

.btn-secondary:hover {
    background-color: var(--muted);
}

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

.btn-outline:hover {
    background-color: var(--secondary);
}

.btn-white {
    background-color: white;
    color: black;
}

.btn-white:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.btn-outline-white {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    transition: color var(--transition-base);
}

.link-arrow i {
    width: 1rem;
    height: 1rem;
}

.link-arrow:hover {
    color: var(--muted-foreground);
}

/* ===============================================
   FORM ELEMENTS
   =============================================== */

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--border);
    background-color: var(--background);
    color: var(--foreground);
    transition: border-color var(--transition-base);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--ring);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--muted-foreground);
}

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

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

input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: var(--primary);
    cursor: pointer;
}

/* ===============================================
   HEADER
   =============================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    transition: all var(--transition-base);
}

.dark .header {
    border-bottom-color: rgba(255, 255, 255, 0.05);
    background-color: rgba(10, 10, 10, 0.75);
}

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

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

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

.logo img {
    height: 3.5rem;
    width: auto;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    color: var(--foreground);
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    transition: color var(--transition-base);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-actions>.btn {
    display: none;
}

@media (min-width: 1024px) {
    .nav-actions>.btn {
        display: inline-flex;
    }
}

/* Language Switcher */
.lang-switcher {
    position: relative;
    display: none;
}

@media (min-width: 1024px) {
    .lang-switcher {
        display: block;
    }
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    font-size: 0.875rem;
    color: var(--foreground);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color var(--transition-base);
}

.lang-btn:hover {
    color: var(--primary);
}

.lang-btn i {
    width: 1rem;
    height: 1rem;
}

.lang-btn .chevron {
    width: 0.75rem;
    height: 0.75rem;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 150px;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background-color: var(--card);
    border: 1px solid var(--border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
}

.lang-switcher.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    text-align: left;
    color: var(--foreground);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background-color var(--transition-base);
}

.lang-option:hover,
.lang-option.active {
    background-color: var(--accent);
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    color: var(--foreground);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color var(--transition-base);
}

.theme-toggle:hover {
    color: var(--primary);
}

.theme-toggle i {
    width: 1.25rem;
    height: 1.25rem;
}

.theme-toggle .moon-icon {
    display: none;
}

.dark .theme-toggle .sun-icon {
    display: none;
}

.dark .theme-toggle .moon-icon {
    display: block;
}

/* ... */

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    color: var(--foreground);
    transition: color var(--transition-base);
}

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

.mobile-menu-btn:hover,
.mobile-menu-btn.active {
    color: var(--primary);
}

.mobile-menu-btn i {
    width: 1.5rem;
    height: 1.5rem;
}

.mobile-menu-btn .close-icon {
    display: none;
}

.mobile-menu-btn.active .menu-icon {
    display: none;
}

.mobile-menu-btn.active .close-icon {
    display: block;
}

/* Mobile Navigation */
.mobile-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 4rem;
    left: 0;
    width: 100%;
    height: calc(100vh - 4rem);
    background-color: var(--background);
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.3s;
    visibility: hidden;
    z-index: 49;
    border-top: 1px solid var(--border);
    gap: 1.5rem;
    overflow-y: auto;
}

.mobile-nav.active {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
}

@media (min-width: 1024px) {
    .mobile-nav {
        display: none !important;
    }
}

.mobile-nav-link {
    display: block;
    padding: 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--muted-foreground);
    transition: color var(--transition-base);
}

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

.mobile-nav-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.mobile-lang-btns {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.mobile-lang-btns i {
    width: 1rem;
    height: 1rem;
    color: var(--muted-foreground);
}

.mobile-lang-btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--muted-foreground);
    transition: all var(--transition-base);
}

.mobile-lang-btn:hover,
.mobile-lang-btn.active {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

/* ===============================================
   HERO SECTION
   =============================================== */

.hero {
    position: relative;
    overflow: hidden;
    color: white;
}

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

.hero-bg-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(35, 52, 78, 0.4), rgba(15, 23, 42, 0.55));
}

.dark .hero-overlay {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.5), rgba(2, 6, 23, 0.65));
}

.hero-content {
    position: relative;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 6rem 1rem;
}

@media (min-width: 1024px) {
    .hero-content {
        padding: 8rem 2rem;
    }
}

.hero-text {
    max-width: 48rem;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: white;
    text-wrap: balance;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-subtitle {
    margin-top: 1.5rem;
    max-width: 42rem;
    font-size: 1.125rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.5rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        align-items: center;
    }
}

.hero-decoration {
    display: none;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 16rem;
    height: 16rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(48px);
    transform: translate(33%, 33%);
}

@media (min-width: 1024px) {
    .hero-decoration {
        display: block;
    }
}

/* Hero Carousel */
.hero-carousel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
    transform: scale(1);
}

.hero-slide.active {
    opacity: 1;
    animation: heroKenBurns 6s ease-in-out forwards;
}

@keyframes heroKenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08);
    }
}

/* ===============================================
   PRACTICE AREAS SECTION
   =============================================== */

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

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

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

.area-card {
    position: relative;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--card) 0%, rgba(176, 163, 147, 0.05) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition-base);
    overflow: hidden;
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(176, 163, 147, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 0;
}

.area-card:hover::before {
    opacity: 1;
}

.area-card>* {
    position: relative;
    z-index: 1;
}

.area-card:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.area-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.5rem;
    background-color: var(--secondary);
    color: var(--foreground);
    transition: all var(--transition-base);
}

.area-card:hover .area-icon {
    background-color: var(--accent);
    color: var(--accent-foreground);
}

.area-icon i {
    width: 1.5rem;
    height: 1.5rem;
}

.area-title {
    margin-bottom: 1rem;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--card-foreground);
    line-height: 1.3;
}

.area-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--muted-foreground);
}

/* ===============================================
   ABOUT SHOWCASE SECTION (3 Panels)
   =============================================== */

.about-showcase {
    background: var(--background);
}

.about-showcase .section-header {
    max-width: 100%;
    text-align: center;
    margin-bottom: 4rem;
}

.about-showcase .section-subtitle {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

/* Individual Panel */
.about-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
    padding: 3rem 0;
    border-bottom: 1px solid var(--border);
}

.about-panel:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

@media (min-width: 768px) {
    .about-panel {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        padding: 4rem 0;
    }

    /* Reverse layout for even panels */
    .about-panel--reverse .about-panel-image {
        order: 2;
    }

    .about-panel--reverse .about-panel-content {
        order: 1;
    }
}

/* Image Container */
.about-panel-image {
    position: relative;
}

.about-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 4 / 5;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
}

.about-img-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid var(--accent);
    border-radius: var(--radius-lg);
    z-index: 2;
    pointer-events: none;
    opacity: 0.4;
    transition: opacity var(--transition-base);
}

.about-img-wrapper:hover::before {
    opacity: 0.8;
}

.about-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.05) saturate(1.05);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                filter 0.6s ease;
}

.about-img-wrapper:hover img {
    transform: scale(1.08);
    filter: contrast(1.08) saturate(1.15);
}

/* Shine sweep effect on hover */
.about-img-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.25) 50%,
        transparent 100%
    );
    z-index: 3;
    pointer-events: none;
    transition: none;
}

.about-img-wrapper:hover .about-img-shine {
    animation: shineSweep 0.8s ease-in-out forwards;
}

@keyframes shineSweep {
    0% {
        left: -100%;
    }
    100% {
        left: 150%;
    }
}

/* Decorative corner accent */
.about-panel-image::after {
    content: '';
    position: absolute;
    width: 4rem;
    height: 4rem;
    border: 2px solid var(--accent);
    border-radius: 0 0 var(--radius-lg) 0;
    bottom: -0.75rem;
    right: -0.75rem;
    z-index: -1;
    opacity: 0.5;
    transition: all var(--transition-base);
}

.about-panel--reverse .about-panel-image::after {
    right: auto;
    left: -0.75rem;
    border-radius: 0 0 0 var(--radius-lg);
}

.about-panel:hover .about-panel-image::after {
    width: 5rem;
    height: 5rem;
    opacity: 0.8;
}

/* Content */
.about-panel-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-panel-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    background: rgba(176, 163, 147, 0.12);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    width: fit-content;
}

.about-panel-label i {
    width: 0.9rem;
    height: 0.9rem;
}

.dark .about-panel-label {
    color: var(--ring);
    background: rgba(176, 163, 147, 0.15);
}

.about-panel-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--foreground);
    letter-spacing: -0.025em;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .about-panel-title {
        font-size: 2.25rem;
    }
}

.about-panel-text {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
    text-align: justify;
}

.about-panel-content .btn {
    width: fit-content;
    margin-top: 0.5rem;
}

/* Scroll reveal styles for panels */
.about-panel {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.about-panel.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.about-panel:nth-child(2) { transition-delay: 0ms; }
.about-panel:nth-child(3) { transition-delay: 150ms; }
.about-panel:nth-child(4) { transition-delay: 300ms; }

/* ===============================================
   BLOG PREVIEW SECTION
   =============================================== */

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

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

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

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

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

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

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

.blog-category {
    padding: 0.25rem 0.5rem;
    font-weight: 500;
    background-color: var(--secondary);
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-date i {
    width: 0.75rem;
    height: 0.75rem;
}

.blog-title {
    margin-bottom: 0.75rem;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--card-foreground);
    transition: color var(--transition-base);
}

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

.blog-excerpt {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--muted-foreground);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===============================================
   NEWSLETTER SECTION
   =============================================== */

.newsletter-content {
    max-width: 32rem;
    margin: 0 auto;
    text-align: center;
}

.newsletter-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.5rem;
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.newsletter-icon i {
    width: 1.5rem;
    height: 1.5rem;
}

.newsletter-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.025em;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .newsletter-title {
        font-size: 1.875rem;
    }
}

.newsletter-subtitle {
    margin-top: 0.75rem;
    color: var(--muted-foreground);
}

.newsletter-form {
    margin-top: 2rem;
}

.newsletter-inputs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .newsletter-inputs {
        flex-direction: row;
    }
}

.newsletter-inputs .form-input {
    height: 3rem;
}

.newsletter-inputs .btn {
    height: 3rem;
    white-space: nowrap;
}

.newsletter-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
    text-align: left;
}

.newsletter-consent input {
    margin-top: 0.125rem;
}

.newsletter-consent label {
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--muted-foreground);
    cursor: pointer;
}

.newsletter-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0;
}

.newsletter-success i {
    width: 3rem;
    height: 3rem;
    color: var(--accent-foreground);
}

.newsletter-success p {
    font-weight: 500;
    color: var(--foreground);
}

/* ===============================================
   FOOTER
   =============================================== */

.footer {
    background-color: rgba(35, 52, 78, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .container {
    padding-top: 3rem;
    padding-bottom: 1.5rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
}

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

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-logo {
    display: inline-block;
}

.footer-logo img {
    height: 6rem;
    width: auto;
}

.footer-description {
    margin-top: 1rem;
    max-width: 24rem;
    font-size: 0.875rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-base);
}

.social-links a:hover {
    border-color: var(--accent);
    background-color: var(--accent);
    color: var(--primary);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(176, 163, 147, 0.3);
}

.social-links svg {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-nav h3 {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.9);
}

.footer-nav,
.footer-contact {
    position: relative;
    padding-left: 0;
}

@media (min-width: 1024px) {

    .footer-nav,
    .footer-contact {
        padding-left: 2rem;
    }

    .footer-nav::before,
    .footer-contact::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 1px;
        background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.2) 20%, rgba(255, 255, 255, 0.2) 80%, transparent 100%);
    }
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-base);
}

.footer-nav a:hover {
    color: white;
}

.footer-contact h3 {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact address {
    font-size: 0.875rem;
    font-style: normal;
    color: rgba(255, 255, 255, 0.6);
}

.footer-lang {
    margin-top: 1.5rem;
}

.footer-lang h4 {
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
}

.footer-lang-btns {
    display: flex;
    gap: 0.5rem;
}

.footer-lang-btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--footer-muted);
    transition: all var(--transition-base);
}

.footer-lang-btn:hover,
.footer-lang-btn.active {
    background-color: white;
    color: var(--footer-bg);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-bottom p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

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

.footer-links a {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-base);
}

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



.credit-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 2rem;
    padding: 0 1rem;
    overflow: hidden;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    transition: all var(--transition-base);
    color: #ffffff;
}

.credit-link:hover {
    border-color: var(--accent-foreground);
    background-color: rgba(255, 255, 255, 0.1);
}

.credit-text {
    transition: transform var(--transition-base);
}

.credit-link:hover .credit-text {
    transform: translateY(-150%);
}

.credit-hover {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 700;
    color: #ffffff;
    transform: translateY(150%);
    transition: transform var(--transition-base);
}

.credit-link:hover .credit-hover {
    transform: translateY(0);
}

.credit-hover i {
    width: 1rem;
    height: 1rem;
}

/* ===============================================
   BACK TO TOP BUTTON
   =============================================== */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    color: var(--primary-foreground);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(1rem);
    transition: all var(--transition-base);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
}

.back-to-top i {
    width: 1.25rem;
    height: 1.25rem;
}

/* ===============================================
   PAGE-SPECIFIC STYLES
   =============================================== */

/* Page Header */
.page-header {
    padding: 3rem 0;
    background-color: var(--background);
}

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

.page-title {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 500;
    letter-spacing: -0.025em;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .page-title {
        font-size: 3rem;
    }
}

.page-subtitle {
    margin-top: 1rem;
    font-size: 1.25rem;
    color: var(--muted-foreground);
}

/* Content Page Styles */
.content-section {
    padding: 3rem 0;
}

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

.prose {
    max-width: 65ch;
}

.prose h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--foreground);
}

.prose p {
    margin-bottom: 1rem;
    line-height: 1.75;
    color: rgba(0, 0, 0, 0.8);
}

.dark .prose p {
    color: rgba(255, 255, 255, 0.8);
}

.prose ul,
.prose ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
    line-height: 1.75;
    color: rgba(0, 0, 0, 0.8);
}

.dark .prose li {
    color: rgba(255, 255, 255, 0.8);
}

.prose ul {
    list-style-type: disc;
}

.prose ol {
    list-style-type: decimal;
}

.prose strong {
    font-weight: 600;
}

/* Info Box */
.info-box {
    padding: 1.5rem;
    background-color: var(--secondary);
    border: 1px solid var(--border);
}

.info-box p {
    margin-bottom: 0.5rem;
}

.info-box p:last-child {
    margin-bottom: 0;
}

/* ===============================================
   ANIMATIONS
   =============================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Centering reCAPTCHA */
.captcha-group {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

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

/* Staggered animation for cards */
.area-card:nth-child(1) {
    animation-delay: 0ms;
}

.area-card:nth-child(2) {
    animation-delay: 100ms;
}

.area-card:nth-child(3) {
    animation-delay: 200ms;
}

.area-card:nth-child(4) {
    animation-delay: 300ms;
}

.area-card:nth-child(5) {
    animation-delay: 400ms;
}

.blog-card:nth-child(1) {
    animation-delay: 0ms;
}

.blog-card:nth-child(2) {
    animation-delay: 100ms;
}

.blog-card:nth-child(3) {
    animation-delay: 200ms;
}

/* ===============================================
   ABOUT PAGE STYLES (Showcase Highlights & Hero)
   =============================================== */

/* About Hero Banner */
.about-hero {
    position: relative;
    width: 100%;
    height: 40vh;
    min-height: 300px;
    max-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .about-hero {
        height: 50vh;
        margin-bottom: 3rem;
    }
}

.about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.about-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    /* Ken Burns style animation for movement */
    animation: heroPan 25s ease-in-out infinite alternate;
}

@keyframes heroPan {
    0% {
        transform: scale(1.05) translate(0, 0);
    }
    100% {
        transform: scale(1.15) translate(-2%, 2%);
    }
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(35, 52, 78, 0.7), rgba(15, 23, 42, 0.85));
    z-index: 2;
}

.dark .about-hero-overlay {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.8), rgba(2, 6, 23, 0.95));
}

.about-hero-content {
    position: relative;
    z-index: 3;
    padding: 0 1.5rem;
    max-width: 800px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards 0.3s;
}

.about-hero-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .about-hero-title {
        font-size: 4rem;
        margin-bottom: 1rem;
    }
}

.about-hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .about-hero-subtitle {
        font-size: 1.25rem;
    }
}

/* Fix Breadcrumbs when preceded by Hero */
.about-hero + .breadcrumbs {
    margin-top: 0;
    background: transparent;
    padding-top: 1rem;
}

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

/* Highlight Badges */
.about-panel-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.about-highlight {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(35, 52, 78, 0.06) 0%, rgba(176, 163, 147, 0.1) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--foreground);
    transition: all var(--transition-base);
}

.about-highlight:hover {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(176, 163, 147, 0.15) 0%, rgba(176, 163, 147, 0.2) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.about-highlight i {
    width: 1rem;
    height: 1rem;
    color: var(--accent);
    flex-shrink: 0;
}

.dark .about-highlight {
    background: linear-gradient(135deg, rgba(176, 163, 147, 0.08) 0%, rgba(176, 163, 147, 0.12) 100%);
}

.dark .about-highlight:hover {
    background: linear-gradient(135deg, rgba(176, 163, 147, 0.15) 0%, rgba(176, 163, 147, 0.2) 100%);
}

.dark .about-highlight i {
    color: var(--ring);
}

/* ===============================================
   ABOUT PAGE CAROUSEL
   =============================================== */

.about-carousel-section {
    background-color: var(--muted);
}

.about-carousel {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    perspective: 1500px;
}

.about-carousel-track {
    position: relative;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Slides */
.about-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 0;
}

.about-carousel-slide.active {
    position: relative;
    opacity: 1;
    z-index: 2;
}

.about-carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* Navigation Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: rgba(35, 52, 78, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-base);
    backdrop-filter: blur(4px);
}

.carousel-arrow:hover {
    background: rgba(35, 52, 78, 0.85);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow i {
    width: 1.5rem;
    height: 1.5rem;
}

.carousel-prev {
    left: 1rem;
}

.carousel-next {
    right: 1rem;
}

/* Dot Indicators - below carousel */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    padding: 0;
}

.carousel-dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

.carousel-dot:hover:not(.active) {
    background: var(--accent);
    border-color: var(--accent);
    opacity: 1;
}

/* Mobile adjustments */
@media (max-width: 640px) {
    .carousel-arrow {
        width: 2.5rem;
        height: 2.5rem;
    }

    .carousel-arrow i {
        width: 1.25rem;
        height: 1.25rem;
    }

    .carousel-prev {
        left: 0.5rem;
    }

    .carousel-next {
        right: 0.5rem;
    }

    .carousel-dots {
        margin-top: 1rem;
        gap: 0.5rem;
    }

    .carousel-dot {
        width: 0.625rem;
        height: 0.625rem;
    }
}

/* ===============================================
   ADVANCED ANIMATION STYLES
   =============================================== */

/* Ripple Effect */
.ripple-container {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Magnetic Button Effect */
.magnetic {
    transition: transform 0.2s ease-out;
}

/* Scroll Animations Base */
.scroll-animate {
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.animate-in {
    opacity: 1;
}

/* Slide Up */
.slideUp {
    transform: translateY(40px);
}

.slideUp.animate-in {
    transform: translateY(0);
}

/* Slide Left */
.slideLeft {
    transform: translateX(40px);
}

.slideLeft.animate-in {
    transform: translateX(0);
}

/* Slide Right */
.slideRight {
    transform: translateX(-40px);
}

.slideRight.animate-in {
    transform: translateX(0);
}

/* Scale In */
.scaleIn {
    transform: scale(0.9);
}

.scaleIn.animate-in {
    transform: scale(1);
}

/* Fade In */
.fadeIn {
    opacity: 0;
}

.fadeIn.animate-in {
    opacity: 1;
}

/* Text Reveal Animation */
.text-reveal-container .word-reveal {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: var(--delay, 0s);
}

.text-reveal-container.reveal .word-reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Cards Base Style */
.area-card,
.blog-card,
.stat-card,
.sidebar-card,
.area-full-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.area-card:hover,
.blog-card:hover,
.stat-card:hover,
.sidebar-card:hover,
.area-full-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    border-color: var(--primary);
    transform: translateY(-4px);
}

/* Card 3D Hover & Shine Effect */
.area-card::before,
.blog-card::before,
.area-full-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(255, 255, 255, 0.1) 0%,
            transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.area-card:hover::before,
.blog-card:hover::before,
.area-full-card:hover::before {
    opacity: 1;
}

/* Typing Cursor */
.typing-cursor::after {
    content: '|';
    animation: blink 0.7s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Slide In Right Animation */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--accent-foreground));
    z-index: 9999;
    width: 0%;
    transition: width 0.1s ease;
}

/* Page Loader */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

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

.loader-logo {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 2rem;
    animation: pulse 1.5s infinite;
}

.loader-bar {
    width: 200px;
    height: 4px;
    background-color: var(--border);
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    width: 0%;
    background-color: var(--primary);
    animation: loading 0.8s ease forwards;
}

@keyframes loading {
    to {
        width: 100%;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Enhanced Button Styles */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* Link Arrow Enhanced */
.link-arrow {
    position: relative;
    overflow: hidden;
}

.link-arrow i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.link-arrow:hover i {
    transform: translateX(4px);
}

/* Area Icon Animation */
.area-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.area-card:hover .area-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Icon Bounce Animation */
@keyframes iconBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

.area-card:hover .area-icon i,
.stat-icon:hover i,
.sidebar-card-icon:hover i {
    animation: iconBounce 0.5s ease;
}

/* Social Links Animation */
.social-links a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links a:hover {
    transform: translateY(-4px) scale(1.1);
}

/* Nav Link Underline Animation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--foreground);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Mobile Menu Animation */
.mobile-nav {
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

/* Blog Card Hover Effects */
.blog-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover {
    transform: translateY(-8px);
}

.blog-card .blog-title {
    position: relative;
    display: inline;
    background-image: linear-gradient(transparent 90%, var(--accent) 90%);
    background-size: 0% 100%;
    background-repeat: no-repeat;
    transition: background-size 0.4s ease;
}

.blog-card:hover .blog-title {
    background-size: 100% 100%;
}

/* Newsletter Form Animation */
.newsletter-form {
    transition: all 0.3s ease;
}

.newsletter-inputs .form-input {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.newsletter-inputs .form-input:focus {
    transform: scale(1.02);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

/* Form Input Focus Animation */
.form-input,
.form-textarea {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-input:focus,
.form-textarea:focus {
    transform: scale(1.01);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

/* Back to Top Enhanced Animation */
.back-to-top {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-to-top:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.back-to-top i {
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    animation: bounceUp 0.5s infinite;
}

@keyframes bounceUp {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

/* Footer Credit Animation */
.credit-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.credit-link:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

/* Language Dropdown Animation */
.lang-dropdown {
    transform-origin: top right;
}

.lang-switcher.active .lang-dropdown {
    animation: dropdownSlide 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Hero Section Animations */
.hero-content {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-buttons {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Stagger children animation helper */
.stagger-children>* {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.stagger-children>*:nth-child(1) {
    animation-delay: 0.1s;
}

.stagger-children>*:nth-child(2) {
    animation-delay: 0.2s;
}

.stagger-children>*:nth-child(3) {
    animation-delay: 0.3s;
}

.stagger-children>*:nth-child(4) {
    animation-delay: 0.4s;
}

.stagger-children>*:nth-child(5) {
    animation-delay: 0.5s;
}

.stagger-children>*:nth-child(6) {
    animation-delay: 0.6s;
}

/* Smooth page transitions */
main {
    animation: pageIn 0.5s ease forwards;
}

@keyframes pageIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .scroll-animate {
        opacity: 1;
        transform: none;
    }
}

/* ===============================================
   WHATSAPP FLOATING BUTTON
   =============================================== */

.whatsapp-float {
    position: fixed;
    bottom: 6rem;
    right: 1.5rem;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
    .whatsapp-float {
        bottom: 6rem;
        right: 2rem;
        width: 4rem;
        height: 4rem;
    }
}

.whatsapp-float svg {
    width: 1.75rem;
    height: 1.75rem;
    fill: currentColor;
}

@media (min-width: 768px) {
    .whatsapp-float svg {
        width: 2rem;
        height: 2rem;
    }
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float:active {
    transform: scale(1.05);
}

/* ===============================================
   BLOG PAGE STYLES
   =============================================== */
.blog-filters {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 1024px) {
    .blog-filters {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.category-btn:hover {
    background-color: var(--muted);
}

.category-btn.active {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.blog-search {
    position: relative;
    width: 100%;
    max-width: 20rem;
}

.blog-search i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    color: var(--muted-foreground);
}

.blog-search input {
    width: 100%;
    height: 2.5rem;
    padding-left: 2.5rem;
    border: 1px solid var(--border);
    background-color: var(--background);
    color: var(--foreground);
    font-size: 0.875rem;
}

.blog-search input:focus {
    outline: none;
    border-color: var(--ring);
}

.no-posts {
    grid-column: 1 / -1;
    padding: 4rem 0;
    text-align: center;
}

.no-posts p {
    color: var(--muted-foreground);
}

/* ===============================================
   BLOG POST STYLES (Single Page)
   =============================================== */
.blog-post-page {
    padding-bottom: 4rem;
}

.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
}

.post-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-meta i {
    width: 1rem;
    height: 1rem;
}

.post-category {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.post-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .post-title {
        font-size: 2rem;
    }
}

.post-body {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--foreground);
}

.post-body p {
    margin-bottom: 1.5rem;
    color: rgba(0, 0, 0, 0.8);
}

.dark .post-body p {
    color: rgba(255, 255, 255, 0.8);
}

.post-body h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--foreground);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.post-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--foreground);
    font-weight: 500;
    transition: color var(--transition-base);
}

.btn-back:hover {
    color: var(--primary);
}

/* ===============================================
   CONTACT PAGE STYLES
   =============================================== */

.contact-grid {
    display: grid;
    gap: 3rem;
}

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

.contact-form-wrapper {
    order: 2;
    background-color: var(--card);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

@media (min-width: 1024px) {
    .contact-form-wrapper {
        order: 1;
        padding: 3rem;
    }
}

.contact-info {
    order: 1;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-info {
        order: 2;
        padding-top: 1rem;
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--border);
    background-color: var(--background);
    color: var(--foreground);
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.form-input {
    height: 3.25rem;
}

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

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(35, 52, 78, 0.1);
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.form-consent input {
    margin-top: 0.25rem;
}

.form-consent label {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--muted-foreground);
    cursor: pointer;
}

/* Contact Info Details */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.contact-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    background-color: var(--muted);
    color: var(--primary);
    border-radius: var(--radius);
}

.contact-item-icon i {
    width: 1.5rem;
    height: 1.5rem;
}

.contact-item-info p:first-child {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
    font-family: var(--font-serif);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-item-info p:last-child {
    font-size: 1rem;
    color: var(--muted-foreground);
    line-height: 1.5;
}

/* Social and Service Sections in Contact Page */
.contact-section {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.contact-section h2 {
    margin-bottom: 1.5rem;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--foreground);
}

.social-grid {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border: 1px solid var(--border);
    border-radius: 50%;
    background-color: var(--card);
    color: var(--foreground);
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--primary);
    background-color: var(--primary);
    color: var(--primary-foreground);
    transform: translateY(-3px);
}

.social-link svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Service Types */
.service-types {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .service-types {
        grid-template-columns: 1fr 1fr;
    }
}

.service-type {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.service-type:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.service-type-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--primary);
    color: var(--primary-foreground);
    border-radius: 50%;
}

.service-type-icon i {
    width: 1.25rem;
    height: 1.25rem;
}

.service-type span {
    font-weight: 500;
    color: var(--foreground);
}

/* Map */
.contact-map {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.contact-map iframe {
    width: 100%;
    display: block;
    height: 350px;
}

/* Success Message */
.contact-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 2rem;
    background-color: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.contact-success .success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    margin-bottom: 2rem;
    background-color: var(--secondary);
    color: var(--primary);
    border-radius: 50%;
}

.contact-success .success-icon i {
    width: 2.5rem;
    height: 2.5rem;
}

.contact-success h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.contact-success p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

/* ===============================================
   LEGAL PAGE STYLES
   =============================================== */

.legal-page {
    padding: 5rem 0;
}

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

.legal-content {
    max-width: 56rem;
    margin: 0 auto;
}

.legal-header {
    margin-bottom: 3rem;
}

.legal-header h1 {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 500;
    letter-spacing: -0.025em;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .legal-header h1 {
        font-size: 3rem;
    }
}

.legal-header .update-date {
    margin-top: 1rem;
    color: var(--muted-foreground);
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    margin-bottom: 1rem;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--foreground);
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.75;
    color: rgba(0, 0, 0, 0.8);
}

.dark .legal-section p {
    color: rgba(255, 255, 255, 0.8);
}

.legal-section ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.75;
    color: rgba(0, 0, 0, 0.8);
}

.dark .legal-section li {
    color: rgba(255, 255, 255, 0.8);
}

.legal-section strong {
    font-weight: 600;
}

.contact-box {
    padding: 1.5rem;
    background-color: var(--secondary);
    border: 1px solid var(--border);
}

.contact-box p {
    margin-bottom: 0.5rem;
}

.contact-box p:last-child {
    margin-bottom: 0;
}


/* ===============================================
   COOKIE CONSENT BANNER
   =============================================== */

.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    width: calc(100% - 2rem);
    max-width: 48rem;
    padding: 1.5rem;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);

    /* Glassmorphism support */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.dark .cookie-banner {
    background-color: rgba(30, 41, 59, 0.95);
}

.cookie-banner.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        align-items: center;
    }
}

.cookie-text {
    flex: 1;
}

.cookie-text h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--foreground);
}

.cookie-text p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--muted-foreground);
}

.cookie-text a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-text a:hover {
    color: var(--primary-dark);
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .cookie-actions {
        width: 100%;
        flex-direction: column;
    }

    .cookie-actions .btn {
        width: 100%;
        justify-content: center;
    }
}


/* ===============================================
   CONTACT SUCCESS MESSAGE
   =============================================== */
.contact-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem;
    min-height: 500px;
    /* Preserve height to match form approx height */
    animation: fadeIn 0.5s ease-out;
    width: 100%;
}

.contact-success .success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background-color: rgba(37, 211, 102, 0.1);
    color: #25d366;
    margin-bottom: 1rem;
}

.contact-success .success-icon i {
    width: 2.5rem;
    height: 2.5rem;
}

.contact-success h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--foreground);
    line-height: 1.2;
}

.contact-success p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* --- Added Footer Credits Styles --- */
.footer-credits {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .footer-credits {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }
}
