/* ============================================
   createConsens - Professional Mediation & Coaching
   Main Stylesheet
   ============================================ */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* Colors */
    --primary-blue: #003366;
    --primary-blue-light: #004488;
    --primary-blue-dark: #002244;
    --pure-white: #FFFFFF;
    --accent-gold: #B8860B;
    --accent-gold-light: #D4A84B;
    --light-gray: #F8F9FA;
    --medium-gray: #6C757D;
    --dark-gray: #343A40;
    --border-gray: #E9ECEF;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.92);
    --glass-bg-dark: rgba(0, 51, 102, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-blur: 12px;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: 100px;
    --section-padding-mobile: 60px;
    --container-max: 1200px;
    --container-padding: 20px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 51, 102, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 51, 102, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 51, 102, 0.12);
    --shadow-xl: 0 20px 50px rgba(0, 51, 102, 0.15);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 15px;
    --radius-lg: 20px;
    --radius-full: 50px;
}

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

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--pure-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
/* Skip Links */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-blue);
    color: var(--pure-white);
    padding: 8px 16px;
    z-index: 10000;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 0;
}

/* Focus Indicators */
*:focus {
    outline: 3px solid var(--accent-gold);
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 3px solid var(--accent-gold);
    outline-offset: 2px;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-blue);
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 20px;
}

h3 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
}

h4 {
    font-size: 1.3rem;
}

p {
    margin-bottom: 1rem;
}

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

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

.highlight {
    color: var(--accent-gold);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--medium-gray);
    margin-top: 15px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-normal);
}

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

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

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

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--pure-white);
}

.btn-text {
    background: transparent;
    color: var(--primary-blue);
    padding: 8px 16px;
}

.btn-text:hover {
    color: var(--accent-gold);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

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

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

.logo img {
    height: 60px;
    width: auto;
    transition: transform var(--transition-normal);
}

.navbar.scrolled .logo img {
    height: 50px;
}

.logo:hover img {
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    font-weight: 500;
    color: var(--dark-gray);
    position: relative;
    padding: 5px 0;
}

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

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

.nav-cta {
    background: var(--primary-blue);
    color: var(--pure-white) !important;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--accent-gold);
    transform: translateY(-2px);
}

/* Mobile Navigation */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--primary-blue);
    transition: all var(--transition-normal);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.mobile-nav.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.mobile-nav a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--primary-blue);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: linear-gradient(135deg, var(--light-gray) 0%, rgba(0, 51, 102, 0.03) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(184, 134, 11, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

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

.hero-text h1 {
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--medium-gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-badges {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--pure-white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-blue);
}

.hero-badge i {
    color: var(--accent-gold);
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

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

.hero-portrait {
    width: 100%;
    max-width: 450px;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* Gold border removed for cleaner look */

/* ============================================
   PAIN BRIDGE SECTION
   ============================================ */
.pain-bridge {
    padding: 80px 0;
    background: var(--pure-white);
}

.pain-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.pain-card {
    text-align: center;
    padding: 35px 25px;
    background: var(--light-gray);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

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

.pain-card i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.pain-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.pain-card p {
    font-size: 0.95rem;
    color: var(--medium-gray);
    margin: 0;
}

.pain-transition {
    text-align: center;
    font-size: 1.4rem;
    font-family: var(--font-heading);
    color: var(--primary-blue);
    font-style: italic;
}

/* ============================================
   TRUST & CREDENTIALS SECTION
   ============================================ */
.trust-section {
    padding: var(--section-padding) 0;
    background: var(--light-gray);
}

.trust-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
}

.stat-number span {
    color: var(--accent-gold);
}

.stat-label {
    font-size: 1rem;
    color: var(--medium-gray);
    margin-top: 8px;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.credential-card {
    background: var(--pure-white);
    padding: 35px 25px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

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

.credential-card.featured {
    border: 2px solid var(--accent-gold);
}

.credential-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    border-radius: 50%;
    color: var(--pure-white);
    font-size: 1.8rem;
}

.credential-card.featured .credential-icon {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
}

.credential-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.credential-card p {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin: 0;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    padding: var(--section-padding) 0;
    background: var(--pure-white);
}

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

.service-card {
    background: var(--light-gray);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-blue);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pure-white);
    border-radius: var(--radius-md);
    margin-bottom: 25px;
    font-size: 2.5rem;
    color: var(--primary-blue);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--primary-blue);
    color: var(--pure-white);
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card > p {
    color: var(--medium-gray);
    margin-bottom: 20px;
}

.service-topics {
    list-style: none;
    margin-bottom: 20px;
}

.service-topics li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.service-topics i {
    color: var(--accent-gold);
    margin-top: 4px;
}

.service-expand {
    color: var(--primary-blue);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}

.service-expand i {
    transition: transform var(--transition-fast);
}

.service-card:hover .service-expand i {
    transform: translateX(5px);
}

/* Service Expanded Content */
.service-detail {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-gray);
}

.service-card.expanded .service-detail {
    display: block;
}

.service-card.expanded .service-expand i {
    transform: rotate(90deg);
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-section {
    padding: var(--section-padding) 0;
    background: var(--light-gray);
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 60px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--border-gray);
}

.process-line-fill {
    position: absolute;
    top: 40px;
    left: 10%;
    height: 3px;
    background: var(--accent-gold);
    width: 0;
    transition: width 1.5s ease;
}

.process-section.animate .process-line-fill {
    width: 80%;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pure-white);
    border: 3px solid var(--border-gray);
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    transition: all var(--transition-normal);
}

.process-section.animate .step-number {
    border-color: var(--accent-gold);
    background: var(--accent-gold);
    color: var(--pure-white);
}

.process-step h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--medium-gray);
    max-width: 200px;
    margin: 0 auto;
}

