/* ========================================
   Dream Photography - Maja Carstens
   Luxury Editorial Design
   Inspired by Brailie & Tilia themes
   ======================================== */

/* --- Custom Fonts --- */
@font-face {
    font-family: 'Lovely Photograph';
    src: url('../fonts/lovely-photograph.otf') format('opentype');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Lovely Photograph';
    src: url('../fonts/lovely-photograph-light.otf') format('opentype');
    font-weight: 300;
    font-display: swap;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #ffffff;
    --color-bg-alt: #f8f6f3;
    --color-bg-dark: #1a1a1a;
    --color-bg-cream: #faf8f5;
    --color-text: #2c2c2c;
    --color-text-light: #777777;
    --color-text-muted: #aaaaaa;
    --color-accent: #c4a882;
    --color-accent-dark: #a8875f;
    --color-accent-light: #ddd0be;
    --color-border: #e8e4df;
    --color-border-light: #f0ece7;
    --font-heading: 'Cormorant Garamond', 'Georgia', serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.8;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px;
}

.container--wide {
    max-width: 1400px;
}

.container--narrow {
    max-width: 800px;
}

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

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 20px;
    position: relative;
}

.section-label--line::before,
.section-label--line::after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 1px;
    background: var(--color-accent);
    vertical-align: middle;
}

.section-label--line::before { margin-right: 16px; }
.section-label--line::after { margin-left: 16px; }

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 300;
    font-style: italic;
    color: var(--color-text-light);
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 14px 44px;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    transition: var(--transition);
    border-radius: 0;
    cursor: pointer;
}

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

.btn--outline:hover {
    background: var(--color-text);
    color: #fff;
}

.btn--white {
    border: 1px solid rgba(255,255,255,0.5);
    color: #fff;
    background: transparent;
}

.btn--white:hover {
    background: #fff;
    color: var(--color-text);
    border-color: #fff;
}

.btn--accent {
    background: var(--color-accent);
    color: #fff;
    border: 1px solid var(--color-accent);
}

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

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition);
}

.nav--scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    padding: 14px 0;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.nav__logo .nav__logo-white {
    display: none;
}

.nav:not(.nav--scrolled) .nav__logo .nav__logo-gold {
    display: none;
}

.nav:not(.nav--scrolled) .nav__logo .nav__logo-white {
    display: block;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav__links > li > a {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
    padding: 4px 0;
}

.nav:not(.nav--scrolled) .nav__links > li > a {
    color: #fff;
}

.nav--scrolled .nav__links > li > a {
    color: var(--color-text);
}

.nav__links > li > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: var(--transition);
}

.nav__links > li > a:hover::after,
.nav__links > li > a.active::after {
    width: 100%;
}

/* Dropdown */
.nav__dropdown {
    position: relative;
}

.nav__dropdown-menu {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-bg);
    min-width: 180px;
    padding: 16px 0;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    list-style: none;
}

.nav__dropdown:hover .nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    top: calc(100% + 6px);
}

.nav__dropdown-menu li a {
    display: block;
    padding: 10px 28px;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text) !important;
    transition: var(--transition);
}

.nav__dropdown-menu li a:hover {
    color: var(--color-accent) !important;
    padding-left: 32px;
}

.nav__dropdown-menu li a::after {
    display: none !important;
}

.nav__cta {
    padding: 10px 28px !important;
    border: 1px solid;
    letter-spacing: 0.15em !important;
}

.nav:not(.nav--scrolled) .nav__cta {
    border-color: rgba(255,255,255,0.35);
}

.nav--scrolled .nav__cta {
    border-color: var(--color-text);
}

.nav__cta:hover {
    background: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
    color: #fff !important;
}

