:root {
    --bg-color: #F9F5EF;
    /* Off-white / Cream */
    --text-color: #1a1a1a;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    --font-hand: 'Caveat', cursive;
    --spacing-unit: 1rem;
}

/* --- Global & Reset --- */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Header --- */
.site-header {
    width: 100%;
    position: fixed;
    /* Sticky header */
    top: 0;
    left: 0;
    z-index: 1100;
    /* Ensure on top of mobile menu overlay (z-index: 1000) */
    padding: 1rem 0;
    /* Reduced padding for sticky state */
    background: rgba(249, 245, 239, 0.85);
    /* Semi-transparent cream bg */
    backdrop-filter: blur(10px);
    /* Glass effect */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
    /* For glare effect */
}

/* Glare Effect on Header */
.site-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.6) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: logoShimmer 12s infinite;
    pointer-events: none;
    z-index: 1;
}

.header-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    line-height: 1.4;
    letter-spacing: 0.02em;
    position: relative;
}

/* Centered Navigation */
.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}

.nav-link {
    font-family: 'PT Mono', monospace;
    font-size: 1rem;
    /* Adjusted for Mono font */
    color: var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    /* Reduced for Mono */
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #D4AF37;
}

/* Responsive adjust for header */
@media (max-width: 900px) {
    .header-content {
        flex-wrap: nowrap;
        gap: 0.5rem;
        justify-content: center;
        /* Center logo */
        align-items: center;
    }

    .main-nav {
        display: none;
        /* Hide menu on mobile for now - per screenshot requirement to clean up */
    }

    .company-info {
        display: none;
    }

    .logo-wrapper,
    .logo {
        height: 40px;
        /* Slightly smaller logo on mobile */
        width: auto;
        flex-shrink: 0;
        /* Don't shrink logo */
    }

    .main-nav {
        position: static;
        transform: none;
        order: 3;
        width: auto;
        /* Auto width to fit content */
        justify-content: flex-end;

        /* Mobile adjustments */
        margin: 0;
        flex-wrap: nowrap;
        /* Single line */
        gap: 1.5rem;
        /* Wider gap */
        overflow-x: auto;
        /* Scroll if too wide */
        padding-bottom: 0px;
        /* Hide scrollbar visually */
        -webkit-overflow-scrolling: touch;

        /* Hide scrollbar */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .main-nav::-webkit-scrollbar {
        display: none;
    }

    .nav-link {
        font-size: 0.85rem;
        /* Slightly larger font */
        white-space: nowrap;
        /* Don't wrap text */
    }
}


/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    /* Above overlay */
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #1A2421;
    margin: 6px 0;
    transition: 0.3s;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.mobile-link {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #1A2421;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.3s ease;
    position: relative;
}

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

.mobile-link:hover::after {
    width: 100%;
}

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

.mobile-nav-overlay.active .mobile-link:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-nav-overlay.active .mobile-link:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-nav-overlay.active .mobile-link:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-nav-overlay.active .mobile-link:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-nav-overlay.active .mobile-link:nth-child(5) {
    transition-delay: 0.5s;
}

.mobile-nav-overlay.active .mobile-link:nth-child(6) {
    transition-delay: 0.6s;
}

/* Mobile Close Button */
.mobile-close-btn {
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--gold);
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.mobile-close-btn span:first-child {
    font-size: 1.5rem;
    line-height: 1;
}

.mobile-nav-overlay.active .mobile-close-btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}

.mobile-close-btn:hover {
    background: var(--gold);
    color: #1A2421;
    transform: translateY(0) scale(1.05);
}

/* Hamburger Animation */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

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

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

/* Mobile-specific header height reduction */
@media (max-width: 900px) {
    .site-header {
        padding: 1rem 0;
    }

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

    .logo {
        height: 48px;
        width: auto;
        /* Image logo styles */
    }
}

/* Logo Styles */
.logo-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
    /* Ensure glare stays within bounds */
    border-radius: 4px;
    /* Soft edges matching logo */
}

.logo-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: logoShimmer 4s infinite;
}

@keyframes logoShimmer {
    0% {
        left: -150%;
    }

    40%,
    100% {
        left: 200%;
    }
}

.logo {
    height: 48px;
    width: auto;
    /* Image logo styles */
    display: block;
    position: relative;
    z-index: 5;
    /* Ensure logo is above any potential background overlays */
}

.company-info {
    display: block;
    margin-left: 2rem;
    margin-right: auto;
    color: #1A2421;
    /* Dark Green/Black */
    font-family: 'PT Mono', monospace;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.site-meta {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-family: 'PT Mono', monospace;
    font-size: 0.9rem;
    letter-spacing: 0;
}

/* --- Hero Section --- */
#hero.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 8rem 0 2rem;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.tomato-container {
    position: relative;
    margin-bottom: 2rem;
    z-index: 1;
    perspective: 1000px;
}

.video-3d-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.hero-video {
    width: 58vw;
    max-width: 1100px;
    min-width: 300px;
    height: auto;
    display: block;
    mix-blend-mode: multiply;
    /* Assumes video has white background to blend with cream bg */
    filter: saturate(1.1) contrast(1.1);
    object-fit: cover;
    transform: translateZ(20px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    /* Soft shadow for depth */
    border-radius: 20px;
    /* Optional: smooth corners usually look better with shadow */
}

/* Video Controls */
.video-controls {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Let clicks pass through if not on buttons */
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateZ(40px);
}

.tomato-container:hover .video-controls {
    opacity: 1;
}

.play-btn {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 3rem;
    color: #D4AF37;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.play-btn:hover {
    transform: scale(1.1);
    background: white;
}

.play-btn.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Show play button on hover even if playing, or maybe bottom corner controls? 
   User asked for "Press play to start". Usually central button. 
   Sound settings usually in corner. */

.sound-controls {
    pointer-events: auto;
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    border-radius: 30px;
    opacity: 0;
    transition: opacity 0.3s;
}

/* Show sound controls on container hover or if video is playing? 
   Let's show on hover. */
.tomato-container:hover .sound-controls {
    opacity: 1;
}

.volume-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    color: #333;
}

.volume-slider {
    width: 80px;
    /* Short slider */
    accent-color: #D4AF37;
    cursor: pointer;
}

.floating-text {
    transform: translateZ(60px);
    position: absolute;
    top: 30%;
    left: -140px;
    font-family: var(--font-hand);
    font-size: 0.8rem;
    transform: rotate(-10deg);
    line-height: 1.4;
    color: #333;
}

