/* ========================================
   PSYCHOLOGY RCA - MODERN DESIGN SYSTEM
   ======================================== */

/* CSS Variables - Design System */
:root {
    /* Colors */
    --primary: #1F4B6B;
    --primary-dark: #163952;
    --primary-light: #2E5F88;
    --accent: #7A9B8E;
    --accent-light: #9DB5AA;
    --accent-dark: #5F7A6F;
    --neutral-bg: #F8F7F4;
    --neutral-light: #FFFFFF;
    --text-dark: #2C2C2C;
    --text-muted: #666666;
    --border-color: #E0DCD6;
    --success: #2FA863;
    --error: #D9534F;

    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 5rem;

    /* Border & Shadow */
    --border-radius: 8px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition: all 0.3s ease-in-out;
}

/* ========================================
   GLOBAL STYLES
   ======================================== */

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

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

body {
    font-family: var(--font-secondary);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--neutral-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

.skip-to-main {
    position: absolute;
    top: -9999px;
    left: -9999px;
    z-index: 999;
}

.skip-to-main:focus {
    position: fixed;
    top: 0;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 1rem;
    z-index: 10000;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-dark);
    margin-bottom: var(--spacing-md);
}

h1 {
    font-family: 'Lora', serif;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

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

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
}

h5 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-dark);
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-muted);
    line-height: 1.7;
}

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

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

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

main {
    min-height: calc(100vh - 200px);
}

/* ========================================
   NAVIGATION BAR
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--neutral-light);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    transition: var(--transition);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 600;
    color: var(--primary);
    font-size: 1.25rem;
    transition: var(--transition);
}

.navbar-logo:hover {
    color: var(--accent);
}

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

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    display: none;
}

@media (min-width: 768px) {
    .logo-text {
        display: inline;
    }
}

/* Navigation Menu */
.nav-menu {
    display: none;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

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

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

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

.nav-link:hover::after,
.nav-link:focus::after {
    width: 80%;
}

.nav-cta {
    background: var(--primary);
    color: var(--neutral-light) !important;
    border-radius: var(--border-radius);
}

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

.nav-cta:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

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

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* Mobile Menu (Responsive) */
@media (max-width: 767px) {
    .nav-menu {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--neutral-light);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        display: flex;
        max-height: 400px;
    }

    .nav-link {
        padding: var(--spacing-md);
        border-bottom: 1px solid var(--border-color);
    }
}

/* Navbar Scroll Effect */
body {
    padding-top: 70px;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-lg);
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    text-decoration: none;
    font-family: var(--font-secondary);
}

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

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

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--neutral-light);
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btn-block {
    width: 100%;
}

.btn-small {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.9rem;
}

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

.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--neutral-light);
    padding: var(--spacing-3xl) var(--spacing-md);
    text-align: center;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(20px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-title {
    color: var(--neutral-light);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    animation: slideInDown 0.8s ease-out;
}

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

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    animation: slideInUp 0.8s ease-out 0.2s both;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.hero-ctas {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
    animation: fadeIn 0.8s ease-out 0.4s both;
}

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

.hero-ctas .btn {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1.1rem;
}

.hero-contact-info {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 0.8s ease-out 0.6s both;
}

.contact-quick {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--neutral-light);
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
}

.contact-quick:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   SECTION STYLING
   ======================================== */

section {
    padding: var(--spacing-3xl) var(--spacing-md);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-header h2 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-md);
}

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

/* ========================================
   TRUST SECTION
   ======================================== */

.trust-section {
    background: var(--neutral-light);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.trust-card {
    background: var(--neutral-bg);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

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

.trust-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: var(--spacing-md);
}

.trust-card h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.trust-card p {
    color: var(--text-muted);
    margin: 0;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-section {
    background: var(--neutral-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

@media (max-width: 767px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
}

.about-text h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

.about-text p {
    margin-bottom: var(--spacing-md);
}

.expertise-box,
.approach-box {
    background: var(--neutral-light);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-lg);
    border-left: 4px solid var(--accent);
}

.expertise-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.expertise-list li {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
}

.expertise-list li:last-child {
    border-bottom: none;
}

.about-image {
    position: relative;
}

.about-photo {
    width: 100%;
    height: auto;
    max-width: 350px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services-section {
    background: var(--neutral-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-3xl);
}

.service-card {
    background: var(--neutral-bg);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-muted);
    margin: 0;
    flex-grow: 1;
}

/* Featured Services */
.featured-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-3xl);
    padding-top: var(--spacing-3xl);
    border-top: 2px solid var(--border-color);
}

.featured-service {
    background: linear-gradient(135deg, rgba(31, 75, 107, 0.05) 0%, rgba(122, 155, 142, 0.05) 100%);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent);
}

.featured-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: var(--spacing-md);
}

.featured-service-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-lg);
    display: block;
    object-fit: cover;
}

.featured-service h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

.featured-service p {
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
}

.learn-more {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: var(--transition);
}

.learn-more:hover {
    color: var(--accent-dark);
    transform: translateX(4px);
}

/* ========================================
   EDUCATIONAL SECTION
   ======================================== */

.educational-section {
    background: var(--neutral-bg);
}

.video-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

@media (max-width: 767px) {
    .video-container {
        grid-template-columns: 1fr;
    }
}

