/* ═══════════════════════════════════════════════════════
   ANDREA MORTINI — "Luce Bianca" Design System
   Wedding Photographer Landing Page
   ═══════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─────────────────────────────────── */
:root {
    /* Colors */
    --color-bg: #FAFAF8;
    --color-bg-alt: #F5F4F0;
    --color-surface: #FFFFFF;
    --color-text: #1A1A1A;
    --color-text-light: #6B6B6B;
    --color-text-muted: #999999;
    --color-accent: #1a1a1a;
    --color-accent-dark: #000000;
    --color-border: #E8E6E1;
    --color-overlay: rgba(26, 26, 26, 0.25);

    /* Typography */
    --font-serif: 'Cormorant Garamond', 'Georgia', serif;
    --font-sans: 'Inter', 'Helvetica Neue', sans-serif;
    --font-script: 'Playfair Display', 'Georgia', serif;

    /* Spacing */
    --section-padding: clamp(80px, 10vw, 140px);
    --container-max: 1200px;
    --container-pad: clamp(20px, 5vw, 40px);

    /* Transitions */
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-smooth: cubic-bezier(0.22, 0.61, 0.36, 1);
    --duration: 0.6s;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

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

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s var(--ease-out);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

/* ─── TYPOGRAPHY ────────────────────────────────────── */
.section-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    line-height: 1.2;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.section-title em {
    font-style: italic;
    font-family: var(--font-script);
    color: var(--color-accent);
}

.section-subtitle {
    font-family: 'Raleway', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--color-text-light);
    margin-bottom: 3rem;
}

.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* ─── ANIMATIONS ────────────────────────────────────── */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 0.8s var(--ease-smooth) forwards;
}

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

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--duration) var(--ease-smooth),
        transform var(--duration) var(--ease-smooth);
}

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

/* ═══════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1.5rem var(--container-pad);
    transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
    background: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem var(--container-pad);
    box-shadow: 0 1px 0 var(--color-border);
}

.navbar-logo {
    font-family: 'Marcellus', serif;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    justify-self: center;
    padding: 0 3rem;
    transition: color 0.4s var(--ease-out);
    white-space: nowrap;
}

.navbar.scrolled .navbar-logo {
    color: var(--color-text);
}

.navbar-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.navbar-links-left {
    justify-self: end;
}

.navbar-links-right {
    justify-self: start;
}

.navbar-mobile-menu {
    display: none;
}

.navbar-links a {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s var(--ease-out);
    position: relative;
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.3s var(--ease-out);
}

.navbar-links a:hover::after {
    width: 100%;
}

.navbar.scrolled .navbar-links a {
    color: var(--color-text-light);
}

.navbar.scrolled .navbar-links a:hover {
    color: var(--color-text);
}

.nav-cta {
    padding: 0.6rem 1.5rem !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    transition: all 0.3s var(--ease-out) !important;
}

.nav-cta:hover {
    background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .nav-cta {
    border-color: var(--color-accent) !important;
    color: var(--color-accent) !important;
}

.navbar.scrolled .nav-cta:hover {
    background: var(--color-accent);
    color: #fff !important;
}

/* Hamburger */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    z-index: 1001;
}

.navbar-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: #fff;
    transition: all 0.3s var(--ease-out);
}

.navbar.scrolled .navbar-toggle span {
    background: var(--color-text);
}

.navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

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

.navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
}

.hero-image-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    will-change: opacity;
}

.hero-slide.active {
    opacity: 1;
}

.hero-image-wrapper picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.15) 0%,
            rgba(0, 0, 0, 0.05) 40%,
            rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    color: #fff;
    padding: 0 var(--container-pad);
    padding-bottom: 6rem;
    max-width: 800px;
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 500;
    line-height: 1.05;
    color: #fff;
    text-transform: uppercase;
}

.hero-title-script {
    font-family: var(--font-script);
    font-style: italic;
    font-weight: 400;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.9);
}

.hero-divider {
    width: 60px;
    height: 1px;
    background: var(--color-accent);
    margin: 0 auto 1.5rem;
}

