:root {
    --color-bg: #02050e;
    --color-card-bg: rgba(10, 15, 30, 0.7);
    --color-card-border: rgba(198, 168, 124, 0.2);
    --color-accent: #c6a87c;
    --color-accent-light: #e5d1b0;
    --color-accent-dark: #8c7352;
    --color-text: #f0f0f0;
    --color-text-muted: #a3a3a3;
    --color-text-bright: #e6e6e6;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    --shadow-glow: 0 0 30px rgba(198, 168, 124, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text-bright);
}

/* Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.gold-text {
    color: var(--color-accent);
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent), var(--color-accent-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gold-border {
    position: relative;
}

.gold-border::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--color-accent);
}

.section-tag {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.75rem;
    color: var(--color-accent);
    margin-bottom: 16px;
    display: block;
}

/* Keyframes */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(2, 5, 14, 0.9);
    backdrop-filter: blur(20px);
    padding: 16px 0;
    border-bottom: 1px solid rgba(198, 168, 124, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-text-bright);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 36px;
    max-height: none;
    width: auto;
    object-fit: contain;
    mix-blend-mode: normal;
    filter: brightness(0.9) contrast(1.1) saturate(0.8) opacity(0.95);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--color-accent);
}

.nav-link:hover::before {
    width: 100%;
}

.nav-links .mobile-cta {
    display: none;
}

.btn-consult {
    padding: 12px 28px;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.btn-consult:hover {
    background: var(--color-accent);
    color: #000;
    box-shadow: 0 0 20px rgba(198, 168, 124, 0.4);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 8px;
    margin-left: 20px;
    align-items: center;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 4px;
    transition: var(--transition);
    text-transform: uppercase;
    font-weight: 500;
    text-decoration: none;
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--color-accent);
}

.lang-btn.active {
    font-weight: 700;
    border-bottom: 1px solid var(--color-accent);
}

/* Hero */
.hero {
    height: 100vh;
    min-height: 750px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* High quality architecture/legal background */
    background-image: url('images/main_hero.webp');
    background-size: cover;
    background-position: center;
    z-index: -2;
    filter: brightness(0.6) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #02050e 0%, rgba(2, 5, 14, 0.8) 50%, rgba(2, 5, 14, 0.4) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.3s;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 48px;
    max-width: 600px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.6s;
}

.hero-stats {
    display: flex;
    gap: 60px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.9s;
    justify-content: center;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted);
}

/* Services */
.services {
    padding: 160px 0;
    position: relative;
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 80px;
}

.services-grid {
    display: grid;
    /* Using auto-fill instead of auto-fit prevents a single item from stretching to fill the whole row */
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    padding: 1px;
}

.service-card {
    background: var(--color-bg);
    padding: 60px 40px;
    position: relative;
    transition: var(--transition);
    cursor: pointer;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(198, 168, 124, 0.15), transparent 60%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.service-icon {
    margin-bottom: 30px;
    display: inline-block;
    line-height: 0;
}

.service-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--color-accent);
    fill: none;
}

.service-title {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--color-text-bright);
}

.service-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.service-link {
    color: var(--color-accent);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Make the whole card clickable */
.service-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

/* About & Team */
.about-section {
    padding: 160px 0;
    background: transparent;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
    height: 700px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Meeting/Negotiation image */
    filter: grayscale(20%) contrast(1.1);
}

.about-quote {
    position: absolute;
    bottom: -40px;
    right: -40px;
    background: var(--color-bg);
    padding: 40px;
    max-width: 400px;
    border: 1px solid var(--color-card-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.about-quote p {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--color-text-bright);
}

#team {
    position: relative;
    scroll-margin-top: 140px;
}

.team-section {
    padding: 160px 0;
}

.team-section .container {
    position: relative;
}

.team-title {
    margin-top: 100px;
    margin-bottom: 60px;
    text-align: center;
    font-size: 3rem;
}

.team-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 40px;
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* IE/Edge */

    /* Scroll Snap */
    scroll-snap-type: x mandatory;
    padding-left: 24px;
    /* Align with container padding */
    padding-right: 24px;
    -webkit-overflow-scrolling: touch;
}