.nav__cta::after {
    display: none !important;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__toggle span {
    width: 26px;
    height: 1.5px;
    background: var(--color-text);
    transition: var(--transition);
}

.nav:not(.nav--scrolled) .nav__toggle span {
    background: #fff;
}

/* === HOME PAGE === */

/* --- Hero Slider --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.hero__slider {
    position: absolute;
    inset: 0;
}

.hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease;
    transform: scale(1.08);
}

.hero__slide.active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 1.5s ease, transform 12s ease-out;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.35) 0%,
        rgba(0,0,0,0.15) 40%,
        rgba(0,0,0,0.3) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 40px;
}

.hero__label {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 1s ease forwards 0.3s;
}

.hero__title {
    font-family: 'Lovely Photograph', var(--font-heading);
    font-size: clamp(4.5rem, 11vw, 9rem);
    font-weight: 400;
    line-height: 0.95;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 1.2s ease forwards 0.6s;
}

.hero__tagline {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    font-weight: 300;
    font-style: italic;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 1s ease forwards 1s;
}

.hero__content .btn {
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 1s ease forwards 1.3s;
}

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

.hero__indicators {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 16px;
}

.hero__indicator {
    width: 40px;
    height: 2px;
    background: rgba(255,255,255,0.25);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.hero__indicator.active {
    background: #fff;
    width: 56px;
}

.hero__scroll {
    position: absolute;
    bottom: 48px;
    right: 48px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.5);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero__scroll-line {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.hero__scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.7);
    animation: scrollLine 2.5s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { top: -100%; }
    50% { top: 0; }
    100% { top: 100%; }
}

/* --- Services Row (Home) --- */
.services-row {
    padding: 100px 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border-light);
}

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

.services-row__item {
    text-align: center;
    padding: 40px;
    position: relative;
}

.services-row__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--color-border);
}

.services-row__num {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--color-accent);
    font-style: italic;
    margin-bottom: 16px;
}

.services-row__title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 12px;
    color: var(--color-text);
}

.services-row__text {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* --- Gallery Preview / Selected Work (Home) --- */
.selected-work {
    padding: 120px 0;
    background: var(--color-bg-cream);
}

.selected-work__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.selected-work__item {
    position: relative;
    overflow: hidden;
    display: block;
    aspect-ratio: 4/3;
}

.selected-work__item--tall {
    grid-row: span 2;
    aspect-ratio: auto;
}

.selected-work__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.selected-work__item:hover .selected-work__img {
    transform: scale(1.04);
}

.selected-work__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 50%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 36px;
    opacity: 0;
    transition: var(--transition);
}

.selected-work__item:hover .selected-work__overlay {
    opacity: 1;
}

.selected-work__category {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-accent-light);
    margin-bottom: 6px;
}

.selected-work__title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 400;
    color: #fff;
}

.selected-work__more {
    display: block;
    text-align: center;
    margin-top: 48px;
}

/* --- About Teaser (Home) --- */
.about-teaser {
    padding: 140px 0;
    background: var(--color-bg);
}

.about-teaser__grid {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 100px;
    align-items: center;
}

.about-teaser__image {
    position: relative;
}

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

.about-teaser__image::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid var(--color-accent-light);
    z-index: -1;
}

.about-teaser__content .section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
}

.about-teaser__content p {
    color: var(--color-text-light);
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.9;
}

.about-teaser__signature {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-style: italic;
    color: var(--color-accent);
    margin: 24px 0 32px;
}

/* --- Testimonials --- */
.testimonials {
    padding: 120px 0;
    background: var(--color-bg-alt);
}

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

.testimonials__quote {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 32px;
    position: relative;
}

.testimonials__quote::before {
    content: '\201C';
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--color-accent-light);
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
}

.testimonials__author {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* --- CTA Banner --- */
.cta {
    position: relative;
    padding: 140px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.cta__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.cta__content .section-label {
    color: var(--color-accent-light);
}

.cta__content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 300;
    margin-bottom: 16px;
}

.cta__content p {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: italic;
    opacity: 0.75;
    margin-bottom: 40px;
}

/* === PAGE HEADER (Inner Pages) === */
.page-header {
    position: relative;
    height: 55vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.page-header__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.25) 0%,
        rgba(0,0,0,0.4) 100%
    );
}

.page-header__content {
    position: relative;
    z-index: 2;
    padding: 80px 40px 0;
}

.page-header__label {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--color-accent-light);
    margin-bottom: 16px;
}

.page-header__title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1;
    margin-bottom: 12px;
}

.page-header__subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 300;
    font-style: italic;
    opacity: 0.75;
}