.hero-tagline {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    opacity: 0.85;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    transition: all 0.4s var(--ease-out);
}

.hero-cta:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
    animation: scrollPulse 2s var(--ease-out) infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 1;
        transform: scaleY(1);
    }

    50% {
        opacity: 0.3;
        transform: scaleY(0.6);
    }
}

/* ═══════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════ */
.about {
    padding: var(--section-padding) 0;
    background: var(--color-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 0 clamp(3rem, 6vw, 6rem);
    align-items: start;
}

.about-header {
    grid-column: 2;
    grid-row: 1;
    padding-top: 1rem;
}

.about-image-wrapper {
    position: relative;
    overflow: hidden;
    grid-column: 1;
    grid-row: 1 / 3;
}

.about-body {
    grid-column: 2;
    grid-row: 2;
}

.about-image {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: center;
}

.about-image-accent {
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid var(--color-accent);
    opacity: 0.3;
    z-index: -1;
}

.about-body {
    padding: 0;
}

.about-text {
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 1.2rem;
    font-family: 'Raleway', sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--color-text-light);
    line-height: 2;
    letter-spacing: 0.01em;
}

.about-footer {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.about-signature {
    font-family: var(--font-script);
    font-style: italic;
    font-size: 2.4rem;
    color: var(--color-accent);
    white-space: nowrap;
}

.about-cta {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.7rem 2.5rem;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    transition: all 0.4s var(--ease-out);
    white-space: nowrap;
}

.about-cta:hover {
    background: var(--color-accent);
    color: #fff;
}

/* About Stats */
.about-stats {
    display: flex;
    gap: 0;
    margin-top: 2.5rem;
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
}

.about-stat {
    flex: 1;
    text-align: center;
    padding: 0 1rem;
    position: relative;
}

.about-stat::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background: var(--color-accent);
}

.about-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: var(--color-border);
}

.about-stat-value {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--color-text);
    letter-spacing: 0.02em;
    margin-bottom: 0.4rem;
}

.about-stat-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* ═══════════════════════════════════════════════════════
   MAGAZINE BREAK
   ═══════════════════════════════════════════════════════ */
.magazine-break {
    width: 100%;
    overflow: hidden;
}

.magazine-break img {
    width: 100%;
    height: auto;
    display: block;
}

/* ═══════════════════════════════════════════════════════
   PORTFOLIO
   ═══════════════════════════════════════════════════════ */
.portfolio {
    padding: var(--section-padding) 0;
    background: var(--color-bg-alt);
}

.portfolio-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

.portfolio-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s var(--ease-smooth);
}

.portfolio-card:hover img {
    transform: scale(1.03);
}

.portfolio-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    aspect-ratio: 3 / 4;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 45%);
    z-index: 1;
    pointer-events: none;
    display: flex;
    align-items: flex-end;
    padding: 1.2rem;
    transition: transform 0.8s var(--ease-smooth);
}

.portfolio-card:hover .portfolio-card-overlay {
    transform: scale(1.03);
}

.portfolio-card-overlay .couple-name {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.02em;
}

.portfolio-card>img {
    position: relative;
}

.portfolio-card-content {
    padding: 1.2rem 0.25rem 0;
}

.portfolio-card-couple {
    font-family: var(--font-serif);
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 0.3rem;
}

.portfolio-card-location {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
}

.portfolio-card-cta {
    display: inline-block;
    margin-top: 0.8rem;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    border-bottom: 1px solid var(--color-accent);
    padding-bottom: 0.25rem;
    transition: all 0.4s var(--ease-out);
}

.portfolio-card-cta:hover {
    color: var(--color-text);
    border-color: var(--color-text);
    transform: translateX(4px);
}

/* Portfolio CTA Card (desktop 6th card) */
.portfolio-card-cta-card {
    position: relative;
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portfolio-card-cta-card:hover .portfolio-cta-card-img {
    transform: scale(1.05);
}

.portfolio-card-cta-card:hover .portfolio-cta-card-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.portfolio-cta-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s var(--ease-smooth);
}

.portfolio-cta-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    transition: background 0.5s var(--ease-out);
    z-index: 1;
}