.team-grid::-webkit-scrollbar {
    display: none;
}

.team-card {
    min-width: 300px;
    position: relative;
    cursor: pointer;
    scroll-snap-align: start;
}

.team-img-wrapper {
    height: 400px;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 24px;
    position: relative;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    filter: grayscale(40%);
}

.team-card:hover .team-img-wrapper img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.team-name {
    font-size: 1.4rem;
    margin-bottom: 4px;
    color: var(--color-text-bright);
}

.team-role {
    color: var(--color-accent);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mandates (New Section) */
.mandates {
    padding: 160px 0;
    position: relative;
    /* Optional: Subtle background to distinguish */
    background: radial-gradient(circle at center, rgba(198, 168, 124, 0.03) 0%, transparent 70%);
}

.mandates-grid {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 60px;
    /* Space for hover effects and scrollbar if needed */
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    padding-left: 2px;
    /* Prevent cut-off */
    padding-right: 2px;
    -webkit-overflow-scrolling: touch;
}

.mandates-grid::-webkit-scrollbar {
    display: none;
}

.mandate-card {
    min-width: 400px;
    /* Glassmorphism Card */
    background: rgba(10, 15, 30, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(198, 168, 124, 0.1);
    padding: 40px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    border-radius: 2px;
    /* Sharp professional look */
}

/* Premium Hover Effect */
.mandate-card:hover {
    transform: translateY(-5px);
    border-color: rgba(198, 168, 124, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    background: rgba(10, 15, 30, 0.8);
}

.mandate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0%;
    background: var(--color-accent);
    transition: var(--transition);
}

.mandate-card:hover::before {
    height: 100%;
}

.mandate-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mandate-category::after {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background: rgba(198, 168, 124, 0.3);
}

.mandate-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-text-bright);
    margin-bottom: 20px;
    line-height: 1.2;
}

.mandate-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
    flex-grow: 1;
    /* Pushes result to bottom */
}