.arrow-icon {
    display: block;
    margin-top: 5px;
    transform: rotate(10deg);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    text-align: center;
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: -0.04em;
    margin-bottom: 0;
    margin-top: 2rem;
    /* Visual overlap adjustment */
    z-index: 2;
    position: relative;
}

.hero-title .line {
    display: block;
}

/* --- FAQ Section --- */
.faq-section {
    padding: 6rem 0;
    background-color: var(--bg-color);
}

.faq-container {
    max-width: 900px;
    /* Narrower container for readability */
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
}

.faq-item {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.faq-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border-color: rgba(212, 175, 55, 0.2);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.1rem;
    color: #1A2421;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #D4AF37;
}

.faq-icon {
    font-size: 1.5rem;
    color: #ccc;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #D4AF37;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-content {
    padding: 0 2rem 2rem 2rem;
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}

/* --- Footer --- */
.site-footer {
    width: 100%;
    padding-bottom: 3rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: minmax(280px, 1.2fr) minmax(350px, 1.8fr) minmax(220px, 1fr);
    gap: 3rem;
    align-items: flex-start;
    max-width: 1600px;
    margin: 0 auto;
    padding-bottom: 3rem;
}

.footer-branding {
    text-align: left;
}

.footer-logo {
    max-width: 80px;
    margin-bottom: 1.5rem;
    display: block;
}

.footer-tagline {
    color: rgba(26, 26, 26, 0.6);
    line-height: 1.6;
    font-weight: 400;
    margin: 0;
    font-size: 0.9rem;
}

.footer-section {
    text-align: left;
}