.portfolio-cta-card-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.portfolio-cta-card-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.portfolio-cta-card-label {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.2rem;
    transition: color 0.5s var(--ease-out);
}

.portfolio-cta-card-title {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    font-weight: 400;
    color: #fff;
    line-height: 1.3;
    transition: color 0.5s var(--ease-out);
}

.portfolio-cta-card-title em {
    font-family: var(--font-script);
    font-style: italic;
    font-weight: 400;
}

.portfolio-cta-card-arrow {
    display: block;
    margin-top: 1.5rem;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.5s var(--ease-out);
}

/* Portfolio Mobile CTA */
.portfolio-mobile-cta {
    display: none;
    text-align: center;
    padding-top: 2.5rem;
}

.portfolio-mobile-cta-btn {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    transition: all 0.4s var(--ease-out);
}

.portfolio-mobile-cta-btn:hover {
    background: var(--color-accent);
    color: #fff;
}

/* ═══════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════ */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--color-bg-alt);
}

.testimonial-slider {
    max-width: 700px;
    margin: 0 auto;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s var(--ease-smooth);
}

.testimonial-card {
    min-width: 100%;
    padding: 2rem 1rem;
    text-align: center;
}

.testimonial-quote {
    font-family: var(--font-serif);
    font-size: 5rem;
    line-height: 0.5;
    color: var(--color-accent);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 2rem;
}

.testimonial-name {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.testimonial-info {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.testimonial-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-border);
    color: var(--color-text-light);
    transition: all 0.3s var(--ease-out);
}

.testimonial-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.testimonial-dots {
    display: flex;
    gap: 0.6rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-border);
    transition: all 0.3s var(--ease-out);
}

.dot.active {
    background: var(--color-accent);
    transform: scale(1.2);
}

/* ═══════════════════════════════════════════════════════
   INSTAGRAM FEED
   ═══════════════════════════════════════════════════════ */
.instagram-section {
    padding: clamp(60px, 8vw, 100px) 0;
    background: var(--color-bg-alt);
}

.instagram-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}

.instagram-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.instagram-icon {
    color: var(--color-text);
    flex-shrink: 0;
}

.instagram-handle {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    letter-spacing: 0.02em;
}

.instagram-subtitle {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    margin-top: 0.2rem;
}

.instagram-follow-btn {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.7rem 2rem;
    border: 1px solid var(--color-text);
    color: var(--color-text);
    transition: all 0.4s var(--ease-out);
}

.instagram-follow-btn:hover {
    background: var(--color-text);
    color: #fff;
    transform: translateY(-2px);
}

.instagram-feed-container {
    min-height: 200px;
}

/* Placeholder — rimuovere quando si inserisce il widget */
.instagram-feed-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 4rem 2rem;
    border: 2px dashed var(--color-border);
    color: var(--color-text-muted);
    text-align: center;
}

.instagram-feed-placeholder p {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 400;
}

.instagram-feed-placeholder-sub {
    font-size: 0.75rem !important;
    opacity: 0.6;
}

.instagram-mobile-cta {
    display: none;
    text-align: center;
    padding-top: 2rem;
}

.instagram-mobile-btn {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    transition: all 0.4s var(--ease-out);
}

.instagram-mobile-btn:hover {
    background: var(--color-accent);
    color: #fff;
}

/* ═══════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════ */
.contact {
    padding: var(--section-padding) 0;
    background: var(--color-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
}

.contact-header {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: -3.5rem;
}

.contact-content {
    padding: 0;
}

.contact-text {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Photo */
.contact-photo-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.contact-photo {
    width: 100%;
    height: 470px;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

.contact-photo-accent {
    position: absolute;
    top: -12px;
    left: -12px;
    right: 12px;
    bottom: 12px;
    border: 1px solid var(--color-accent);
    opacity: 0.3;
    z-index: -1;
}

/* Contact Links Row */
.contact-links {
    display: flex;
    gap: 1.5rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    transition: color 0.3s var(--ease-out);
}

.contact-link svg {
    color: var(--color-text-muted);
    transition: color 0.3s var(--ease-out);
    flex-shrink: 0;
}

.contact-link:hover {
    color: var(--color-text);
}

.contact-link:hover svg {
    color: var(--color-text);
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 0;
    font-size: 0.9rem;
    color: var(--color-text-light);
    transition: color 0.3s var(--ease-out);
}

a.contact-info-item:hover {
    color: var(--color-accent);
}

a.contact-info-item:hover svg {
    color: var(--color-text);
}

.contact-info-item svg {
    color: var(--color-accent);
    flex-shrink: 0;
}

.contact-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-border);
    color: var(--color-text-light);
    transition: all 0.3s var(--ease-out);
}

.social-link:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
}