/* Testimonial card: logo placeholder (when no client image yet) */
.tcard__img-wrap--logo {
    background: radial-gradient(ellipse at center, #2a2420 0%, #1a1512 70%, #0f0c0a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.tcard__img-wrap--logo::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(196, 168, 130, 0.1) 0%, transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(196, 168, 130, 0.08) 0%, transparent 45%);
    pointer-events: none;
}

.tcard__logo {
    position: relative;
    z-index: 1;
    width: 55%;
    max-width: 220px;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(196, 168, 130, 0.3));
}

/* === ABOUT PAGE === */
.about {
    padding: 120px 0;
    background: var(--color-bg);
}

.about__grid {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 100px;
    align-items: center;
}

.about__image {
    position: relative;
}

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

.about__image::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid var(--color-accent-light);
    z-index: -1;
}

.about__content p {
    color: var(--color-text-light);
    margin-bottom: 16px;
    font-size: 0.9rem;
    line-height: 1.9;
}

/* "Hi, I'm Maja" handwritten signature gif */
.section-title--signature {
    margin-bottom: 24px;
    line-height: 1;
}

.signature-gif {
    display: block;
    max-width: 360px;
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .signature-gif {
        max-width: 280px;
    }
}

.about__stats {
    display: flex;
    gap: 48px;
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid var(--color-border);
}

.about__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about__stat-label {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.about__stat-value {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--color-text);
}

/* === PORTFOLIO OVERVIEW (Masonry 4-col) === */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 44px 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border-light);
}

.portfolio-filters__btn {
    padding: 10px 32px;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: 1px solid var(--color-border);
    color: var(--color-text-light);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.portfolio-filters__btn:hover,
.portfolio-filters__btn.active {
    background: var(--color-text);
    color: #fff;
    border-color: var(--color-text);
}

.portfolio {
    padding: 60px 0 120px;
    background: var(--color-bg);
}

.portfolio__masonry {
    column-count: 4;
    column-gap: 24px;
}

.portfolio__item {
    break-inside: avoid;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    display: block;
}

.portfolio__item img {
    width: 100%;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio__item:hover img {
    transform: scale(1.03);
}

.portfolio__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 60%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.portfolio__item:hover .portfolio__overlay {
    opacity: 1;
}

.portfolio__item-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 4px;
}

.portfolio__item-tag {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-accent-light);
}

.portfolio__item.hidden {
    display: none;
}

/* === GALLERY PAGES (Masonry 2-col) === */
.gallery-nav-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 36px 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border-light);
}

.gallery-nav-bar__link {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-light);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.gallery-nav-bar__link:hover {
    color: var(--color-accent);
}

.gallery-nav-bar__link svg {
    width: 14px;
    height: 14px;
}

.gallery-nav-bar__divider {
    width: 1px;
    height: 16px;
    background: var(--color-border);
}

.gallery-intro {
    padding: 60px 0 0;
    text-align: center;
    background: var(--color-bg);
}

.gallery-intro p {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.gallery {
    padding: 48px 0 120px;
    background: var(--color-bg);
}

.gallery__masonry {
    column-count: 4;
    column-gap: 16px;
}

.gallery__item {
    break-inside: avoid;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery__item img {
    width: 100%;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery__item:hover img {
    transform: scale(1.03);
}

.gallery__item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.gallery__item:hover .gallery__item-overlay {
    background: rgba(0,0,0,0.2);
}

.gallery__item-icon {
    color: #fff;
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition);
}

.gallery__item-icon svg {
    width: 32px;
    height: 32px;
}

.gallery__item:hover .gallery__item-icon {
    opacity: 1;
    transform: scale(1);
}

.gallery__item.hidden,
.albums__item.hidden {
    display: none;
}

/* === SERVICES / RATES PAGE === */
.services {
    padding: 120px 0;
    background: var(--color-bg-cream);
}

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

.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 20px;
}

.services__card {
    text-align: center;
    padding: 56px 28px;
    transition: var(--transition);
    position: relative;
    background: transparent;
}

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

.services__card:hover {
    background: var(--color-bg);
    box-shadow: 0 16px 48px rgba(0,0,0,0.06);
}

.services__icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 24px;
    color: var(--color-accent);
}

.services__icon svg {
    width: 100%;
    height: 100%;
}