.mandate-result {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.result-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.result-value {
    color: var(--color-text-bright);
    font-weight: 600;
    font-size: 1rem;
}

/* Controls */
.mandate-controls {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: -80px;
    /* Pull up to align with header */
    margin-bottom: 40px;
}

@media (max-width: 1100px) {
    .mandate-controls {
        margin-top: 20px;
        margin-bottom: 20px;
        justify-content: flex-start;
    }
}

.mandate-btn {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(198, 168, 124, 0.3);
    background: transparent;
    color: var(--color-accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mandate-btn:hover {
    border-color: var(--color-accent);
    background: rgba(198, 168, 124, 0.1);
}

/* Reviews (Deprecated - Hidden/Commented) */
/*
.reviews {
    padding: 160px 0;
    background-color: transparent;
}

.reviews-grid {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    padding-bottom: 40px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    padding-left: 0;
    -webkit-overflow-scrolling: touch;
}

.reviews-grid::-webkit-scrollbar {
    display: none;
}

.review-card {
    min-width: 400px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    margin-bottom: 0;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

.stars {
    color: var(--color-accent);
    margin-bottom: 20px;
}

.review-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 24px;
    color: var(--color-text-bright);
    max-width: 900px;
}

.review-role {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.review-author {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
*/

/* Contact/Footer */
.footer {
    background-color: #010308;
    padding: 100px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    scroll-margin-top: 320px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-grid>div {
    text-align: center;
}

.footer-map {
    grid-column: 1 / -1;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin: 0 auto 24px;
    display: block;
    color: var(--color-text-bright);
    text-decoration: none;
}

.social-icon {
    color: var(--color-accent);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(198, 168, 124, 0.2);
    border-radius: 50%;
}

.social-icon:hover {
    color: var(--color-bg);
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(198, 168, 124, 0.4);
}

.footer h4 {
    color: var(--color-text-bright);
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer-links li {
    list-style: none;
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.contact-info p {
    color: var(--color-text-muted);
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
}

.parking-row {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--color-accent);
}

.parking-icon-svg {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-accent);
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    animation: parking-blink 2s infinite;
}

.parking-text {
    color: var(--color-accent);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

@keyframes parking-blink {
    0% {
        opacity: 1;
        box-shadow: 0 0 5px rgba(198, 168, 124, 0.4);
    }

    50% {
        opacity: 0.4;
        box-shadow: 0 0 0 rgba(198, 168, 124, 0);
    }

    100% {
        opacity: 1;
        box-shadow: 0 0 5px rgba(198, 168, 124, 0.4);
    }
}

.cta-box {
    background: transparent;
    border: 1px solid var(--color-accent);
    padding: 80px;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
    position: relative;
    z-index: 10;
}

.cta-box h2 {
    color: var(--color-accent);
    font-size: 3rem;
    margin-bottom: 24px;
}

.cta-box p {
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Practice Page Actions */
.practice-actions {
    margin-top: 60px;
}

@media (max-width: 1100px) {
    .practice-actions {
        display: flex;
        justify-content: center;
    }
}

.btn-black {
    padding: 16px 40px;
    background: var(--color-accent);
    color: #000;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    transition: var(--transition);
    border: none;
}

.btn-black:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(198, 168, 124, 0.4);
    background: var(--color-accent-light);
    color: #000;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    position: relative;
    width: 28px;
    /* Significantly smaller, close to text height */
    height: 28px;
    background: transparent;
    border: 1px solid var(--color-accent);
    /* Thinner border for elegance */
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
    transition: var(--transition);
    margin-left: 15px;
    /* Add some spacing from the language switcher */
    /* No inner spans needed for the "Empty Circle" concept */
}

/* Hover Effect: Gentle glow */
.mobile-menu-btn:hover {
    box-shadow: 0 0 10px rgba(198, 168, 124, 0.4);
    transform: scale(1.1);
}

/* Active State: Becomes a solid dot (The Point) */
.mobile-menu-btn.active {
    background: var(--color-accent);
    transform: scale(0.5);
    /* Shrinks to a small dot */

    /* Shrinks to become a "close" dot */
    box-shadow: 0 0 0 15px rgba(198, 168, 124, 0);
    /* Subtle ripple fade out */
}

.mobile-menu-btn span {
    display: none;
    /* Hide standard hamburger lines */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }

    .about-section {
        background: #02050e;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-image {
        height: auto !important;
        min-height: 400px;
        order: -1;
        display: flex;
        flex-direction: column;
    }

    .about-image img {
        height: 400px;
        width: 100%;
        object-fit: cover;
    }

    .about-quote {
        position: relative;
        bottom: auto;
        right: auto;
        margin: -50px 40px 40px 40px;
        max-width: none;
        z-index: 2;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 1100px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #02050e;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: var(--transition);
        z-index: 999;
    }

    .nav-links.active {
        background: rgba(2, 5, 14, 0.98);
        backdrop-filter: blur(15px);
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .btn-consult {
        display: none;
    }

    .header-inner .btn-consult {
        display: none;
    }

    .nav-links .mobile-cta {
        display: block;
        margin-top: 20px;
        font-size: 1rem;
        padding: 12px 30px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-stats {
        flex-direction: row;
        gap: 25px;
        margin-top: 40px;
        justify-content: center;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .stat-item p {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }

    .services-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .services-header h2 {
        font-size: 2.2rem !important;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-image img {
        height: 450px;
    }

    .about-quote {
        margin: -30px 0 40px 0;
        padding: 30px 24px;
    }

    .about-content h2 {
        font-size: 2.2rem !important;
    }

    .cta-box {
        margin-left: -24px;
        margin-right: -24px;
        width: calc(100% + 48px);
        border-radius: 0;
        padding: 60px 24px;

    }

    .cta-box h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-map {
        width: 100%;
    }

    /* Team Mobile Optimizations */
    .team-grid {
        gap: 16px;
        /* margin-left: -24px; Removed breakout */
        /* width: calc(100% + 48px); Removed breakout */
        /* padding-left: 24px; Removed breakout */
        /* padding-right: 24px; Removed breakout */
    }

    .team-card {
        min-width: 280px;
        /* Ensure peeking on small screens */
        width: 80%;
        /* Fallback */
    }

    .team-img-wrapper {
        height: 350px;
    }

    /* Reviews Mobile Optimizations */
    .reviews-grid {
        gap: 16px;
        /* margin-left: -24px; Removed breakout */
        /* width: calc(100% + 48px); Removed breakout */
        /* padding-left: 24px; Removed breakout */
        /* padding-right: 24px; Removed breakout */
    }

    .review-card {
        min-width: 280px;
        width: 80%;
        display: flex;
        flex-direction: column;
    }

    .review-author {
        margin-top: auto;
    }

    #team {
        scroll-margin-top: 140px;
    }
}



/* Reviews Navigation Buttons */
.reviews .container {
    position: relative;
}

.review-btn,
.team-btn {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(2, 5, 14, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(198, 168, 124, 0.3);
    color: var(--color-accent);
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
    z-index: 10;
    opacity: 0.8;
}

.review-btn svg,
.team-btn svg {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

.review-btn:hover,
.team-btn:hover {
    background: var(--color-accent);
    color: #0b0c10;
    border-color: var(--color-accent);
    opacity: 1;
    box-shadow: 0 0 30px rgba(198, 168, 124, 0.3);
    transform: translateY(-50%) scale(1.05);
}

.review-btn:hover svg,
.team-btn:hover svg {
    transform: scale(1.1);
}

.prev-btn {
    left: -40px;
    /* Position to the left of the grid */
}

.next-btn {
    right: -40px;
    /* Position to the right of the grid */
}

@media (max-width: 1300px) {
    .prev-btn {
        left: 10px;
        background: rgba(2, 5, 14, 0.8);
    }

    .next-btn {
        right: 10px;
        background: rgba(2, 5, 14, 0.8);
    }
}

@media (max-width: 1100px) {

    .review-btn,
    .team-btn {
        display: none !important;
        /* Hide on mobile usually, or adjust size */
    }

    .cta-box {
        padding: 40px 20px;
        margin: 0 16px;
        /* Explicit margin from edges */
        width: auto;
        /* Let margin control the width */
        max-width: 100%;
        /* Safety cap */
        box-sizing: border-box;
    }

    .cta-box h2 {
        font-size: 2rem;
    }
}

/* Animations classes */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.contact-modal {
    background: #0b0e14;
    border: 1px solid rgba(198, 168, 124, 0.3);
    padding: 40px;
    width: 100%;
    max-width: 500px;
    border-radius: 4px;
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .contact-modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: #9fa4ab;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #c6a87c;
}

.modal-title {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 2rem;
    margin-bottom: 24px;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #c6a87c;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.form-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 2px;
    transition: border-color 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #c6a87c;
    background: rgba(255, 255, 255, 0.08);
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    background: #c6a87c;
    color: #0b0c10;
    border: none;
    padding: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-submit:hover {
    background: #e5d1b0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(198, 168, 124, 0.3);
}

@media (max-width: 600px) {
    .contact-modal {
        width: 90%;
        padding: 30px 20px;
    }
}

.article-body ul,
.article-body ol {

    margin: 1em 0;
    padding-left: 1.5rem;
}

/* --- Pagination --- */
.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.pagination-btn {
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-text);
    padding: 8px 16px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: var(--color-gold);
    color: #fff;
}

.pagination-btn.active {
    background: var(--color-gold);
    color: #fff;
    font-weight: 600;
}

/* Blog Article Styles (Migrated from HTML) */
.article-hero {
    min-height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 40px;
}

.article-hero .hero-title {
    font-size: 3rem;
}

@media (max-width: 768px) {
    .article-hero .hero-title {
        font-size: 2.2rem !important;
    }
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 24px;
    background: transparent;
}

.article-body {
    color: var(--color-text);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-top: 40px;
}

.article-body p {
    margin-bottom: 24px;
}

.article-body h2 {
    color: var(--color-text-bright);
    margin: 40px 0 20px;
    font-size: 2rem;
}

.article-meta {
    display: flex;
    gap: 20px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.share-box {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.back-link {
    color: var(--color-accent);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s ease;
}

.back-link:hover {
    opacity: 0.8;
}