.footer-section-title {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.footer-section-content {
    color: rgba(26, 26, 26, 0.7);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-section-content p {
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
}

.footer-section-content a {
    color: rgba(26, 26, 26, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section-content a:hover {
    color: #D4AF37;
}

.footer-copyright {
    text-align: center;
    color: rgba(26, 26, 26, 0.5);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* --- Advantages Section --- */
.advantages {
    width: 100%;
    padding: 4rem 0 6rem;
    background-color: var(--bg-color);
}

.advantages-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    /* Limit width for better spacing on large screens */
}

.stat-item {
    text-align: center;
    flex: 1 1 200px;
    /* Responsive flex basis */
}

@keyframes shimmer {
    0% {
        background-position: -200%;
    }

    100% {
        background-position: 200%;
    }
}

.stat-number,
.stat-suffix {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1;
    letter-spacing: -0.05em;
    display: inline-block;

    /* Shimmer Effect */
    background: linear-gradient(110deg, #1a1a1a 45%, #888 50%, #1a1a1a 55%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 6s infinite linear;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #888;
    /* Slightly lighter text for label */
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .advantages-content {
        flex-direction: column;
        gap: 3rem;
    }
}

.studio-description {
    font-family: 'Inter', monospace;
    font-size: 14px;
    line-height: 1.6;
    max-width: 500px;
    letter-spacing: 0.02em;
    position: relative;
    padding-bottom: 0;
    margin-bottom: 1rem;
    /* Reduced margin */
}

/* Separator removed */

/* Encrypted Text Styles */
.studio-description .revealed {
    color: inherit;
    transition: color 0.1s;
}

.studio-description .encrypted {
    color: #888;
    /* Neutral 500 equivalent */
}

.footer-logo-container {
    text-align: center;
    margin-top: 0.5rem;
    /* Reduced margin */
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.footer-logo-small {
    width: 60px;
    height: auto;
    opacity: 1;
    filter: none;
    /* Original color */
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

/* Glare Effect for Logo */
.footer-logo-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: logoGlare 3s infinite;
    z-index: 2;
    pointer-events: none;
}

@keyframes logoGlare {
    0% {
        left: -100%;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    40% {
        left: 200%;
        opacity: 0;
    }

    100% {
        left: 200%;
        opacity: 0;
    }
}

.action-button {
    background: #111;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.8rem 3rem;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.action-button:hover {
    transform: scale(1.05);
    background: #000;
}



.item-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    max-width: 300px;
}

/* Center Core */
.organism-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.core-logo {
    width: 90px;
    height: 90px;
    background: #FFFFFF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000000;
    font-size: 2.2rem;
    position: relative;
    overflow: hidden;
    /* Minimalist with White/Silver Glare */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05), 0 0 20px rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.core-logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: skewX(-20deg);
    animation: whiteShimmer 3s infinite;
}

@keyframes whiteShimmer {
    0% {
        left: -150%;
    }

    50% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

.core-circle {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.03);
    /* Neutral gray fade */
    z-index: -1;
    animation: pulseCore 3s infinite ease-in-out;
}

@keyframes pulseCore {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.2;
    }

    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .organism-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 3rem;
        margin-top: 3rem;
    }

    .organism-grid::before,
    .organism-grid::after {
        display: none;
    }

    .organism-core {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        order: -1;
        /* Put core at top or middle - let's try middle */
        margin: 2rem auto;
    }
}

/* --- About Me Section --- */
.about-me {
    width: 100vw;
    padding: 8rem 0;
    /* Generous padding */
    background-color: #fff;
    /* White background */
    position: relative;
    overflow: hidden;
    /* Full-width background */
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.about-me-content {
    display: flex;
    align-items: center;
    /* Vertically center image and text */
    gap: 4rem;
    max-width: 1300px;
}

.about-image-wrapper {
    flex: 0 0 450px;
    /* Fixed width for image column */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Make it a circle/shape as requested */
.about-image-placeholder {
    width: 324px;
    height: 324px;
    border-radius: 50%;
    background-color: #ECE8E0;
    /* Slightly darker than bg */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border: 1px solid #E0DCD5;
    box-shadow: 20px 20px 40px rgba(0, 0, 0, 0.02);
    /* Offset shadow effect */
    animation: floatProfile 6s ease-in-out infinite;
    transition: all 0.5s ease;
}

.about-image-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    animation: whiteShimmer 6s infinite;
    /* Slower animation for larger image */
    pointer-events: none;
    /* Ensure it doesn't interfere with mouse events */
}

.about-image-placeholder:hover {
    /* transform handled by JS repulsion */
    box-shadow: 25px 25px 50px rgba(0, 0, 0, 0.03);
    border-color: #D4AF37;
    animation: none;
    /* Stop floating when interacting */
}

@keyframes floatProfile {
    0% {
        transform: translateY(0px);
    }

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

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

.about-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
}

.about-details.open {
    max-height: 2000px;
    /* Large enough value */
    opacity: 1;
    margin-top: 2rem;
}

.read-more-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 500;
    color: #1A2421;
    padding: 0;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    color: #D4AF37;
}

.btn-icon {
    font-size: 2rem;
    transition: transform 0.4s ease;
    display: flex;
    align-items: center;
}

.read-more-btn.active .btn-icon {
    transform: rotate(45deg);
    /* Turn + into x */
}

/* Ensure placeholder still looks good with img if img fails or loads */
.about-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-text-content {
    flex: 1;
}

.about-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #333;
}

.highlight {
    background: linear-gradient(120deg, transparent 0%, transparent 60%, rgba(212, 175, 55, 0.3) 60%, rgba(212, 175, 55, 0.3) 100%);
    /* Underline effect */
}

.about-subtitle {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: #1A2421;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-text-content p {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 1.5rem;
}

.about-list {
    list-style: none;
    margin: 2rem 0;
    padding-left: 1rem;
    border-left: 3px solid #D4AF37;
    /* Gold accent line */
}

.about-list li {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #444;
}

.about-conclusion {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1A2421;
    margin-top: 3rem;
    font-family: var(--font-serif);
    font-style: italic;
}

/* Responsive */
@media (max-width: 1024px) {
    .about-me-content {
        flex-direction: column-reverse;
        /* Text on top or Image on top? usually image top on mobile, but let's see. 
        Design request: "Section about me... circular image... text". 
        Standard mobile flow: Image then Text, or Text then Image. 
        Let's do Image Top. */
        flex-direction: column;
        gap: 3rem;
        text-align: left;
    }

    .about-image-wrapper {
        flex: 0 0 auto;
        width: 100%;
    }

    .about-image-placeholder {
        width: 300px;
        height: 300px;
    }
}

/* --- Statistics Section (About Me) --- */
.stats-container {
    display: flex;
    justify-content: space-between;
    /* Spread fully */
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 4rem;
    width: 100%;
    max-width: 1000px;
    /* Constrain max width for better aesthetic */
    margin-left: auto;
    margin-right: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.stat-item {
    text-align: center;
    flex: 1 1 200px;
}

@keyframes shimmerText {
    0% {
        background-position: -200%;
    }

    100% {
        background-position: 200%;
    }
}

.stat-number,
.stat-suffix {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1;
    letter-spacing: -0.05em;
    display: inline-block;

    /* Shimmer Effect (Gold/Dark) */
    background: linear-gradient(110deg, #1a1a1a 45%, #D4AF37 50%, #1a1a1a 55%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmerText 6s infinite linear;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Signature Section --- */
.signature-wrapper {
    float: right;
    margin-left: 1rem;
    margin-right: 0;
    margin-top: -6rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
    clear: none;
}

.signature-image {
    max-width: 180px;
    width: 100%;
    height: auto;
    filter: grayscale(20%) contrast(1.1);
    transition: all 0.3s ease;
    opacity: 0;
}

.signature-image.animate {
    animation: signatureFadeIn 2s ease-out forwards;
}

.signature-image:hover {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(1.2);
}

.signature-name {
    display: none;
    /* Hide name as it's not shown in the example */
}

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

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

@media (max-width: 768px) {
    .signature-wrapper {
        float: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 2rem;
        margin-left: 0;
    }

    .signature-image {
        max-width: 150px;
    }
}

/* --- Benefits V3 (Strict Reference) --- */
.benefits-organism {
    background-color: #FDFBF7;
    /* Maintain site bg */
    padding: 6rem 0;
    overflow: hidden;
    position: relative;
}

.organism-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.organism-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
    animation: fadeUp 1s ease-out forwards;
}

.organism-header .section-title {
    background: linear-gradient(135deg, #1A2421 0%, #555 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    /* Ensure gradient applies */
}

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

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

.organism-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    /* Cross-hair lines */
    background-image:
        linear-gradient(#EAEAEA, #EAEAEA),
        linear-gradient(#EAEAEA, #EAEAEA);
    background-size: 1px 100%, 100% 1px;
    background-position: center center;
    background-repeat: no-repeat;
}

.organism-item {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.item-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    color: #1A2421;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.organism-item:hover .item-icon {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.item-title {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #1A2421;
}

.item-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    max-width: 300px;
}

/* Central Core V3 (Reference Green) */
.organism-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Removed conflicting core-logo styles */

.core-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(45, 91, 65, 0.2);
    top: 0;
    left: 0;
    animation: corePulse 3s infinite ease-out;
    z-index: -1;
}

@keyframes corePulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Entry Animations */
@keyframes fadeInQuad {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.organism-item {
    opacity: 0;
    animation: fadeInQuad 0.8s ease-out forwards;
}

.organism-item:nth-child(1) {
    animation-delay: 0.1s;
}

/* TL */
.organism-item:nth-child(2) {
    animation-delay: 0.2s;
}

/* TR */
.organism-item:nth-child(4) {
    animation-delay: 0.3s;
}

/* BL - adjusted order in grid if needed, or by source order */
.organism-item:nth-child(5) {
    animation-delay: 0.4s;
}

/* BR */

/* Mobile V3 Override */
@media (max-width: 900px) {
    .organism-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        background-image: none;
        gap: 2rem;
    }

    .organism-item {
        padding: 2rem;
        border-bottom: 1px solid #EAEAEA;
    }

    .organism-item:last-of-type {
        border-bottom: none;
    }

    .organism-core {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 2rem auto;
        /* Insert visually in middle via order or DOM position */
    }
}

/* --- Pricing Section V2 (Minimalist) --- */
.pricing-v2 {
    width: 100%;
    padding: 6rem 0;
    background-color: white;
}

.pricing-header-v2 {
    text-align: center;
    margin-bottom: 5rem;
}

.pricing-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.pricing-card-v2 {
    background-color: white;
    border: 1px solid #EAEAEA;
    border-radius: 16px;
    /* Slightly squarer than before to match reference */
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: all 0.2s ease;
    height: 100%;
}

.pricing-card-v2:hover {
    border-color: #ccc;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

/* Featured Card overrides */
.pricing-card-v2.featured-v2 {
    background-color: #FAFAFA;
    /* Very subtle grey/off-white */
    border-color: #D4AF37;
    /* Clean gold border */
}

/* Icons */
.card-icon-top {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.icon-wrapper {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: #FAFAFA;
    /* Subtle minimalist bg */
    border: 1px solid #EDEDED;
    overflow: hidden;
}

.pricing-icon {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #D4AF37 0%, #AA8A28 100%);
    /* Gold Gradient */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* Gradient text for icons */
    /* Fallback if needed, but iconify renders as svg usually inheriting color. 
       For SVGs we might need color, so let's set color too for non-text clip support */
    color: #D4AF37;
}

/* Soft Glare Animation */
.icon-wrapper::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 60%);
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Constant subtle shine or on hover? User asked for "soft glare". 
   Let's do a passing shine animation every few seconds. */
@keyframes softGlare {

    0%,
    100% {
        transform: translateX(-150%) skewX(-25deg);
    }

    50% {
        transform: translateX(250%) skewX(-25deg);
    }
}

.icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: translateX(-150%) skewX(-25deg);
    animation: softGlare 4s infinite ease-in-out;
    z-index: 1;
}

/* Card Entry Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.pricing-card-v2 {
    background-color: white;
    border: 1px solid #EAEAEA;
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: all 0.3s ease;
    /* Smoother transition */
    height: 100%;

    /* Animation defaults */
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Staggered delays */
.pricing-grid-v2 .pricing-card-v2:nth-child(1) {
    animation-delay: 0.1s;
}

.pricing-grid-v2 .pricing-card-v2:nth-child(2) {
    animation-delay: 0.2s;
}

.pricing-grid-v2 .pricing-card-v2:nth-child(3) {
    animation-delay: 0.3s;
}

.pricing-card-v2:hover {
    border-color: #D4AF37;
    /* Highlight border */
    transform: translateY(-10px) scale(1.03);
    /* Lift and grow */
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
    /* Richer golden shadow */
    z-index: 10;
    /* Bring to front */
}

.tariff-name-v2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.tariff-desc-v2 {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    min-height: 3rem;
}

.tariff-price-v2 {
    margin-bottom: 2rem;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.vat-info {
    font-size: 0.8rem;
    color: #888;
    font-weight: 400;
}

.price-amount-v2 {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--text-color);
}

.price-period-v2 {
    font-size: 0.9rem;
    color: #888;
}

/* Features List */
.tariff-features-v2 {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.feature-header {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.tariff-features-v2 li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
}

.tariff-features-v2 li iconify-icon {
    font-size: 1.1rem;
    color: #D4AF37;
    margin-top: 2px;
    flex-shrink: 0;
}

strong {
    color: var(--text-color);
    font-weight: 600;
}

/* Footer & Buttons */
.card-footer-v2 {
    margin-top: auto;
}

.btn-v2 {
    width: 100%;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    /* Matching the sharper reference */
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-v2:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.btn-outline:hover {
    border-color: #aaa;
    background: #fdfdfd;
}

.btn-dark {
    background: #1A2421;
    color: white;
    border: 1px solid #1A2421;
}

.btn-dark:hover {
    background: #000;
    /* transform is handled by .btn-v2:hover specific rule above or combined here if specificity issues arise. 
       Let's keep the generic .btn-v2:hover for the scale/lift to apply to all. */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 1024px) {
    .pricing-grid-v2 {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
}

/* Mobile Fixes - FINAL ATTEMPT */
@media (max-width: 900px) {

    .company-info,
    .site-meta {
        display: none !important;
    }
}



.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.cookie-text {
    flex: 1 1 300px;
    margin-right: 2rem;
    /* Fallback for gap */
    margin-bottom: 0.5rem;
    /* For wrapping */
}

.cookie-text p {
    margin: 0;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
}

.privacy-link {
    color: #333;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* Margins instead of gap for actions */
.cookie-actions>* {
    margin-left: 1rem;
    margin-bottom: 0.5rem;
    /* For wrapping */
}

/* Remove margin from first item if needed or keep for safety */
.cookie-actions>*:first-child {
    margin-left: 0;
}

/* Buttons */
.btn-cookie {
    background: transparent;
    border: 1px solid #1A2421;
    color: #1A2421;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-cookie:hover {
    background: #1A2421;
    color: #fff;
}

.cookie-actions .btn-text {
    background: none;
    border: none;
    padding: 0.5rem;
    font-size: 0.9rem;
    color: #555;
    text-decoration: underline;
    cursor: pointer;
    white-space: nowrap;
}

.cookie-actions .btn-text:hover {
    color: #000;
}

/* Settings Modal - Nested in banner */
.cookie-settings {
    max-width: 1200px;
    margin: 1rem auto 0;
    padding: 0 2rem;
    display: none !important;
    /* Strictly hidden by default */
}

.cookie-settings.active {
    display: block !important;
    animation: fadeIn 0.3s ease;
}

.cookie-settings.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.settings-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    color: #888;
}

.close-btn:hover {
    color: #000;
}

.settings-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cookie-option {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}

.cookie-option input {
    margin-top: 4px;
    accent-color: #1A2421;
    transform: scale(1.2);
}

.cookie-option label {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.cookie-option span {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.cookie-option small {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.4;
}

.settings-footer {
    text-align: right;
}

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

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

/* Text Reveal Animation (Preserved) */
.organism-header .section-subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease-out 0.3s forwards;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
}

/* Mobile Responsiveness for Cookie Banner */
@media (max-width: 900px) {
    .cookie-container {
        flex-direction: column;
        align-items: flex-start;
        /* Gap removed, use margins */
    }

    .cookie-text {
        margin-right: 0;
        margin-bottom: 1.2rem;
        flex-basis: auto;
    }

    .cookie-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        /* Gap removed */
    }

    .cookie-actions>* {
        margin-left: 0;
        margin-right: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .btn-cookie {
        flex: 1;
        text-align: center;
        min-width: 120px;
    }

    .cookie-actions .btn-text {
        width: 100%;
        text-align: center;
        order: 10;
        margin-top: 0.5rem;
        margin-right: 0;
    }
}

/* --- Services Card Section (Dark Theme Reference) --- */
.services-comparison {
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 6rem 0;
    width: 100%;
    margin-top: 4rem;
}

.section-title-dark {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 500;
}

.services-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Base Card Style */
.service-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 2rem;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(212, 175, 55, 0.4);
}

/* Featured Card (Full Service) Variation */
.service-card.featured-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(249, 245, 239, 0.5) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

/* Gradient Glow in corner */
.card-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    opacity: 0.6;
    pointer-events: none;
}

.card-glow.gold-glow {
    background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0) 70%);
}

/* Header */
.card-header {
    margin-bottom: 2rem;
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    line-height: 1.2;
}

.card-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #D4AF37;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    font-weight: 600;
}

.card-desc {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.65);
    line-height: 1.5;
    min-height: 3rem;
    /* Align heights */
}

/* Features List */
.card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
    /* Pushes footer down */
}

.card-features li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: rgba(0, 0, 0, 0.03);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    min-height: 80px;
    /* Pill shape container */
}