/* WhatsApp CTA */
.contact-whatsapp-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin: 1.5rem 0 2rem;
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    background: #25D366;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
}

.contact-whatsapp-cta:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.contact-whatsapp-cta svg {
    flex-shrink: 0;
}

/* Contact Image (legacy) */
.contact-image-wrapper {
    overflow: hidden;
}

.contact-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3/4;
}

.contact-image-mobile {
    display: none;
}

/* ── Contact Form ── */
.contact-form-wrapper {
    padding: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.form-input {
    width: 100%;
    padding: 0.9rem 1rem;
    font-family: 'Raleway', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-text);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    outline: none;
    transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
}

.form-input::placeholder {
    color: var(--color-text-muted);
    opacity: 0.6;
}

.form-input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.08);
}

.form-textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.7;
}

.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    padding: 1rem 2.5rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text);
    background: transparent;
    border: 1px solid var(--color-text);
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    margin-top: 0.5rem;
}

.form-submit:hover {
    background: var(--color-text);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.form-submit:active {
    transform: translateY(0);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Form Success */
.form-success {
    text-align: center;
    padding: 4rem 2rem;
}

.form-success-icon {
    width: 60px;
    height: 60px;
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-accent);
    margin: 0 auto 1.5rem;
}

.form-success-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 0.8rem;
}

.form-success-text {
    font-family: 'Raleway', sans-serif;
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ═══════════════════════════════════════════════════════
   CHI SONO PAGE — ABOUT HERO
   ═══════════════════════════════════════════════════════ */
.about-hero {
    position: relative;
    height: 85vh;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
}

.about-hero-image-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.about-hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.about-hero-mobile-img {
    display: none;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.05) 40%,
            rgba(0, 0, 0, 0.45) 100%);
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 0 var(--container-pad);
    padding-bottom: 5rem;
    max-width: 800px;
}

/* ═══════════════════════════════════════════════════════
   CHI SONO PAGE — STORY SECTION
   ═══════════════════════════════════════════════════════ */
.story-section {
    padding: var(--section-padding) 0;
    background: var(--color-bg);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
}

.story-content {
    padding-top: 1rem;
}

.story-text {
    margin-top: 0.5rem;
}

.story-text p {
    margin-bottom: 1.2rem;
    font-family: 'Raleway', sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--color-text-light);
    line-height: 2;
    letter-spacing: 0.01em;
}

.story-text strong {
    font-weight: 500;
    color: var(--color-text);
}

/* Pull-Quotes */
.story-pullquote {
    font-family: var(--font-serif) !important;
    font-style: italic;
    font-size: 1.5rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: var(--color-text) !important;
    padding: 1rem 0 1rem 1.5rem;
    border-left: 2px solid var(--color-accent);
    margin: 2rem 0 !important;
}

/* Story Dividers */
.story-divider {
    width: 40px;
    height: 1px;
    background: var(--color-border);
    margin: 2.5rem 0;
}

.story-image-wrapper {
    position: sticky;
    top: 100px;
    overflow: hidden;
    align-self: start;
}

.story-image {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.story-image-accent {
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid var(--color-accent);
    opacity: 0.3;
    z-index: -1;
}

/* ═══════════════════════════════════════════════════════
   CHI SONO PAGE — APPROACH SECTION
   ═══════════════════════════════════════════════════════ */
.approach-section {
    padding: var(--section-padding) 0;
    background: var(--color-bg-alt);
}

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

.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.approach-card {
    padding: 2.5rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.approach-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.approach-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--color-border);
    margin-bottom: 1.5rem;
    line-height: 1;
}