.services__card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 12px;
}

.services__card p {
    font-size: 0.8rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

.rates {
    padding: 0;
}

.rates__section {
    padding: 80px 0;
}

.rates__section--alt {
    background: var(--color-bg-cream);
}

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

.rates__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 20px;
}

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

.rates__grid--single {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.rates__card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    padding: 48px 36px;
    transition: var(--transition);
    position: relative;
}

.rates__card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
    transform: translateY(-4px);
}

.rates__card--featured {
    border-color: var(--color-accent);
}

.rates__card--featured::before {
    content: 'Popular';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: #fff;
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 5px 20px;
}

.rates__card-header {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border-light);
}

.rates__card-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 8px;
}

.rates__card-price {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-accent);
    font-style: italic;
}

.rates__card-features {
    list-style: none;
    margin-bottom: 0;
}

.rates__card-features li {
    padding: 10px 0;
    font-size: 0.8rem;
    color: var(--color-text-light);
    border-bottom: 1px solid var(--color-border-light);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.rates__card-features li::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 9px;
}

.rates__card-description {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 28px;
}

.rates__card--wide {
    text-align: center;
}

.rates__card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--color-text);
}

.rates__card ul {
    list-style: none;
    margin-bottom: 28px;
}

.rates__card ul li {
    padding: 10px 0;
    font-size: 0.8rem;
    color: var(--color-text-light);
    border-bottom: 1px solid var(--color-border-light);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.rates__card ul li::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 9px;
}

.rates__card .rates__price {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-accent);
    font-style: italic;
}

.rates__note {
    text-align: center;
    margin-top: 48px;
    padding: 28px;
    background: var(--color-bg-cream);
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.rates__cta {
    text-align: center;
    padding: 100px 0 0;
}

.rates__cta h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 300;
    margin-bottom: 12px;
}

.rates__cta p {
    color: var(--color-text-light);
    margin-bottom: 28px;
    font-size: 0.9rem;
}

/* === CONTACT PAGE === */
/* --- Contact Intro --- */
.contact-intro {
    padding: 80px 0 0;
    background: var(--color-bg);
}

.contact-intro__title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 300;
    color: var(--color-text);
    margin-bottom: 24px;
}

.contact-intro__text {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.9;
    max-width: 560px;
    margin: 0 auto;
}

/* --- Contact Details Row --- */
.contact-details {
    padding: 60px 0 80px;
    background: var(--color-bg);
}

.contact-details__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-details__item {
    text-align: center;
    padding: 40px 20px;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.contact-details__item:hover {
    border-color: var(--color-accent);
}

.contact-details__icon {
    margin-bottom: 20px;
}

.contact-details__icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-accent);
}

.contact-details__label {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.contact-details__value {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--color-text);
    display: block;
}

.contact-details__link {
    text-decoration: none;
    transition: var(--transition);
}

.contact-details__link:hover {
    color: var(--color-accent);
}

.contact-details__extra {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 6px;
    font-style: italic;
}

/* --- Contact Form Section --- */
.contact-form-section {
    padding: 80px 0 100px;
    background: var(--color-bg-alt);
}

.contact__form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 40px;
}

.contact__social-section {
    text-align: center;
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid var(--color-border);
}

.contact__social-label {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.contact__social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.contact__social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    transition: var(--transition);
    color: var(--color-text-light);
}

.contact__social a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}

.contact__social svg {
    width: 16px;
    height: 16px;
}

/* --- Contact Form --- */
.contact__form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.form__group {
    position: relative;
}

.form__group input,
.form__group textarea,
.form__group select {
    width: 100%;
    padding: 18px 0 10px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--color-text);
    background: none;
    border: none;
    border-bottom: 1px solid var(--color-border);
    outline: none;
    transition: var(--transition);
    border-radius: 0;
    -webkit-appearance: none;
}

.form__group input:focus,
.form__group textarea:focus,
.form__group select:focus {
    border-bottom-color: var(--color-accent);
}

.form__group label {
    position: absolute;
    top: 18px;
    left: 0;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    pointer-events: none;
    transition: var(--transition);
}