.feature-pill {
    background: rgba(212, 175, 55, 0.15);
    color: #D4AF37;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 0.4rem;
    min-width: 120px;
    text-align: center;
}

.feature-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.85);
    text-align: center;
}

/* Footer */
.card-footer {
    text-align: center;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.card-btn {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: var(--text-color);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    width: 100%;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.card-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: #000;
}

.card-btn.primary-btn {
    background: linear-gradient(135deg, #D4AF37 0%, #a88a2a 100%);
    border: none;
    color: #fff;
    font-weight: 600;
}

.card-btn.primary-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.price-tag {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 500;
}

/* Mobile */
@media (max-width: 900px) {
    .services-card-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-card {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }

    /* Reduce container paddings for service boxes to be 93-95% of screen width */
    .services-comparison {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .services-comparison .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .services-card-grid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .section-title-dark {
        font-size: 2.5rem;
    }

    .card-footer {
        flex-direction: column-reverse;
        gap: 1rem;
        align-items: stretch;
    }

    .price-tag {
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .card-btn {
        width: 100%;
        text-align: center;
    }

    .feature-pill {
        min-width: 80px;
        font-size: 0.7rem;
    }
}

/* Shared CTA Button */
.services-cta-container {
    text-align: center;
    margin-top: 4rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.shared-cta-btn {
    background: transparent !important;
    border: 1px solid #D4AF37 !important;
    color: #D4AF37 !important;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.8rem 2rem;
    max-width: 500px;
    box-shadow: none;
}

.shared-cta-btn:hover {
    background: #D4AF37 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* --- Before/After Comparison Slider --- */
.before-after-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 500px;
    /* Fixed height for consistency */
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    cursor: ew-resize;
    user-select: none;
}

.ba-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ba-image-before {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.ba-image-after {
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    max-width: none;
    /* Allow exceeding parent width */
}

.ba-overlay {
    width: 50%;
    /* Initial state */
    border-right: 2px solid #fff;
    z-index: 2;
}



.ba-slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    /* Match initial width of overlay */
    width: 40px;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    /* Let clicks pass through to container */
}

/* Listings Section */
.listings-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    background: transparent;
    min-height: 800px;
    /* Ensure height */
}

.ba-slider-button {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    color: #333;
    position: relative;
    z-index: 2;
}

.ba-slider-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1.5px;
    background: linear-gradient(to bottom,
            rgba(212, 175, 55, 0.05),
            rgba(212, 175, 55, 0.1) 30%,
            rgba(212, 175, 55, 0.1) 70%,
            rgba(212, 175, 55, 0.05));
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1),
        0 0 20px rgba(212, 175, 55, 0.05);
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 768px) {
    .before-after-container {
        height: 300px;
    }
}

.about-me {
    width: 100vw;
    padding: 8rem 0;
    /* Generous padding */
    background-color: #fff;
    /* White background */
    position: relative;
    overflow: hidden;
    /* Full-width background */
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.about-me-content {
    display: flex;
    align-items: center;
    /* Vertically center image and text */
    gap: 4rem;
    max-width: 1300px;
}

.about-image-wrapper {
    flex: 0 0 450px;
    /* Fixed width for image column */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Make it a circle/shape as requested */
.about-image-placeholder {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background-color: #ECE8E0;
    /* Slightly darker than bg */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border: 1px solid #E0DCD5;
    box-shadow: 20px 20px 40px rgba(0, 0, 0, 0.02);
    /* Offset shadow effect */
    animation: floatProfile 6s ease-in-out infinite;
    transition: all 0.5s ease;
}

.about-image-placeholder:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 25px 25px 50px rgba(0, 0, 0, 0.03);
    border-color: #D4AF37;
}

@keyframes floatProfile {
    0% {
        transform: translateY(0px);
    }

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

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

.about-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
}

.about-details.open {
    max-height: 2000px;
    /* Large enough value */
    opacity: 1;
    margin-top: 2rem;
}

.read-more-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 500;
    color: #1A2421;
    padding: 0;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    color: #D4AF37;
}

.btn-icon {
    font-size: 2rem;
    transition: transform 0.4s ease;
    display: flex;
    align-items: center;
}

.read-more-btn.active .btn-icon {
    transform: rotate(45deg);
    /* Turn + into x */
}

/* Ensure placeholder still looks good with img if img fails or loads */
.about-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-text-content {
    flex: 1;
}

.about-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #333;
}

.highlight {
    background: linear-gradient(120deg, transparent 0%, transparent 60%, rgba(212, 175, 55, 0.3) 60%, rgba(212, 175, 55, 0.3) 100%);
    /* Underline effect */
}

.about-subtitle {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: #1A2421;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-text-content p {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 1.5rem;
}

.about-list {
    list-style: none;
    margin: 2rem 0;
    padding-left: 1rem;
    border-left: 3px solid #D4AF37;
    /* Gold accent line */
}

.about-list li {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #444;
}

.about-conclusion {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1A2421;
    margin-top: 3rem;
    font-family: var(--font-serif);
    font-style: italic;
}

/* Responsive */
@media (max-width: 1024px) {
    .about-me-content {
        flex-direction: column-reverse;
        /* Text on top or Image on top? usually image top on mobile, but let's see. 
        Design request: "Section about me... circular image... text". 
        Standard mobile flow: Image then Text, or Text then Image. 
        Let's do Image Top. */
        flex-direction: column;
        gap: 3rem;
        text-align: left;
    }

    .about-image-wrapper {
        flex: 0 0 auto;
        width: 100%;
    }

    .about-image-placeholder {
        width: 300px;
        height: 300px;
    }
}

/* --- Hero Small Section (Subpages) --- */
.hero-small {
    padding: 10rem 0 4rem;
    background-color: var(--bg-color);
    text-align: center;
    position: relative;
    overflow: hidden;
    /* For glare effect */
}

/* Subtle Glare Effect on Hero Section */
.hero-small::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: logoShimmer 15s infinite;
    pointer-events: none;
    z-index: 1;
}