.approach-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.approach-text {
    font-family: 'Raleway', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--color-text-light);
    line-height: 1.9;
}

/* ═══════════════════════════════════════════════════════
   CHI SONO PAGE — CREDENTIALS
   ═══════════════════════════════════════════════════════ */
.credentials-section {
    padding: clamp(60px, 8vw, 100px) 0;
    background: var(--color-text);
}

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

.credential-item {
    text-align: center;
    padding: 1rem;
    position: relative;
}

.credential-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.credential-value {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 400;
    color: #fff;
    margin-bottom: 0.5rem;
}

.credential-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

/* ═══════════════════════════════════════════════════════
   CHI SONO PAGE — CTA SECTION
   ═══════════════════════════════════════════════════════ */
.about-cta-section {
    padding: var(--section-padding) 0;
    background: var(--color-bg);
    text-align: center;
}

.about-cta-grid {
    max-width: 700px;
    margin: 0 auto;
}

.about-cta-text {
    font-family: 'Raleway', sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--color-text-light);
    line-height: 1.9;
    margin-bottom: 0.5rem;
}

.about-cta-section .contact-whatsapp-cta {
    margin: 2rem auto;
}

.about-cta-info {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
}

.about-cta-section .section-label,
.about-cta-section .section-title {
    text-align: center;
}


/* ═══════════════════════════════════════════════════════
   STORY PAGE — HERO
   ═══════════════════════════════════════════════════════ */
.story-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
}

.story-hero-image-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.story-hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.story-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.05) 40%,
            rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.story-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 0 var(--container-pad);
    padding-bottom: 6rem;
    max-width: 800px;
}

.story-hero-location {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 0.8rem;
}

/* ═══════════════════════════════════════════════════════
   STORY PAGE — INTRO
   ═══════════════════════════════════════════════════════ */
.story-intro {
    padding: var(--section-padding) 0;
    background: var(--color-bg);
}

.story-intro-content {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.story-intro-text {
    margin-top: 1rem;
}

.story-intro-text p {
    font-family: 'Raleway', sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--color-text-light);
    line-height: 2;
    letter-spacing: 0.01em;
    margin-bottom: 1.2rem;
}

/* ── Story Credits ── */
.story-credits {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.story-credits p {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--color-text-light);
    letter-spacing: 0.03em;
}

.story-credits-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.3rem;
}

/* ═══════════════════════════════════════════════════════
   STORY PAGE — GALLERY (Masonry)
   ═══════════════════════════════════════════════════════ */
.story-gallery {
    padding: 0 12px var(--section-padding);
    background: var(--color-bg);
}

.story-gallery .container {
    max-width: 100%;
    padding: 0;
}

.story-gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.story-gallery-column {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.story-gallery-item {
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.story-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s var(--ease-smooth);
}

.story-gallery-item:hover img {
    transform: scale(1.03);
}

/* ── Gallery Section Separator ── */
.story-gallery-separator {
    width: 100%;
    text-align: center;
    padding: 4rem 2rem;
    flex-shrink: 0;
}

/* Full-width break only when direct child of the grid (desktop multi-column) */
.story-gallery-grid>.story-gallery-separator {
    flex-basis: 100%;
}

.story-gallery-separator .separator-label {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    font-style: italic;
    color: var(--color-text);
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
}

.story-gallery-separator .separator-subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
}

/* ═══════════════════════════════════════════════════════
   STORY PAGE — LIGHTBOX
   ═══════════════════════════════════════════════════════ */
.story-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s var(--ease-smooth);
}

.story-lightbox.active {
    display: flex;
    opacity: 1;
}

.story-lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-lightbox-content img {
    max-width: 100%;
    max-height: 88vh;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}

.story-lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    transition: color 0.3s;
    font-weight: 300;
}

.story-lightbox-close:hover {
    color: #fff;
}

.story-lightbox-prev,
.story-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 1rem;
    z-index: 10;
    transition: color 0.3s;
}