.form__group input:focus ~ label,
.form__group input:not(:placeholder-shown) ~ label,
.form__group textarea:focus ~ label,
.form__group textarea:not(:placeholder-shown) ~ label {
    top: 0;
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--color-accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.form__group select ~ label {
    top: 0;
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--color-accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.form__group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 20px;
}

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

.form__submit {
    display: inline-block;
    padding: 16px 52px;
    background: var(--color-text);
    color: #fff;
    border: 1px solid var(--color-text);
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.form__submit:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.form__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.contact__form-status {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    min-height: 1.2em;
}

.contact__form-status[data-state="success"] {
    color: #2e7d32;
}

.contact__form-status[data-state="error"] {
    color: #c62828;
}

/* === ALBUMS GRID (Tilia Grid v1 3-col) === */
.albums {
    padding: 60px 0 120px;
    background: var(--color-bg);
}

.albums__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 0 170px;
}

.albums__item {
    text-decoration: none;
    color: #fff;
    display: block;
}

.albums__img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border-radius: 5px;
}

.albums__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.albums__item:hover .albums__img-wrap img {
    transform: scale(1.05);
}

.albums__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: background 0.4s ease;
    padding: 20px;
}

.albums__item:hover .albums__overlay {
    background: rgba(0, 0, 0, 0.35);
}

.albums__title {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    font-weight: 400;
    color: #fff;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease 0.05s, transform 0.4s ease 0.05s;
}

.albums__item:hover .albums__title {
    opacity: 1;
    transform: translateY(0);
}

.albums__tag {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    margin-bottom: 8px;
}

.albums__item:hover .albums__tag {
    opacity: 1;
    transform: translateY(0);
}

/* === FOOTER === */
.footer {
    padding: 80px 0 0;
    background: var(--color-bg-dark);
    color: rgba(255,255,255,0.6);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__heading {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 20px;
}

.footer__logo {
    display: block;
    max-width: 160px;
    height: auto;
    margin-bottom: 24px;
}

.footer__brand p {
    font-size: 0.8rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer__social {
    display: flex;
    gap: 10px;
}

.footer__social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.15);
    transition: var(--transition);
    color: rgba(255,255,255,0.5);
}

.footer__social a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}

.footer__social svg {
    width: 14px;
    height: 14px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links a {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    transition: var(--transition);
    color: rgba(255,255,255,0.5);
}

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

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.8rem;
    margin-bottom: 14px;
}

.footer__contact-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--color-accent);
    margin-top: 3px;
}

.footer__bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.05em;
}

.footer__separator {
    margin: 0 6px;
    opacity: 0.5;
}

.footer__legal-link {
    color: rgba(255,255,255,0.3);
    text-decoration: none;
    transition: var(--transition);
}

.footer__legal-link:hover {
    color: var(--color-accent);
}

/* === TERMS & CONDITIONS === */
.terms {
    padding: 80px 0 120px;
    background: var(--color-bg);
}

.terms__intro {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--color-border);
}

.terms__section {
    margin-bottom: 40px;
}

.terms__section h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 16px;
}

.terms__section p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.terms__section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.terms__section ul li {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    padding-left: 20px;
    position: relative;
}

.terms__section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
}

.terms__copyright {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-style: italic;
}

/* === TESTIMONIALS PAGE === */
.tpage-intro {
    padding: 80px 0 0;
    text-align: center;
    background: var(--color-bg-cream);
}

.tpage-intro p {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.9;
}

.tpage {
    padding: 60px 0 120px;
    background: var(--color-bg-cream);
}

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

.tcard {
    background: var(--color-bg);
    border: 1px solid var(--color-border-light);
    overflow: hidden;
    transition: var(--transition);
}

.tcard:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.tcard--featured {
    grid-row: span 2;
}

.tcard__img-wrap {
    overflow: hidden;
}

.tcard__img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tcard--featured .tcard__img {
    aspect-ratio: 3/4;
}

.tcard:hover .tcard__img {
    transform: scale(1.04);
}

.tcard__body {
    padding: 32px 28px;
    position: relative;
}

.tcard__quote-mark {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1;
    color: var(--color-accent-light);
    position: absolute;
    top: 12px;
    left: 28px;
}

.tcard__quote {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 20px;
    padding-top: 24px;
}

.tcard__name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 400;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 4px;
}