.section-title-dark {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    color: #1A2421;
    margin-bottom: 1.5rem;
    font-weight: 400;
    line-height: 1.1;
}

.hero-small p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .section-title-dark {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-small {
        padding: 10rem 0 3rem !important;
    }

    /* Hero Logo - Reduce size on mobile */
    .hero-logo-wrapper {
        margin: 1.5rem auto 0;
    }

    .hero-logo-wrapper img {
        max-width: 180px !important;
    }

    .hero-small p {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

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

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

.fade-in {
    animation: fadeIn 1.5s ease-out forwards;
    opacity: 0;
    /* Ensure hidden before animation starts */
}

/* Hero Logo Wrapper */
.hero-logo-wrapper {
    position: relative;
    display: block;
    /* Centered block */
    width: max-content;
    margin: 2rem auto 0;
    border-radius: 4px;
}

/* Partner Logos */
@keyframes scrollLogs {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Partner Logos Slider */
.partner-logos-wrapper {
    position: absolute;
    bottom: 0.5rem;
    left: 0;
    width: 100%;
    z-index: 2;
}

.partner-label-container {
    text-align: center;
    margin-bottom: 1.5rem;
}

.partner-label {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: #1A2421;
    font-style: normal;
    opacity: 1;
    display: inline-block;
}

.partner-logos-container {
    overflow: hidden;
    width: 100%;
    white-space: nowrap;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partner-track {
    display: inline-flex;
    align-items: center;
    gap: 22vw;
    animation: scrollLogs 45s linear infinite;
    width: max-content;
    padding-left: 5vw;
}

.partner-track:hover {
    animation-play-state: paused;
}

.partner-group {
    display: flex;
    align-items: center;
    gap: 22vw;
}

.partner-logo {
    height: 35px;
    /* Slightly larger */
    width: auto;
    object-fit: contain;
    opacity: 0.95;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.05);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

@media (max-width: 768px) {
    .partner-logos {
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .partner-logo {
        height: 25px;
    }
}

/* Header Logo Animation States */
.header-logo-hidden {
    opacity: 0 !important;
    transform: translateY(-20px);
    pointer-events: none;
    transition: all 0.5s ease;
}

.header-logo-visible {
    opacity: 1 !important;
    transform: translateY(0);
    pointer-events: auto;
    transition: all 0.5s ease;
}

/* ===================================
   Timeline Section Styles
   =================================== */

/* Timeline specific styles */
.timeline-section {
    padding: 6rem 0;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
    isolation: isolate;
    /* Create stacking context for z-index */
}

/* Vertical Line */
.timeline-container::after {
    content: '';
    position: absolute;
    width: 2px;
    background: rgba(212, 175, 55, 0.2);
    /* Dimmer base line */
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
    z-index: -1;
    /* Behind content boxes */
}

/* Moving Light Beam */
.timeline-container::before {
    content: '';
    position: absolute;
    width: 4px;
    /* Slightly wider than line */
    height: 200px;
    /* Longer beam for smoother flow */
    background: linear-gradient(to bottom,
            rgba(212, 175, 55, 0) 0%,
            rgba(212, 175, 55, 0.5) 50%,
            rgba(212, 175, 55, 0) 100%);
    /* Reduced opacity to 0.5 */
    top: -200px;
    left: 50%;
    margin-left: -2px;
    z-index: 2;
    /* Visible through dots, behind content boxes */
    animation: beamDrop 5s ease-in-out infinite;
    /* Slower (5s) and softer ease */
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.4));
    /* Subtle shadow */
}

@keyframes beamDrop {
    0% {
        top: -200px;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.1s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.3s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.5s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.7s;
}

.timeline-item:nth-child(5) {
    animation-delay: 0.9s;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

/* Timeline Dot */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: #F9F5EF;
    border: 3px solid #D4AF37;
    top: 24px;
    border-radius: 50%;
    z-index: 1;
    /* Pulse Animation Sync */
    animation: pulseDot 5s ease-in-out infinite;
}

/* Staggered delays to match the passing beam */
.timeline-item:nth-child(1)::after {
    animation-delay: 0.5s;
}

.timeline-item:nth-child(2)::after {
    animation-delay: 1.4s;
}

.timeline-item:nth-child(3)::after {
    animation-delay: 2.3s;
}

.timeline-item:nth-child(4)::after {
    animation-delay: 3.2s;
}

.timeline-item:nth-child(5)::after {
    animation-delay: 4.1s;
}

@keyframes pulseDot {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
        background-color: #F9F5EF;
        border-color: #D4AF37;
        box-shadow: none;
    }

    15%,
    25% {
        /* Active state window */
        transform: translateX(-50%) scale(1.4);
        background-color: #D4AF37;
        border-color: #fff;
        box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
    }
}

.timeline-item.right::after {
    left: -10px;
}

.timeline-content {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    position: relative;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
}

.timeline-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: #1A2421;
    margin-bottom: 0.5rem;
}

.timeline-subtitle {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: #D4AF37;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: block;
    font-weight: 600;
}

.timeline-text {
    font-family: var(--font-sans);
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.timeline-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.timeline-list li iconify-icon {
    color: #D4AF37;
    margin-top: 4px;
}

/* Arrow */
.timeline-item.left .timeline-content::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: -10px;
    border: medium solid #fff;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent rgba(212, 175, 55, 0.1);
    /* Match border */
}

.timeline-item.left .timeline-content::after {
    /* White overlay for border fix */
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: -9px;
    border: medium solid #fff;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #fff;
}


.timeline-item.right .timeline-content::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: -10px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent rgba(212, 175, 55, 0.1) transparent transparent;
}

.timeline-item.right .timeline-content::after {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: -9px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent #fff transparent transparent;
}

@media (max-width: 768px) {
    .timeline-container::after {
        /* Center the vertical line on mobile */
        left: 50%;
        transform: translateX(-50%);
        margin-left: 0;
        /* Reset margin to prevent double-centering */
    }


    .timeline-container::before {
        /* Center the timeline beam on mobile */
        left: 50%;
        transform: translateX(-50%);
        margin-left: 0;
        /* Reset margin to prevent double-centering */
    }

    /* Reduce container paddings to allow boxes to be 95% of screen width */
    .timeline-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .timeline-section .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .timeline-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .timeline-item {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        text-align: center;
    }

    .timeline-item::after {
        /* Center the dot between boxes */
        left: 50%;
        transform: translateX(-50%);
        top: auto;
        bottom: -30px;
        /* Position between boxes */
        z-index: 1;
        /* Below beam (z-index: 2) */
    }

    .timeline-item.left::after,
    .timeline-item.right::after {
        left: 50%;
        transform: translateX(-50%);
        top: auto;
        bottom: -30px;
        z-index: 1;
        /* Below beam (z-index: 2) */
    }

    .timeline-item.right {
        left: 0%;
    }

    .timeline-content {
        margin: 0 auto;
        width: 95% !important;
        max-width: 95%;
        padding: 2rem 1.5rem;
        position: relative;
        z-index: 5;
        /* Above the line */
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(10px);
        /* Ensure content covers line */
    }

    .timeline-item.left .timeline-content::before,
    .timeline-item.left .timeline-content::after {
        display: none;
    }

    .timeline-item.right .timeline-content::before,
    .timeline-item.right .timeline-content::after {
        display: none;
    }
}

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

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

/* ===================================
   Testimonials Section Styles
   =================================== */

.testimonials-section {
    padding: 6rem 0;
    background-color: #fff;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    overflow: hidden;
    /* Full-width background */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

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

.section-header h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: #1A2421;
    margin-bottom: 1rem;
}

.testimonial-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
    /* Space for arrows */
}