.video-frame {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-frame iframe {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.video-description h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

.video-description p {
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
}

.education-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    margin-top: var(--spacing-lg);
    display: block;
    object-fit: cover;
    transition: var(--transition);
}

.education-image:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* ========================================
   RATES SECTION
   ======================================== */

.rates-section {
    background: var(--neutral-light);
}

.rates-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.rate-card {
    background: var(--neutral-bg);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.rate-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.rate-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: var(--spacing-md);
}

.rate-card h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

.rate-details {
    color: var(--text-muted);
}

.rate-details p {
    margin-bottom: var(--spacing-sm);
}

.rate-details strong {
    color: var(--text-dark);
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-section {
    background: var(--neutral-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
}

@media (max-width: 767px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* Contact Form */
.contact-form-wrapper h3,
.contact-info-wrapper h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-lg);
}

.contact-form {
    background: var(--neutral-light);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--neutral-light);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(31, 75, 107, 0.1);
}

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

/* Form Response Message */
#formResponse {
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    display: none;
}

#formResponse.success {
    background: rgba(47, 168, 99, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
    display: block;
}

#formResponse.error {
    background: rgba(217, 83, 79, 0.1);
    color: var(--error);
    border: 1px solid var(--error);
    display: block;
}

/* Contact Info */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
}

.contact-method {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
}

.contact-method:last-of-type {
    border-bottom: none;
}

.contact-method h4 {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--primary);
    font-weight: 500;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.contact-cta {
    background: linear-gradient(135deg, rgba(31, 75, 107, 0.1) 0%, rgba(122, 155, 142, 0.1) 100%);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    margin-top: var(--spacing-lg);
}

.contact-cta p {
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

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

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

.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.9);
    padding: var(--spacing-3xl) var(--spacing-md) var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h4 {
    color: var(--neutral-light);
    margin-bottom: var(--spacing-md);
    font-family: var(--font-heading);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-sm);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: var(--accent-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--neutral-light);
    text-decoration: underline;
}

/* ========================================
   FLOATING BUTTONS
   ======================================== */

.floating-btn {
    position: fixed;
    right: var(--spacing-lg);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-light);
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 500;
    text-decoration: none;
    cursor: pointer;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn {
    bottom: 30px;
    left: var(--spacing-lg);
    right: auto;
    background: #25D366;
}

.whatsapp-btn:hover {
    background: #1ebc56;
}

@media (max-width: 767px) {
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        right: var(--spacing-md);
    }

    .whatsapp-btn {
        bottom: 25px;
        left: var(--spacing-md);
        right: auto;
    }
}

/* Mobile Text for Floating Buttons */
.floating-btn span {
    position: absolute;
    right: 70px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    font-size: 0.85rem;
}

.floating-btn:hover span {
    opacity: 1;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: var(--spacing-lg);
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--neutral-light);
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 499;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.back-to-top:not(:hidden) {
    display: flex;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    :root {
        --spacing-xl: 2.5rem;
        --spacing-3xl: 3.5rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    :root {
        --spacing-md: 1rem;
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
        --spacing-3xl: 2.5rem;
    }

    section {
        padding: var(--spacing-xl) var(--spacing-md);
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .hero {
        min-height: 500px;
        padding: var(--spacing-2xl) var(--spacing-md);
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }
}

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

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

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

.mt-sm {
    margin-top: var(--spacing-sm);
}

.mt-md {
    margin-top: var(--spacing-md);
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mb-sm {
    margin-bottom: var(--spacing-sm);
}

.mb-md {
    margin-bottom: var(--spacing-md);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.pt-lg {
    padding-top: var(--spacing-lg);
}

.pb-lg {
    padding-bottom: var(--spacing-lg);
}

/* ========================================
   ANIMATIONS & TRANSITIONS
   ======================================== */

/* ========================================
   POPIA & COOKIE CONSENT POPUP
   ======================================== */

.cookie-popup {
    font-size: 0.875rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: fixed;
    bottom: -6.25rem;
    left: 1.25rem;
    right: 1.25rem;
    padding: 0.625rem 0.9375rem;
    box-shadow: 0 0 0.625rem 0 rgba(0, 0, 0, 0.15);
    line-height: 150%;
    transition: opacity 0.5s;
    opacity: 0;
    z-index: 99;
    pointer-events: none;
}

.cookie-popup--short {
    right: none;
    width: 21.875rem;
}

.cookie-popup--dark {
    background: #000;
    color: #fff;
}

.cookie-popup--not-accepted {
    z-index: 99;
    opacity: 1;
    animation: cookie-popup-in 0.5s ease forwards;
    width: 400px;
    pointer-events: auto;
}

.cookie-popup--accepted {
    opacity: 0;
    pointer-events: none;
}

.cookie-popup a {
    color: skyblue;
}

.cookie-popup a:visited {
    color: skyblue;
    text-decoration: none;
}

.cookie-popup-actions {
    flex: 1;
    text-align: right;
}

.cookie-popup-actions button {
    color: orange;
    border: none;
    background: none;
    font-family: inherit;
    font-style: inherit;
    font-size: inherit;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.75rem;
    padding: 0;
    cursor: pointer;
}

.cookie-popup-actions button:hover {
    text-decoration: underline;
}

@keyframes cookie-popup-in {
    from {
        bottom: -6.25rem;
    }
    to {
        bottom: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
