/**
 * Marmi Futerno - Stone Fabrication Website
 * Professional, responsive, production-ready design
 * Optimized for performance and accessibility
 */

:root {
    --primary: #1A1A1A;
    --secondary: #8B7355;
    --accent: #C9A87C;
    --bg: #FAFAF8;
    --white: #FFFFFF;
    --gray: #6B6B6B;
    --light-gray: #E8E8E6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', 'Inter', sans-serif;
    background: var(--bg);
    color: var(--primary);
    line-height: 1.7;
    overflow-x: hidden;
}

body[data-lang="en"] {
    font-family: 'Inter', sans-serif;
}

/* Top Navigation */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}

.futerno-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
    letter-spacing: 0.02em;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.futerno-link:hover {
    background: rgba(255, 255, 255, 1);
    color: var(--secondary);
    border-color: var(--secondary);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.92);
    padding: 0.25rem;
    border-radius: 4px;
    backdrop-filter: blur(8px);
}

.lang-btn {
    padding: 0.2rem 0.3rem;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    opacity: 0.5;
    border-radius: 2px;
}

.lang-btn .flag-icon {
    width: 1.5rem;
    height: 1rem;
    border-radius: 2px;
    display: block;
    transition: all 0.25s ease;
}

.lang-btn.active {
    opacity: 1;
    background: rgba(139, 115, 85, 0.08);
}

.lang-btn:hover {
    opacity: 1;
    background: rgba(139, 115, 85, 0.05);
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7) 0%, rgba(139, 115, 85, 0.5) 100%);
}

.slide-content {
    position: absolute;
    bottom: 15%;
    left: 10%;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
}

.mega-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    animation: fadeSlideUp 1s ease 0.3s backwards;
}

.slide-subtitle {
    font-size: clamp(0.85rem, 1.5vw, 1.1rem);
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    animation: fadeSlideUp 1s ease 0.6s backwards;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-nav {
    position: absolute;
    bottom: 3rem;
    right: 5%;
    z-index: 10;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 90%;
    justify-content: flex-end;
}

.carousel-dot {
    width: 50px;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.carousel-dot.active {
    background: var(--accent);
    width: 80px;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.scroll-prompt {
    position: absolute;
    bottom: 3rem;
    left: 5%;
    z-index: 10;
    color: var(--white);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: fadeSlideUp 1s ease 0.9s backwards;
}

@media (max-width: 900px) {
    .scroll-prompt {
        font-size: 0.7rem;
        bottom: 2.5rem;
    }
}

/* Intro Statement */
.intro-statement {
    padding: 2.5rem 5%;
    max-width: 1000px;
    margin: 0 auto;
}

.statement-wrapper {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    background: rgba(250, 250, 248, 0.6);
    padding: 2rem 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(139, 115, 85, 0.1);
}

/* Portfolio Section - Professional Layout */
.editorial-section {
    background: var(--white);
    padding: 4rem 0 0;
    max-width: 1400px;
    margin: 0 auto;
}

/* Portfolio Header */
.portfolio-header {
    padding: 0 5% 3rem;
    text-align: center;
    position: relative;
}

.portfolio-header::after {
    content: '';
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
}

.portfolio-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--primary);
    margin-top: 0.5rem;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

/* Editorial Grid */
.editorial-grid {
    padding: 0 5% 4rem;
}

/* Info Panels - Different Styles */
.info-panel {
    padding: 3rem 2.5rem;
    margin: 3rem 0;
    border-radius: 12px;
}

.accent-panel {
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.08) 0%, rgba(139, 115, 85, 0.03) 100%);
    border-left: 4px solid var(--accent);
}

.dark-panel {
    background: linear-gradient(135deg, var(--secondary) 0%, rgba(43, 35, 25, 0.95) 100%);
    color: var(--white);
}

.light-panel {
    background: rgba(250, 250, 248, 0.95);
    border: 1px solid rgba(139, 115, 85, 0.15);
}