.testimonial-track-container {
    overflow: hidden;
    padding: 3rem 1rem 3rem 1rem;
    /* Increased top padding to prevent clipping of zoomed card */
    /* Space for shadow/hover */
}

.testimonial-track {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
    /* Slightly faster, very smooth */
    will-change: transform;
    gap: 2rem;
    padding-left: 0;
}

.testimonial-card {
    background: #F9F5EF;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    text-align: center;
    transition: all 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
    /* Match track transition */
    will-change: transform, opacity, box-shadow;
    transform-origin: center center;
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0.7;
    filter: blur(0px);
    /* Hardware accel hint */
}

.testimonial-card:hover {
    opacity: 1;
    transform: translateY(-5px) scale(1.02);
    /* Subtle lift on hover */
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
    z-index: 15;
}

/* Override hover for active card to prevent glitching */
.testimonial-card.active-center:hover {
    transform: scale(1.05) translateY(-2px);
}

@media (min-width: 768px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 1rem);
        /* 2 items - gap correction */
    }
}

@media (min-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc(33.333% - 1.33rem);
        /* 3 items - gap correction */
        transform-origin: center center;
        /* Ensure scaling happens from center */
    }
}

.testimonial-card.active-center {
    transform: scale(1.05);
    /* Reduced from 1.15 */
    z-index: 20;
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.175);
    border-color: rgba(212, 175, 55, 0.8);
    background-color: #fff;
    opacity: 1;
}