/* ============================================
   WHY JULIA SECTION
   ============================================ */
.why-section {
    padding: var(--section-padding) 0;
    background: var(--pure-white);
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-text h2 {
    margin-bottom: 20px;
}

.why-text > p {
    font-size: 1.15rem;
    color: var(--medium-gray);
    margin-bottom: 30px;
}

.why-features {
    list-style: none;
}

.why-features li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.why-features i {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-top: 3px;
}

.why-quote {
    margin-top: 35px;
    padding: 25px 30px;
    background: var(--light-gray);
    border-left: 4px solid var(--accent-gold);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--primary-blue);
}

.why-image {
    position: relative;
}

.why-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    padding: var(--section-padding) 0;
    background: var(--primary-blue);
    color: var(--pure-white);
}

.testimonials-section .section-header h2 {
    color: var(--pure-white);
}

.testimonials-section .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 35px;
    position: relative;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 4rem;
    font-family: var(--font-heading);
    color: var(--accent-gold);
    opacity: 0.5;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.author-info strong {
    display: block;
    color: var(--accent-gold);
}

.author-info span {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Testimonial Flip Effect */
.testimonial-card .testimonial-back {
    display: none;
}

.testimonial-card.flipped .testimonial-front {
    display: none;
}

.testimonial-card.flipped .testimonial-back {
    display: block;
}

.testimonial-back {
    font-size: 0.95rem;
    line-height: 1.6;
}

.testimonial-back h4 {
    color: var(--accent-gold);
    margin-bottom: 15px;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: var(--section-padding) 0;
    background: var(--light-gray);
}

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

.faq-item {
    background: var(--pure-white);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-blue);
    transition: all var(--transition-fast);
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-question i {
    color: var(--accent-gold);
    transition: transform var(--transition-normal);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 25px 25px;
    color: var(--medium-gray);
    line-height: 1.7;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: var(--section-padding) 0;
    background: var(--pure-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form-wrapper {
    background: var(--light-gray);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid var(--border-gray);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: var(--pure-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

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

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.form-checkbox input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
}

.form-checkbox label {
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.contact-info {
    padding: 20px 0;
}

.contact-info h3 {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.contact-item i {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    border-radius: 50%;
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.calendly-wrapper {
    margin-top: 40px;
    padding: 30px;
    background: var(--light-gray);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent-gold);
}

.calendly-wrapper h4 {
    margin-bottom: 15px;
}

.calendly-wrapper p {
    color: var(--medium-gray);
    margin-bottom: 20px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-blue);
    color: var(--pure-white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 15px;
    line-height: 1.7;
}

.footer h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

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

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

.back-to-top {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gold);
    color: var(--pure-white);
    border-radius: 50%;
    transition: all var(--transition-normal);
}

.back-to-top:hover {
    transform: translateY(-3px);
    background: var(--accent-gold-light);
    color: var(--pure-white);
}

/* ============================================
   COOKIE CONSENT
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-top: 1px solid var(--border-gray);
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-text h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.cookie-text p {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin: 0;
}

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

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-buttons .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-badges {
        justify-content: center;
    }

    .cta-buttons {
        justify-content: center;
    }

    .hero-portrait {
        max-width: 350px;
    }

    .credentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .process-timeline {
        flex-direction: column;
        gap: 40px;
    }

    .process-timeline::before {
        top: 0;
        bottom: 0;
        left: 40px;
        right: auto;
        width: 3px;
        height: auto;
    }

    .process-line-fill {
        top: 0;
        left: 40px;
        width: 3px;
        height: 0;
    }

    .process-section.animate .process-line-fill {
        width: 3px;
        height: 100%;
    }

    .process-step {
        display: flex;
        align-items: center;
        gap: 30px;
        text-align: left;
    }

    .step-number {
        margin: 0;
        flex-shrink: 0;
    }

    .process-step p {
        max-width: none;
        margin: 0;
    }

    .why-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding-top: 80px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-portrait {
        max-width: 300px;
    }

    .pain-cards {
        grid-template-columns: 1fr;
    }

    .trust-stats {
        gap: 40px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .credentials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

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

@media (max-width: 480px) {
    .btn-lg {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .hero-portrait {
        max-width: 280px;
    }

    .contact-form-wrapper {
        padding: 25px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .navbar,
    .cookie-banner,
    .back-to-top,
    .mobile-nav {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    a {
        text-decoration: underline;
    }

    .hero {
        min-height: auto;
        padding: 20px 0;
    }
}