.panel-label {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.dark-panel .panel-label {
    color: var(--accent);
}

.panel-heading {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.dark-panel .panel-heading {
    color: var(--white);
}

.panel-list {
    list-style: none;
    padding: 0;
    margin: 0;
    column-count: 2;
    column-gap: 2.5rem;
}

.panel-list li {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--gray);
    margin-bottom: 0.85rem;
    padding-left: 1.2rem;
    position: relative;
    break-inside: avoid;
}

.panel-list li::before {
    content: "●";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.6rem;
    top: 0.5em;
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.client-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.client-item p {
    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.panel-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 1rem;
}

.panel-text:last-child {
    margin-bottom: 0;
}

.statement-label {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.statement-heading {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin-bottom: 1.25rem;
    color: var(--primary);
}

.statement-content p {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--gray);
    margin-bottom: 0.85rem;
}

.statement-content p:last-child {
    margin-bottom: 0;
}

/* Featured Statement (Before Video) */
.featured-statement {
    padding: 4rem 5%;
    background: linear-gradient(to bottom, var(--bg) 0%, #F5F4F0 100%);
}

.featured-statement-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 0;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.featured-border {
    width: 3px;
    height: 80px;
    background: linear-gradient(to bottom, transparent 0%, var(--accent) 50%, transparent 100%);
    flex-shrink: 0;
}

.featured-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--primary);
    text-align: center;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Philosophy Section (After Video) */
.philosophy-section {
    padding: 5rem 5%;
    background: linear-gradient(to bottom, var(--white) 0%, var(--bg) 100%);
}

.philosophy-wrapper {
    max-width: 1300px;
    margin: 0 auto;
}

.philosophy-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.philosophy-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.philosophy-heading {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.philosophy-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 2px;
    position: relative;
    transition: all 0.3s ease;
    border-top: 3px solid transparent;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.philosophy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.philosophy-card.card-primary {
    border-top-color: var(--accent);
}

.philosophy-card.card-secondary {
    border-top-color: var(--secondary);
}

.philosophy-card.card-tertiary {
    border-top-color: #9B8B7E;
}

.card-number {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: #C5BDB5;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.3;
    margin: 0;
}

.card-content p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--gray);
    margin: 0;
}

.statement-content ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
    text-align: left;
}

.statement-content ul li {
    font-size: 0.86rem;
    line-height: 1.55;
    color: var(--gray);
    margin-bottom: 0.7rem;
    padding-left: 1.5rem;
    position: relative;
}

.statement-content ul li:last-child {
    margin-bottom: 0;
}

.statement-content ul li::before {
    content: "▪";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Featured Split */
.featured-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    margin-bottom: 8rem;
}

.split-img {
    height: 500px;
    overflow: hidden;
}

.split-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.split-img:hover img {
    transform: scale(1.05);
}

.split-content {
    padding: 4rem 3rem;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 2rem;
}

.split-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.split-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 3rem;
}

.split-stats {
    display: flex;
    gap: 4rem;
}

.mini-stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mini-stat strong {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--accent);
}

.mini-stat span {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray);
}

/* Services Timeline */
.services-timeline {
    padding: 2rem 5%;
    background: var(--bg);
}