.story-lightbox-prev:hover,
.story-lightbox-next:hover {
    color: #fff;
}

.story-lightbox-prev {
    left: 1rem;
}

.story-lightbox-next {
    right: 1rem;
}

.story-lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
}

/* ═══════════════════════════════════════════════════════
   STORY PAGE — CTA
   ═══════════════════════════════════════════════════════ */
.story-cta {
    padding: var(--section-padding) 0;
    background: var(--color-bg-alt);
    text-align: center;
}

.story-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.story-cta-text {
    font-family: 'Raleway', sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--color-text-light);
    line-height: 1.9;
    margin-bottom: 0.5rem;
}

.story-cta .contact-whatsapp-cta {
    margin: 2rem auto;
}

/* ═══════════════════════════════════════════════════════
   PORTFOLIO PAGE — HERO (Compact)
   ═══════════════════════════════════════════════════════ */
.portfolio-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.footer {
    padding: 4rem 0 2.5rem;
    background: var(--color-text);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    align-items: start;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

/* ── Navigation Column ── */
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-nav-title {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 0.3rem;
}

.footer-nav a {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: color 0.3s var(--ease-out);
}

.footer-nav a:hover {
    color: #fff;
}

/* ── Center Column (Brand + Social) ── */
.footer-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-brand {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 0.6rem;
    letter-spacing: 0.02em;
}

.footer-tagline {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s var(--ease-out);
}

.footer-social a:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

/* ── Contact Column ── */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    text-align: right;
}

.footer-contact-title {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 0.3rem;
}

.footer-contact a {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: color 0.3s var(--ease-out);
}

.footer-contact a:hover {
    color: #fff;
}

/* ── Bottom Bar ── */
.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
}

.footer-copy {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════════════
   LANGUAGE SWITCHER
   ═══════════════════════════════════════════════════════ */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: 1.5rem;
}

.lang-switcher a {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s var(--ease-out);
    text-decoration: none;
    padding: 0.2rem 0.3rem;
}