.stars {
    color: #D4AF37;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    /* Push author down */
}

.author {
    font-family: var(--font-sans);
    font-weight: 600;
    color: #1A2421;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #D4AF37;
    color: #D4AF37;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: #D4AF37;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #ccc;
    color: #ccc;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: #D4AF37;
    transform: scale(1.2);
}

/* Mobile Optimizations for Testimonials */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 1.8rem;
    }

    .testimonial-carousel {
        padding: 0 1rem;
        padding-bottom: 100px;
    }

    .testimonial-track {
        gap: 0;
    }

    .carousel-btn {
        width: 50px;
        height: 50px;
        top: auto;
        bottom: 20px;
        transform: none;
        z-index: 100;
    }

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

    .carousel-btn.prev {
        left: calc(50% - 70px);
    }

    .carousel-btn.next {
        right: calc(50% - 70px);
    }

    .testimonial-track-container {
        padding: 2rem 0.5rem 2rem 0.5rem;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
        min-height: 420px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex: 0 0 100%;
    }

    .quote {
        font-size: 1rem;
        line-height: 1.5;
    }

    .carousel-dots {
        margin-top: 2rem;
        margin-bottom: 3rem;
        position: relative;
        z-index: 50;
    }
}

/* --- Macbook Frame Styles --- */
.macbook-wrapper {
    perspective: 2000px;
    width: 100%;
    max-width: 900px;
    margin: 4rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.macbook-lid {
    width: 80%;
    /* Relative to wrapper */
    max-width: 700px;
    aspect-ratio: 16/10;
    background: #0d0d0d;
    border-radius: 12px 12px 0 0;
    position: relative;
    transform-style: preserve-3d;
    transform-origin: bottom;
    transition: transform 0.5s ease;
    border: 2px solid #2a2a2a;
    /* Frame border */
    border-bottom: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

/* Webcam dot */
.macbook-lid::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #333;
    border-radius: 50%;
    z-index: 20;
    box-shadow: 0 0 0 1px #1a1a1a;
}

.macbook-screen {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    background: #000;
    overflow: hidden;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Screen Glare */
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02);
}

.macbook-screen img.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    /* Darken for text readability */
    transition: opacity 0.5s;
}

.tour-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 5;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    transition: opacity 0.3s;
}

.tour-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.tour-title {
    color: #fff;
    font-family: var(--font-sans);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.tour-btn {
    background: #FFD700;
    /* Yellow/Gold from screenshot */
    color: #000;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.tour-btn:hover {
    transform: scale(1.05);
    background: #ffe033;
}

.macbook-base {
    width: 88%;
    /* Slightly wider than lid */
    height: 24px;
    background: linear-gradient(to bottom, #d0d0d0 0%, #f0f0f0 10%, #dcdcdc 100%);
    border-radius: 0 0 16px 16px;
    margin-top: -2px;
    /* Overlap */
    position: relative;
    z-index: 9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Notch for opening */
.macbook-base::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 15%;
    height: 6px;
    background: #a0a0a0;
    border-radius: 0 0 8px 8px;
    opacity: 0.5;
}

.iframe-container {
    width: 100%;
    height: 100%;
    border: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    /* Below overlay initially */
}

/* When active, iframe is on top */
.iframe-container.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 10;
}

/* --- Aceternity Style Timeline --- */
.timeline-section {
    padding: 6rem 0;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
    /* Prevent horizontal scroll */
}

.aceternity-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

/* Vertical Line */
.aceternity-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 120px;
    /* Position line */
    width: 2px;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(212, 175, 55, 0.2) 10%,
            rgba(212, 175, 55, 1) 50%,
            rgba(212, 175, 55, 0.2) 90%,
            transparent 100%);
    z-index: 1;
}

.timeline-item {
    display: flex;
    margin-bottom: 4rem;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease-out forwards;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.1s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.3s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.4s;
}

.timeline-item:nth-child(5) {
    animation-delay: 0.5s;
}

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