.timeline-wrapper {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.section-heading {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 2rem;
}

.timeline-container {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 50px 1fr;
    gap: 1.25rem;
    padding-bottom: 2rem;
    align-items: center;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
}

.marker-dot {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    z-index: 2;
    flex-shrink: 0;
    box-shadow: 0 3px 12px rgba(139, 115, 85, 0.2);
    border: 2px solid var(--white);
}

.marker-line {
    width: 2px;
    height: 65px;
    background: linear-gradient(180deg, var(--secondary) 0%, rgba(139, 115, 85, 0.15) 100%);
    margin-top: 0.4rem;
}

.timeline-content {
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 4px;
    position: relative;
    border-left: 2px solid var(--secondary);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.timeline-item:nth-child(odd) .timeline-content {
    grid-column: 1;
    grid-row: 1;
    border-left: none;
    border-right: 2px solid var(--secondary);
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 3;
    grid-row: 1;
}

.timeline-item:nth-child(odd) .timeline-marker {
    grid-column: 2;
}

.timeline-item:nth-child(even) .timeline-marker {
    grid-column: 2;
}

.timeline-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.timeline-content p {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--gray);
}

/* Projects Masonry */
/* Projects Sections with Scrollable Galleries */
.projects-sections {
    padding: 2rem 0;
    background: var(--white);
}

.section-header {
    max-width: 900px;
    margin: 0 auto 1.75rem;
    padding: 0 2rem;
    text-align: center;
}

.project-row {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.project-row:last-child {
    margin-bottom: 0;
}

.project-row.reverse {
    grid-template-columns: 1fr 450px;
}

.project-row.reverse .project-gallery {
    order: 2;
}

.project-row.reverse .project-text {
    order: 1;
}

.project-gallery {
    position: relative;
    overflow: hidden;
    background: var(--light-gray);
    border-radius: 4px;
    height: 420px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.gallery-scroll {
    display: flex;
    gap: 0;
    height: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.gallery-scroll::-webkit-scrollbar {
    display: none;
}

.gallery-scroll img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    scroll-snap-align: start;
}

.gallery-nav {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.gallery-arrow {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.gallery-arrow:hover {
    background: var(--white);
    transform: scale(1.05);
}

.gallery-arrow svg {
    width: 16px;
    height: 16px;
    fill: var(--primary);
}

.project-text {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
}

.project-text h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.6rem;
    color: var(--primary);
}

.project-text p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--gray);
}

/* Side-by-Side Layout (index3.html) */
.sidebyside-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
    align-items: start;
}

.sidebyside-container.reverse .sidebyside-left {
    order: 2;
}

.sidebyside-container.reverse .sidebyside-right {
    order: 1;
}

.sidebyside-left,
.sidebyside-right {
    min-height: 100%;
}

.sidebyside-left {
    display: flex;
    flex-direction: column;
}

.project-header {
    margin-bottom: 1.5rem;
}

.project-headline {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.project-subtext {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.5;
    font-weight: 400;
    margin: 0;
}

.sidebyside-left .project-gallery {
    flex: 1;
    min-height: 500px;
}

.sidebyside-right .info-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Video Showcase */
.video-showcase {
    padding: 2rem 5%;
    background: var(--bg);
    color: var(--primary);
    text-align: center;
}

.video-content {
    max-width: 800px;
    margin: 0 auto;
}

.video-content h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.video-content > p {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
    color: var(--gray);
}

.video-wrapper-auto {
    position: relative;
    aspect-ratio: 16/9;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    background: var(--primary);
}

.video-wrapper-auto iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-embed {
    aspect-ratio: 16/9;
    background: var(--white);
    border: 2px solid var(--light-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease;
}

.video-embed:hover {
    border-color: var(--accent);
    transform: scale(1.02);
}

.play-button {
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.play-button svg circle {
    stroke: var(--secondary);
}

.play-button svg path {
    fill: var(--secondary);
}

.video-embed:hover .play-button {
    transform: scale(1.1);
}

.video-placeholder {
    color: var(--gray);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

/* Materials Network */
.materials-network {
    padding: 4rem 5%;
    background: var(--white);
}

.network-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.network-intro {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--gray);
    margin-bottom: 4rem;
}

.materials-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.material-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.material-col ul {
    list-style: none;
}

.material-col li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
    font-size: 1.05rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.material-col li:hover {
    padding-left: 1rem;
    color: var(--accent);
}

/* Clients Showcase */
.clients-showcase {
    padding: 4rem 5%;
    text-align: center;
    overflow: hidden;
}

.clients-marquee {
    margin-top: 4rem;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 3rem;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee-track span {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--gray);
    white-space: nowrap;
    padding: 1rem 2rem;
    border: 1px solid var(--light-gray);
    border-radius: 50px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Philosophy Quote */
.philosophy-quote {
    padding: 4rem 5%;
    background: var(--secondary);
    color: var(--white);
}

.quote-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

blockquote {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 2rem;
}

cite {
    font-size: 1rem;
    font-style: normal;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

/* Key Strengths */
.key-strengths {
    padding: 4rem 5%;
    text-align: center;
}

.strengths-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.strength-card {
    padding: 3rem 2rem;
    background: var(--white);
    border: 1px solid var(--light-gray);
    transition: all 0.4s ease;
}

.strength-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

.strength-icon {
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.strength-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--primary);
}

/* External Links */
.external-links {
    padding: 3rem 5%;
    background: var(--white);
    text-align: center;
}

.external-links h3 {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.links-flex {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.ext-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    background: var(--bg);
    border: 2px solid var(--light-gray);
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.ext-link:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.ext-link svg {
    transition: transform 0.3s ease;
}

.ext-link:hover svg {
    transform: translate(3px, -3px);
}

/* Contact CTA */
.contact-cta {
    padding: 2rem 5%;
    background: var(--white);
    color: var(--primary);
    text-align: center;
}

.cta-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.cta-wrapper h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.5rem, 3.5vw, 1.95rem);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.cta-wrapper > p {
    font-size: 0.88rem;
    line-height: 1.65;
    margin-bottom: 1.75rem;
    color: var(--gray);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 650px;
    margin: 0 auto;
}

.contact-card {
    padding: 1.5rem 1.25rem;
    background: var(--bg);
    border: 1px solid var(--light-gray);
    transition: all 0.3s ease;
    text-align: center;
}

.contact-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.contact-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.25rem;
    display: block;
    border: 3px solid var(--accent);
}

.contact-card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.card-role {
    font-size: 0.9rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-card a {
    display: block;
    color: var(--primary);
    text-decoration: none;
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
    text-align: center;
}

.contact-card a:hover {
    color: var(--accent);
}

/* Footer */
.site-footer {
    padding: 4rem 5%;
    background: var(--bg);
    color: var(--primary);
    text-align: center;
    border-top: 1px solid var(--light-gray);
}

.footer-brand {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.site-footer p {
    font-size: 0.9rem;
    color: var(--gray);
    letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 1200px) {
    .project-row {
        grid-template-columns: 380px 1fr;
    }

    .project-row.reverse {
        grid-template-columns: 1fr 380px;
    }
}

@media (max-width: 1024px) {
    .featured-split {
        grid-template-columns: 1fr;
    }

    .split-img {
        height: 500px;
    }

    .masonry-item.large {
        grid-column: span 1;
    }

    .materials-columns {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .project-row,
    .project-row.reverse {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .top-nav {
        padding: 1rem 1.5rem;
    }

    .futerno-link {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .lang-btn .flag-icon {
        width: 1.4rem;
        height: 0.95rem;
    }

    .slide-content {
        left: 5%;
        bottom: 10%;
        right: 5%;
    }

    .mega-title {
        font-size: clamp(2rem, 8vw, 3rem) !important;
    }

    .slide-subtitle {
        font-size: clamp(0.75rem, 2vw, 0.9rem) !important;
    }

    .carousel-nav {
        bottom: 1.5rem;
        right: 5%;
        left: 5%;
        gap: 0.5rem;
        justify-content: center;
    }

    .carousel-dot {
        width: 30px;
        height: 2px;
    }

    .carousel-dot.active {
        width: 45px;
    }

    .scroll-prompt {
        display: none;
    }

    .intro-statement {
        padding: 2rem 5%;
    }

    .statement-wrapper {
        padding: 1.5rem 1.75rem;
    }

    .services-timeline {
        padding: 3rem 5%;
    }

    .projects-sections {
        padding: 3rem 0;
    }

    .section-header {
        padding: 0 5%;
    }

    .video-showcase,
    .contact-cta {
        padding: 3rem 5%;
    }

    .statement-heading,
    .section-heading {
        font-size: clamp(1.5rem, 5vw, 2rem) !important;
    }

    .statement-content p,
    .section-intro {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .featured-statement {
        padding: 3rem 5%;
    }

    .featured-statement-inner {
        padding: 2rem 0;
        gap: 2rem;
    }

    .featured-border {
        height: 60px;
    }

    .featured-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    .philosophy-section {
        padding: 3.5rem 5%;
    }

    .philosophy-intro {
        margin-bottom: 3rem;
    }

    .philosophy-heading {
        font-size: 2rem;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .philosophy-card {
        padding: 2rem 1.5rem;
    }

    .card-number {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .card-title {
        font-size: 1rem;
    }

    .card-content p {
        font-size: 0.88rem;
    }

    .split-content {
        padding: 2rem 1.5rem;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        text-align: left;
        padding-bottom: 1.5rem;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        grid-column: 1;
        border-left: none;
        border-right: none;
        border-top: 2px solid var(--secondary);
    }

    .timeline-marker {
        display: none;
    }

    .project-row,
    .project-row.reverse {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 5%;
        margin-bottom: 2.5rem;
    }

    .sidebyside-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 5%;
        margin-bottom: 3rem;
    }

    .sidebyside-container.reverse .sidebyside-left,
    .sidebyside-container.reverse .sidebyside-right {
        order: 0;
    }

    .project-header {
        margin-bottom: 1.25rem;
    }

    .project-headline {
        font-size: 1.3rem;
        margin-bottom: 0.4rem;
    }

    .project-subtext {
        font-size: 0.85rem;
    }

    .sidebyside-left .project-gallery {
        min-height: 350px;
    }

    .project-row.reverse .project-gallery {
        order: 1;
    }

    .project-row.reverse .project-text {
        order: 2;
    }

    .project-gallery {
        height: 375px;
    }

    .project-text h3 {
        font-size: 1rem;
    }

    .project-text p {
        font-size: 0.85rem;
    }

    .contact-cards {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .site-footer {
        padding: 3rem 5%;
    }

    .footer-brand {
        font-size: 1.5rem;
    }

    .masonry-grid {
        grid-template-columns: 1fr;
    }

    .masonry-item.tall {
        grid-row: span 1;
    }

    .strengths-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .top-nav {
        padding: 0.8rem 1rem;
    }

    .futerno-link {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
    }

    .lang-btn .flag-icon {
        width: 1.3rem;
        height: 0.9rem;
    }

    .hero-carousel {
        height: 85vh;
    }

    .slide-content {
        bottom: 8%;
    }

    .mega-title {
        font-size: clamp(1.5rem, 8vw, 2.25rem) !important;
        line-height: 1.2;
    }

    .slide-subtitle {
        font-size: clamp(0.7rem, 2.5vw, 0.85rem) !important;
    }

    .carousel-nav {
        bottom: 1rem;
        gap: 0.4rem;
    }

    .carousel-dot {
        width: 25px;
        height: 2px;
    }

    .carousel-dot.active {
        width: 35px;
    }

    .intro-statement {
        padding: 1.5rem 1rem;
    }

    .statement-wrapper {
        padding: 1.25rem 1.25rem;
    }

    .editorial-section {
        padding: 2.5rem 0 0;
    }

    .portfolio-header {
        padding: 0 1rem 2.5rem;
    }

    .portfolio-header::after {
        bottom: 1rem;
        width: 50px;
        height: 2px;
    }

    .portfolio-title {
        font-size: 1.85rem;
    }

    .editorial-grid {
        padding: 0 1rem 2rem;
    }

    .info-panel {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }

    .panel-heading {
        font-size: 1.3rem;
    }

    .panel-list {
        column-count: 1;
    }

    .panel-list li {
        font-size: 0.84rem;
    }

    .client-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .client-item h4 {
        font-size: 0.9rem;
    }

    .client-item p {
        font-size: 0.8rem;
    }

    .panel-text {
        font-size: 0.86rem;
    }

    .sidebyside-container {
        padding: 0 1rem;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .project-header {
        margin-bottom: 1rem;
    }

    .project-headline {
        font-size: 1.1rem;
        margin-bottom: 0.35rem;
    }

    .project-subtext {
        font-size: 0.82rem;
        line-height: 1.4;
    }

    .sidebyside-left .project-gallery {
        min-height: 300px;
    }

    .statement-label,
    .section-label {
        font-size: 0.6rem;
        margin-bottom: 0.5rem;
    }

    .statement-heading,
    .section-heading {
        font-size: clamp(1.2rem, 6vw, 1.6rem) !important;
        margin-bottom: 0.85rem;
    }

    .statement-content p {
        font-size: 0.84rem;
        line-height: 1.6;
    }

    .featured-statement {
        padding: 2.5rem 1rem;
    }

    .featured-statement-inner {
        padding: 1.5rem 0;
        gap: 1.5rem;
        flex-direction: column;
    }

    .featured-border {
        width: 60px;
        height: 3px;
        background: linear-gradient(to right, transparent 0%, var(--accent) 50%, transparent 100%);
    }

    .featured-text {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .philosophy-section {
        padding: 3rem 1rem;
    }

    .philosophy-intro {
        margin-bottom: 2.5rem;
    }

    .philosophy-label {
        font-size: 0.65rem;
        margin-bottom: 0.8rem;
    }

    .philosophy-heading {
        font-size: 1.6rem;
    }

    .philosophy-grid {
        gap: 1.25rem;
    }

    .philosophy-card {
        padding: 1.75rem 1.25rem;
    }

    .card-number {
        font-size: 1.75rem;
        margin-bottom: 0.8rem;
    }

    .card-title {
        font-size: 0.95rem;
    }

    .card-content p {
        font-size: 0.85rem;
        line-height: 1.65;
    }

    .statement-content ul li {
        font-size: 0.82rem;
        margin-bottom: 0.6rem;
    }

    .services-timeline {
        padding: 2.5rem 1rem;
    }

    .timeline-content h4 {
        font-size: 0.9rem;
    }

    .timeline-content p {
        font-size: 0.75rem;
    }

    .projects-sections {
        padding: 2.5rem 0;
    }

    .project-row,
    .project-row.reverse {
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .project-gallery {
        height: 285px;
    }

    .project-text h3 {
        font-size: 0.95rem;
    }

    .project-text p {
        font-size: 0.8rem;
        line-height: 1.45;
    }

    .gallery-arrow {
        width: 26px;
        height: 26px;
    }

    .gallery-arrow svg {
        width: 14px;
        height: 14px;
    }

    .video-showcase,
    .contact-cta {
        padding: 2.5rem 1rem;
    }

    .video-content h2,
    .cta-wrapper h2 {
        font-size: clamp(1.25rem, 5vw, 1.5rem) !important;
    }

    .video-content > p,
    .cta-wrapper > p {
        font-size: 0.85rem;
    }

    .contact-card {
        padding: 1.25rem 1rem;
    }

    .contact-card h4 {
        font-size: 1.25rem;
    }

    .card-role {
        font-size: 0.8rem;
        margin-bottom: 1.5rem;
    }

    .contact-card a {
        font-size: 0.95rem;
    }

    .site-footer {
        padding: 2.5rem 1rem;
    }

    .footer-brand {
        font-size: 1.15rem;
    }

    .site-footer p {
        font-size: 0.8rem;
    }
}