.tcard__session {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
}

/* --- Share Your Story CTA --- */
.tpage-share {
    padding: 100px 0;
    background: var(--color-bg);
    text-align: center;
}

.tpage-share .section-title {
    margin-bottom: 12px;
}

.tpage-share p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 520px;
    margin: 0 auto 36px;
}

/* === LIGHTBOX === */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox__img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
    position: absolute;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 20px;
    transition: var(--transition);
    opacity: 0.5;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
    opacity: 1;
}

.lightbox__close {
    top: 24px;
    right: 24px;
    font-size: 2.5rem;
}

.lightbox__prev {
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
}

.lightbox__next {
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
}

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

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

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .services__grid,
    .services-row__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-row__item:not(:last-child)::after,
    .services__card:not(:last-child)::after {
        display: none;
    }

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

    .tcard--featured {
        grid-row: span 1;
    }

    .tcard--featured .tcard__img {
        aspect-ratio: 4/3;
    }

    .about__grid,
    .about-teaser__grid {
        gap: 60px;
    }

    .contact-details__grid {
        gap: 30px;
    }

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

    .gallery__masonry {
        column-count: 3;
    }

    .selected-work__grid {
        gap: 20px;
    }

    .portfolio__masonry {
        column-count: 3;
    }

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

@media (max-width: 768px) {
    .container { padding: 0 24px; }

    .nav__inner { padding: 0 24px; }

    .nav__toggle {
        display: flex;
    }

    .nav__links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--color-bg);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        gap: 20px;
        transition: right 0.4s ease;
        box-shadow: -4px 0 30px rgba(0,0,0,0.12);
    }

    .nav__links.open {
        right: 0;
    }

    .nav__links > li > a {
        color: var(--color-text) !important;
        font-size: 0.8rem;
    }

    .nav__cta {
        border-color: var(--color-text) !important;
    }

    .nav__dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        padding: 0 0 0 16px;
        background: none;
        min-width: 0;
    }

    .nav__dropdown-menu li a {
        padding: 6px 0;
    }

    .about__grid,
    .about-teaser__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about__image,
    .about-teaser__image {
        max-width: 420px;
        margin: 0 auto;
    }

    .about__stats {
        flex-wrap: wrap;
        gap: 28px;
    }

    .selected-work__grid {
        grid-template-columns: 1fr;
    }

    .selected-work__item--tall {
        grid-row: span 1;
    }

    .portfolio__masonry {
        column-count: 2;
        column-gap: 16px;
    }

    .portfolio__masonry .portfolio__item {
        margin-bottom: 16px;
    }

    .gallery__masonry {
        column-count: 2;
        column-gap: 12px;
    }

    .gallery__masonry .gallery__item {
        margin-bottom: 12px;
    }

    .portfolio-filters {
        gap: 4px;
        padding: 28px 16px;
        flex-wrap: wrap;
    }

    .portfolio-filters__btn {
        padding: 8px 16px;
        font-size: 0.6rem;
    }

    .gallery-nav-bar {
        gap: 16px;
        padding: 24px 16px;
        flex-wrap: wrap;
    }

    .services__grid,
    .services-row__grid {
        grid-template-columns: 1fr;
    }

    .contact-details__grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 400px;
        margin: 0 auto;
    }

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

    .hero__scroll { display: none; }

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

    .tpage {
        padding: 40px 0 80px;
    }

    .selected-work,
    .about-teaser,
    .about,
    .gallery,
    .services,
    .testimonials,
    .contact-form-section,
    .rates {
        padding: 80px 0;
    }

    .contact-intro {
        padding: 60px 0 0;
    }

    .contact-details {
        padding: 40px 0 60px;
    }

    .cta { padding: 100px 0; }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .rates__grid,
    .rates__grid--two,
    .rates__grid--single {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero__title { font-size: 3.2rem; }
    .portfolio__masonry { column-count: 1; }
    .gallery__masonry { column-count: 1; }
    .portfolio-filters { flex-wrap: wrap; justify-content: center; }
    .albums__grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease, background 0.25s ease;
    z-index: 999;
}

.back-to-top svg {
    width: 22px;
    height: 22px;
}

.back-to-top:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
}

.back-to-top--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}