/* Left Column: Label */
.timeline-label {
    width: 120px;
    padding-right: 2rem;
    text-align: right;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: #D4AF37;
    flex-shrink: 0;
    padding-top: 0.5rem;
    /* Align with dot */
}

/* Center Dot */
.timeline-dot {
    position: absolute;
    left: 114px;
    /* Line left (120) - half width (6) - 1px adjustment */
    top: 10px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #1A2421;
    border: 2px solid #D4AF37;
    z-index: 2;
    box-shadow: 0 0 0 4px #fff;
    /* Gap effect */
}

/* Right Column: Content */
.timeline-content-card {
    flex: 1;
    padding-left: 3rem;
}

.timeline-card-inner {
    background: #fdfdfd;
    border-radius: 16px;
    padding: 2rem;
    box-shadow:
        0 0 24px rgba(34, 42, 53, 0.06),
        0 1px 1px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(34, 42, 53, 0.04);
    /* Subtle border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-card-inner:hover {
    transform: translateY(-5px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 1px 1px rgba(0, 0, 0, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
}

.timeline-heading {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1A2421;
}

.timeline-desc {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.timeline-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.t-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #444;
}

.t-feature iconify-icon {
    color: #D4AF37;
    font-size: 1.2rem;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .aceternity-timeline::before {
        left: 20px;
    }

    .timeline-label {
        position: absolute;
        width: auto;
        padding: 0;
        left: 40px;
        top: -30px;
        text-align: left;
        font-size: 1.2rem;
    }

    .timeline-dot {
        left: 14px;
        top: 0;
    }

    .timeline-content-card {
        padding-left: 3rem;
        padding-top: 1rem;
    }

    .timeline-item {
        margin-bottom: 3rem;
        flex-direction: column;
        /* Ensure responsive stacking if needed, though card handles it */
    }
}

/* --- Services 4-Quadrant Grid --- */
.services-grid-wrapper {
    position: relative;
    padding: 2rem 0;
    max-width: 900px;
    margin: 3rem auto 5rem;
}

.services-quadrant-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem 2rem;
    position: relative;
}

/* Central Connector */
.grid-center-connector {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.connector-dot {
    width: 12px;
    height: 12px;
    background: #1A2421;
    border-radius: 50%;
    position: relative;
}

.connector-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 50%;
}

/* Horizontal & Vertical Divider Lines */
.grid-divider-horizontal {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.1) 80%, transparent);
    z-index: 1;
}

.grid-divider-vertical {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.1) 80%, transparent);
    z-index: 1;
}

/* Grid Item */
.quadrant-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    position: relative;
    z-index: 2;
}

.quadrant-icon {
    width: 64px;
    height: 64px;
    background: #fff;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    font-size: 1.8rem;
    color: #1A2421;
    transition: transform 0.3s ease;
}

.quadrant-item:hover .quadrant-icon {
    transform: translateY(-5px);
    color: #D4AF37;
}

.quadrant-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1A2421;
}

.quadrant-desc {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    max-width: 320px;
}

.quadrant-highlight {
    color: #D4AF37;
    font-weight: 600;
}

/* Responsive Grid */
@media (max-width: 768px) {
    .services-quadrant-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .grid-divider-horizontal,
    .grid-divider-vertical,
    .grid-center-connector {
        display: none;
        /* Hide complex connectors on mobile for cleaner stack */
    }

    .quadrant-item {
        padding: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding-bottom: 2rem;
    }

    .quadrant-item:last-child {
        border-bottom: none;
    }
}

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

.site-footer {
    background: var(--cream);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

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


.footer-header {
    text-align: center;
    margin-bottom: 3rem;
}

.footer-copyright {
    text-align: center;
    color: rgba(26, 26, 26, 0.5);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Responsive */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

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

    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }

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

@media (max-width: 600px) {
    .footer-content {
        gap: 2rem;
    }

    .footer-section-title {
        font-size: 1rem;
    }

    .footer-section-content {
        font-size: 0.9rem;
    }
}

/* --- Impressum Page Typography Standardization --- */
.impressum-section {
    font-family: var(--font-sans);
    line-height: 1.8;
    padding-top: 140px;
}

.impressum-section h1 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 2rem;
    margin-top: 3rem;
}

.impressum-section h1:first-of-type {
    margin-top: 0;
}

.impressum-section h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.impressum-section h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.impressum-section p {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.impressum-section ul,
.impressum-section ol {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-color);
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.impressum-section li {
    margin-bottom: 0.5rem;
}

.impressum-section a {
    color: #D4AF37;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.impressum-section a:hover {
    opacity: 0.7;
}

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

.impressum-section hr {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

/* Responsive typography for impressum */
@media (max-width: 768px) {

    .impressum-section {
        padding-top: 160px !important;
    }

    .impressum-section h1,
    .impressum-section h2,
    .impressum-section h3 {
        font-size: 1.3rem;
    }

    .impressum-section p,
    .impressum-section ul,
    .impressum-section ol {
        font-size: 0.95rem;
    }
}

/* Signature fade-in animation */
@keyframes signatureFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 768px) {

    /* General section spacing */
    section {
        padding: 3rem 1.5rem !important;
    }

    /* Container padding */
    .container {
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
    }

    /* Section titles */
    h2.section-title-dark {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    /* Timeline optimizations */
    .timeline-item {
        padding-left: 0 !important;
    }

    .timeline-content {
        padding: 1rem;
    }

    /* About section */
    .about-me-content {
        gap: 2rem;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 1.5rem;
    }
}

/* Stack statistics vertically on mobile */
@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
        gap: 3rem;
        align-items: center;
    }

    .stat-item {
        flex: 1 1 auto;
        width: 100%;
        max-width: 300px;
    }
}

/* Contact Page Mobile Optimizations */
@media (max-width: 768px) {

    /* Contact info cards - match homepage box styling */
    .contact-info-card {
        width: 95% !important;
        margin: 0 auto !important;
        background: rgba(255, 255, 255, 0.6) !important;
        backdrop-filter: blur(10px) !important;
    }

    /* Contact form box - match homepage box styling */
    .contact-form-box {
        width: 95% !important;
        margin: 0 auto !important;
        background: rgba(255, 255, 255, 0.6) !important;
        backdrop-filter: blur(10px) !important;
    }

    /* Reduce grid padding to allow boxes to reach 93-95% width */
    .contact-cards-grid {
        padding-left: 0 !important;
        padding-right: 0 !important;
        grid-template-columns: 1fr !important;
    }
}