.lang-switcher a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.lang-switcher a.active {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

.lang-switcher .lang-divider {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.7rem;
    user-select: none;
}

/* Scrolled state */
.navbar.scrolled .lang-switcher a {
    color: var(--color-text-muted);
}

.navbar.scrolled .lang-switcher a:hover {
    color: var(--color-text);
}

.navbar.scrolled .lang-switcher a.active {
    color: var(--color-text);
    font-weight: 600;
}

.navbar.scrolled .lang-switcher .lang-divider {
    color: var(--color-border);
}

/* Mobile lang switcher */
.lang-switcher-mobile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.lang-switcher-mobile a {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    transition: color 0.3s var(--ease-out);
    text-decoration: none;
    padding: 0.3rem 0.5rem;
}

.lang-switcher-mobile a:hover {
    color: var(--color-text);
}

.lang-switcher-mobile a.active {
    color: var(--color-text);
    font-weight: 500;
}

.lang-switcher-mobile .lang-divider {
    color: var(--color-border);
    font-size: 0.85rem;
    user-select: none;
}

/* Inline lang switcher — visible on mobile navbar bar */
.lang-switcher-inline {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

.lang-switcher-inline a {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.15rem 0.2rem;
    transition: color 0.3s var(--ease-out);
}

.lang-switcher-inline .lang-divider {
    font-size: 0.6rem;
    user-select: none;
}

/* Colors adapt to navbar state */
.navbar:not(.scrolled) .lang-switcher-inline a {
    color: rgba(255, 255, 255, 0.5);
}

.navbar:not(.scrolled) .lang-switcher-inline a.active {
    color: rgba(255, 255, 255, 0.95);
}

.navbar:not(.scrolled) .lang-switcher-inline .lang-divider {
    color: rgba(255, 255, 255, 0.25);
}

.navbar.scrolled .lang-switcher-inline a {
    color: var(--color-text-muted);
}

.navbar.scrolled .lang-switcher-inline a.active {
    color: var(--color-text);
}

.navbar.scrolled .lang-switcher-inline .lang-divider {
    color: var(--color-border);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — TABLET
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .portfolio-stack {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Chi Sono page — Tablet */
    .approach-grid {
        grid-template-columns: 1fr;
    }

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

    .credential-item:nth-child(2)::after {
        display: none;
    }

    /* Story page — Tablet */
    .story-gallery-grid[data-columns="2"] .story-gallery-column:nth-child(3) {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    /* Navbar mobile */
    .navbar {
        display: flex;
        justify-content: space-between;
    }

    .navbar-logo {
        font-size: 1.1rem;
        letter-spacing: 0.1em;
        padding: 0 0.5rem;
    }

    .navbar-links-left,
    .navbar-links-right {
        display: none;
    }

    .navbar-toggle {
        display: flex;
    }

    .lang-switcher-inline {
        display: flex;
        margin-left: auto;
        margin-right: 0.4rem;
    }

    .navbar-mobile-menu {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--color-surface);
        padding: 2rem;
        transition: right 0.4s var(--ease-smooth);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .navbar-mobile-menu.active {
        display: block;
        right: 0;
    }

    .navbar-mobile-links {
        list-style: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        gap: 2rem;
    }

    .navbar-mobile-links a {
        font-family: var(--font-sans);
        font-size: 1rem;
        font-weight: 400;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: var(--color-text);
        transition: color 0.3s var(--ease-out);
    }

    .navbar-mobile-links .nav-cta {
        border-color: var(--color-accent) !important;
        color: var(--color-accent) !important;
        text-align: center;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1rem;
    }

    .about-header .section-title {
        margin-bottom: 0;
    }

    .about-header,
    .about-image-wrapper,
    .about-body {
        grid-column: 1;
        grid-row: auto;
    }

    .about-image {
        aspect-ratio: 3/4;
    }

    .about-image-accent {
        display: none;
    }

    /* About footer */
    .about-footer {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .about-stats {
        gap: 0;
    }

    .about-stat {
        padding: 0 0.5rem;
    }

    .about-stat-value {
        font-size: 1.2rem;
    }

    .about-stat-label {
        font-size: 0.55rem;
        letter-spacing: 0.1em;
    }

    /* Portfolio */
    .portfolio-stack {
        grid-template-columns: 1fr;
    }

    .portfolio-card-cta-card {
        display: none;
    }

    .portfolio-mobile-cta {
        display: block;
    }

    /* Instagram */
    .instagram-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
    }

    .instagram-follow-btn {
        display: none;
    }

    .instagram-mobile-cta {
        display: block;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-image-mobile {
        display: block;
        overflow: hidden;
        margin-bottom: 1rem;
    }

    .contact-image-mobile img {
        width: 100%;
        aspect-ratio: 3/4;
        object-fit: cover;
    }

    .contact-image-wrapper {
        display: none;
    }

    /* Hero */
    .hero-title {
        font-size: clamp(2.8rem, 12vw, 4.5rem);
    }

    .hero-image-wrapper picture:nth-child(2) .hero-slide {
        object-position: center 30%;
    }

    .hero-image-wrapper picture:nth-child(4) .hero-slide {
        object-position: 63% center;
    }

    /* Chi Sono page — Mobile */
    .about-hero {
        height: 70vh;
    }

    .about-hero-desktop-img {
        display: none;
    }

    .about-hero-mobile-img {
        display: block !important;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .story-image-accent {
        display: none;
    }

    .story-image-wrapper {
        display: none;
    }

    .approach-card {
        padding: 1.8rem;
    }

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

    .credential-item:nth-child(2)::after {
        display: none;
    }

    /* Story page — Mobile */
    .story-hero {
        height: 80vh;
        min-height: 500px;
    }

    .story-lightbox-prev {
        left: 0.5rem;
    }

    .story-lightbox-next {
        right: 0.5rem;
    }

    .story-gallery-separator {
        padding: 3rem 1rem;
    }

    /* Footer — Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-nav {
        align-items: center;
    }

    .footer-contact {
        text-align: center;
        align-items: center;
    }

    .footer-center {
        order: -1;
    }
}