@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700;800;900&family=Cormorant+Garamond:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #D6B48A;
    --primary-dark: #B89164;
    --bg-white: #ffffff;
    --bg-light: #f8f8f8;
    --bg-lighter: #fafafa;
    --bg-card: #ffffff;
    --text-primary: #0a0a0a;
    --text-secondary: #4a4a4a;
    --text-muted: #888888;
    --border: rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-white);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    z-index: 1000;
    border-bottom: 1px solid rgba(214, 180, 138, 0.12);
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.9) inset,
                0 2px 16px rgba(0, 0, 0, 0.03);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 84px;
}

.logo {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    position: relative;
    display: flex;
    align-items: center;
}

.logo-accent {
    color: var(--primary);
    font-weight: 600;
}

.nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 44px;
}

.nav a {
    font-family: 'Inter', sans-serif;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 4px 0;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav a:hover {
    color: var(--primary);
}

.nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-number {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.2px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(245, 239, 230, 0.4);
    border: 1px solid rgba(214, 180, 138, 0.15);
}

.phone-number:hover {
    color: var(--primary);
    background: rgba(245, 239, 230, 0.7);
    border-color: rgba(214, 180, 138, 0.3);
}

.btn-header {
    font-family: 'Inter', sans-serif;
    padding: 11px 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
    box-shadow: 0 2px 12px rgba(214, 180, 138, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-header span {
    position: relative;
    z-index: 1;
}

.btn-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    opacity: 0;
    transition: none;
}

.btn-header:hover::before,
.btn-header:active::before {
    opacity: 1;
}

.btn-header:hover,
.btn-header:active {
    box-shadow: 0 6px 24px rgba(214, 180, 138, 0.4);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 140px;
    background: linear-gradient(140deg, #fcfaf6 0%, #f5efe6 50%, #f0e9e0 100%);
    color: var(--text-primary);
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 10%, rgba(214, 180, 138, 0.25), transparent 55%);
    pointer-events: none;
}

.hero-layout {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 64px;
    z-index: 1;
}

.hero-copy {
    flex: 0 0 60%;
    max-width: 780px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(10, 10, 10, 0.45);
    margin-bottom: 32px;
}

.hero-eyebrow span {
    width: 32px;
    height: 1px;
    background: rgba(10, 10, 10, 0.2);
    display: block;
}

.hero-title {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 28px;
    max-width: 680px;
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(10, 10, 10, 0.72);
    margin-bottom: 32px;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.feature-card {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.feature-icon {
    display: none;
}

.feature-card p {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
    letter-spacing: -0.2px;
    margin: 0;
}

.feature-card p span {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: rgba(10, 10, 10, 0.5);
    margin-top: 4px;
    letter-spacing: 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 48px;
}

.hero .btn-primary {
    box-shadow: 0 25px 60px rgba(214, 180, 138, 0.4);
}

.hero-outline {
    background: rgba(255, 255, 255, 0.85);
    border: 1.5px solid rgba(214, 180, 138, 0.25);
    backdrop-filter: blur(10px);
}

.hero-outline:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--primary);
}

.hero-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.meta-item {
    padding: 22px 28px;
    border-radius: 18px;
    border: 1px solid rgba(214, 180, 138, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(250, 247, 242, 0.9));
    min-width: 180px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.meta-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.meta-item:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 28px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(214, 180, 138, 0.35);
}

.meta-item:hover::before {
    opacity: 1;
}

.meta-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(214, 180, 138, 0.15), rgba(214, 180, 138, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    border: 1px solid rgba(214, 180, 138, 0.2);
}

.meta-content {
    display: flex;
    flex-direction: column;
}

.meta-label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(10, 10, 10, 0.5);
    margin-bottom: 6px;
    font-weight: 400;
}

.meta-value {
    font-size: 30px;
    font-weight: 500;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.hero-media {
    flex: 0 0 40%;
    max-width: 520px;
    position: relative;
    min-height: 520px;
}

.media-glow {
    position: absolute;
    inset: 40px;
    background: radial-gradient(circle at 30% 20%, rgba(214, 180, 138, 0.4), transparent 65%);
    filter: blur(60px);
    z-index: 0;
}

.media-main {
    position: relative;
    border-radius: 32px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(10, 10, 10, 0.05);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    z-index: 1;
}

.media-main img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 24px;
    filter: saturate(0.95) contrast(1.02);
}

.media-card {
    position: absolute;
    backdrop-filter: blur(16px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 241, 232, 0.96));
    border: 1px solid rgba(10, 10, 10, 0.06);
    border-radius: 22px;
    padding: 26px;
    color: var(--text-primary);
    width: 240px;
    z-index: 2;
    box-shadow:
        0 25px 60px rgba(15, 15, 15, 0.12),
        0 10px 25px rgba(15, 15, 15, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
}

.media-card::before {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
    opacity: 0.8;
    pointer-events: none;
}

.project-card {
    bottom: -30px;
    left: 40px;
}

.rating-card {
    top: -30px;
    right: 0;
}

.card-label {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.3em;
    color: rgba(10, 10, 10, 0.45);
    margin-bottom: 12px;
}

.card-value {
    font-size: 34px;
    font-weight: 600;
    letter-spacing: -1px;
    margin-bottom: 6px;
    color: var(--text-primary);
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.media-card p {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(10, 10, 10, 0.6);
}

.rating-value {
    font-size: 46px;
    font-weight: 600;
    letter-spacing: -1.5px;
    margin-bottom: 6px;
    color: var(--primary-dark);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn {
    font-family: 'Inter', sans-serif;
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 500;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.3px;
    position: relative;
    overflow: hidden;
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 16px rgba(214, 180, 138, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    opacity: 0;
    transition: none;
}

.btn-primary:hover,
.btn-primary:active {
    box-shadow: 0 8px 28px rgba(214, 180, 138, 0.45);
}

.btn-primary:hover::before,
.btn-primary:active::before {
    opacity: 1;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-primary);
    border: 1.5px solid rgba(214, 180, 138, 0.25);
    backdrop-filter: blur(10px);
}

.btn-outline:hover,
.btn-outline:active {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}



/* Portfolio Section */
.portfolio {
    padding: 140px 0;
    background: linear-gradient(180deg, #fdfbf8 0%, #f8f5f0 100%);
    position: relative;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(214, 180, 138, 0.3), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-title {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: rgba(10, 10, 10, 0.55);
    font-weight: 400;
    letter-spacing: 0.3px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

.portfolio-item {
    position: relative;
    height: 360px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.06),
        inset 0 0 0 1px rgba(255, 255, 255, 0.8);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(250, 247, 242, 0.9));
    padding: 12px;
}

.portfolio-item.large {
    grid-column: span 2;
    height: 360px;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(214, 180, 138, 0.4), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.portfolio-item:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.12),
        inset 0 0 0 1px rgba(255, 255, 255, 1);
}

.portfolio-item:hover::before {
    opacity: 1;
}

.portfolio-placeholder {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border-radius: 12px;
    background: 
        linear-gradient(135deg, rgba(250, 247, 242, 0.95), rgba(245, 239, 230, 0.9)),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(214, 180, 138, 0.03) 10px,
            rgba(214, 180, 138, 0.03) 20px
        );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(214, 180, 138, 0.6);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    z-index: 0;
    transition: opacity 0.3s ease;
}

.portfolio-placeholder svg {
    opacity: 0.5;
}

.portfolio-item.loaded .portfolio-placeholder {
    opacity: 0;
    pointer-events: none;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: saturate(0.9) contrast(1.05);
    position: relative;
    z-index: 1;
}

.portfolio-item:hover img {
    transform: scale(1.05);
    filter: saturate(1) contrast(1.08);
}

.portfolio-overlay {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(250, 247, 242, 0.95));
    backdrop-filter: blur(20px);
    border-radius: 12px;
    transform: translateY(calc(100% + 12px));
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(214, 180, 138, 0.2);
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-overlay h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
    color: var(--text-primary);
}

.portfolio-overlay p {
    font-size: 13px;
    color: rgba(10, 10, 10, 0.6);
    letter-spacing: 0.2px;
}

.portfolio-action {
    text-align: center;
}

.btn-outline-dark {
    font-family: 'Inter', sans-serif;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    border: 1.5px solid rgba(214, 180, 138, 0.3);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: box-shadow 0.3s ease, border-color 0.2s ease, color 0.2s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.btn-outline-dark span {
    position: relative;
    z-index: 1;
}

.btn-outline-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    opacity: 0;
    transition: none;
}

.btn-outline-dark:hover,
.btn-outline-dark:active {
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 8px 28px rgba(214, 180, 138, 0.35);
}

.btn-outline-dark:hover::before,
.btn-outline-dark:active::before {
    opacity: 1;
}

/* Services Section */
.services {
    padding: 140px 0;
    background: linear-gradient(180deg, #ffffff 0%, #fdfbf8 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(250, 247, 242, 0.9));
    padding: 48px 40px;
    border-radius: 20px;
    border: 1px solid rgba(214, 180, 138, 0.15);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(214, 180, 138, 0.35);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(214, 180, 138, 0.15), rgba(214, 180, 138, 0.08));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    border: 1px solid rgba(214, 180, 138, 0.2);
    color: var(--primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, rgba(214, 180, 138, 0.25), rgba(214, 180, 138, 0.15));
    border-color: rgba(214, 180, 138, 0.35);
    transform: scale(1.05);
}

.service-card h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
    color: var(--text-primary);
}

.service-card p {
    font-size: 15px;
    color: rgba(10, 10, 10, 0.6);
    line-height: 1.7;
    margin-bottom: 24px;
    letter-spacing: 0.1px;
}

.service-price {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: -0.5px;
    display: inline-block;
    padding: 8px 16px;
    background: rgba(214, 180, 138, 0.08);
    border-radius: 8px;
}

/* Process Section */
.process {
    padding: 140px 0;
    background: linear-gradient(180deg, #fdfbf8 0%, #f8f5f0 100%);
    position: relative;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(214, 180, 138, 0.3), transparent);
}

.process .section-header {
    margin-bottom: 80px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, 
        var(--primary) 0%,
        var(--primary) 25%,
        rgba(214, 180, 138, 0.3) 25%,
        rgba(214, 180, 138, 0.3) 50%,
        rgba(214, 180, 138, 0.3) 75%,
        rgba(214, 180, 138, 0.3) 100%
    );
    z-index: 0;
}

.process-step {
    text-align: left;
    position: relative;
    padding: 32px 80px 32px 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(250, 247, 242, 0.95));
    border-radius: 20px;
    border: 1px solid rgba(214, 180, 138, 0.15);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
    border-radius: 20px 20px 0 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(214, 180, 138, 0.35);
}

.process-step:hover::before {
    opacity: 1;
}

.step-number {
    position: absolute;
    top: 28px;
    right: 24px;
    font-family: 'Inter', sans-serif;
    font-size: 64px;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.15;
    line-height: 1;
    letter-spacing: -2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step:hover .step-number {
    opacity: 0.35;
    transform: scale(1.05);
}

.process-step h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
    color: var(--text-primary);
}

.process-step p {
    font-size: 15px;
    color: rgba(10, 10, 10, 0.6);
    line-height: 1.6;
    letter-spacing: 0.1px;
}

/* CTA Section */
.cta {
    padding: 140px 0;
    background: linear-gradient(180deg, #ffffff 0%, #fdfbf8 100%);
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(214, 180, 138, 0.3), transparent);
}

.cta-content {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    padding: 64px 56px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(250, 247, 242, 0.95));
    border-radius: 24px;
    border: 1px solid rgba(214, 180, 138, 0.2);
    box-shadow: 
        0 16px 56px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
}

.cta-title {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 500;
    letter-spacing: 0.3px;
    margin-bottom: 16px;
    line-height: 1.2;
    color: var(--text-primary);
}

.cta-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    color: rgba(10, 10, 10, 0.6);
    margin-bottom: 40px;
    font-weight: 400;
    letter-spacing: 0.1px;
}

.cta-form {
    display: grid;
    gap: 16px;
    margin-bottom: 20px;
}

.input {
    font-family: 'Inter', sans-serif;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.9);
    border: 1.5px solid rgba(214, 180, 138, 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 15px;
    letter-spacing: -0.2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.input::placeholder {
    color: rgba(10, 10, 10, 0.4);
}

.input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 16px rgba(214, 180, 138, 0.2);
    transform: translateY(-2px);
}

.cta-form .btn-primary {
    margin-top: 8px;
    padding: 18px 40px;
    font-size: 16px;
}

.cta-privacy {
    font-size: 13px;
    color: rgba(10, 10, 10, 0.45);
    letter-spacing: 0.1px;
}

/* Footer */
.footer {
    padding: 80px 0 32px;
    background: var(--text-primary);
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer .logo {
    color: var(--bg-white);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 16px;
}

.footer-nav h4,
.footer-contacts h4 {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.2px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
}

.footer-nav a,
.footer-contacts a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-nav a:hover,
.footer-contacts a:hover {
    color: var(--primary);
}

.footer-contacts p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-top: 8px;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }

    .header-content {
        height: 72px;
    }

    .logo {
        font-size: 24px;
    }

    .nav {
        position: static;
        transform: none;
        gap: 32px;
    }

    .nav a {
        font-size: 13px;
    }

    .phone-number {
        font-size: 14px;
        padding: 7px 14px;
    }

    .btn-header {
        padding: 10px 24px;
        font-size: 13px;
    }

    .hero {
        padding: 140px 0 100px;
    }

    .hero-layout {
        flex-direction: column;
        gap: 56px;
    }

    .hero-copy,
    .hero-media {
        width: 100%;
        max-width: 100%;
    }

    .hero-copy {
        flex: none;
    }

    .hero-title {
        font-size: 52px;
        max-width: 100%;
    }

    .hero-description {
        font-size: 17px;
        max-width: 700px;
    }

    .hero-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .hero-media {
        min-height: auto;
        max-width: 100%;
    }

    .media-main img {
        height: 480px;
        width: 100%;
        object-fit: cover;
    }

    .media-card {
        position: relative;
        width: auto;
        max-width: 400px;
        margin-top: 20px;
        left: 0;
        right: 0;
        top: auto;
        bottom: auto;
    }

    .portfolio {
        padding: 100px 0;
    }

    .section-header {
        margin-bottom: 56px;
    }

    .section-title {
        font-size: 44px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 48px;
    }

    .portfolio-item {
        height: 340px;
        padding: 10px;
    }

    .portfolio-item.large {
        grid-column: span 2;
        height: 380px;
    }

    .portfolio-overlay {
        padding: 20px 24px;
        bottom: 10px;
        left: 10px;
        right: 10px;
    }

    .portfolio-overlay h3 {
        font-size: 20px;
    }

    .portfolio-overlay p {
        font-size: 13px;
    }

    .services {
        padding: 100px 0;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .service-card {
        padding: 40px 32px;
    }

    .service-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 24px;
    }

    .service-icon svg {
        width: 26px;
        height: 26px;
    }

    .service-card h3 {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .service-card p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .service-price {
        font-size: 20px;
    }

    .process {
        padding: 100px 0;
    }

    .process .section-header {
        margin-bottom: 56px;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .process-steps::before {
        display: none;
    }

    .process-step {
        padding: 24px 70px 24px 24px;
    }

    .process-step:hover {
        transform: translateY(-4px);
    }

    .step-number {
        font-size: 56px;
        opacity: 0.15;
        right: 20px;
        top: 24px;
    }

    .process-step h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .process-step p {
        font-size: 14px;
        line-height: 1.6;
    }

    .hero-meta {
        gap: 16px;
    }

    .meta-item {
        min-width: 160px;
        padding: 20px 24px;
    }

    .meta-icon {
        width: 40px;
        height: 40px;
    }

    .meta-value {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .header-content {
        height: 64px;
    }

    .logo {
        font-size: 22px;
        letter-spacing: 0.3px;
    }

    .nav {
        display: none;
    }

    .header-actions {
        gap: 12px;
    }

    .phone-number {
        display: none;
    }

    .btn-header {
        padding: 9px 20px;
        font-size: 13px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-layout {
        gap: 36px;
    }

    .hero-title {
        font-size: 38px;
        letter-spacing: -0.3px;
        line-height: 1.18;
    }

    .hero-eyebrow {
        font-size: 11px;
        letter-spacing: 0.2em;
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 17px;
        margin-bottom: 24px;
        line-height: 1.6;
    }

    .hero-features {
        display: none;
    }
    
    .hero-media {
        width: 100%;
        max-width: 100%;
        margin-top: 20px;
    }
    
    .media-main img {
        height: 340px;
        border-radius: 16px;
    }
    
    .media-card {
        position: static;
        width: 100%;
        max-width: 100%;
        margin-top: 16px;
        padding: 20px 22px;
        border-radius: 16px;
    }
    
    .project-card {
        margin-bottom: 12px;
    }
    
    .card-label {
        font-size: 10px;
        margin-bottom: 8px;
    }
    
    .card-value {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .media-card p {
        font-size: 12px;
        line-height: 1.5;
    }
    
    .rating-value {
        font-size: 36px;
        margin-bottom: 8px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 32px;
    }

    .hero-actions .btn {
        width: 100%;
        padding: 15px;
        justify-content: center;
    }

    .hero-meta {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .meta-item {
        min-width: 100%;
        width: 100%;
        padding: 16px 20px;
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .meta-icon {
        margin-bottom: 0;
        margin-right: 12px;
    }

    .media-card {
        position: static;
        transform: none;
        margin-top: 14px;
    }

    .project-card {
        margin-bottom: 10px;
    }

    .portfolio {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .section-title {
        font-size: 38px;
        margin-bottom: 10px;
    }

    .section-subtitle {
        font-size: 15px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 40px;
    }

    .portfolio-item {
        height: 320px;
        padding: 8px;
    }

    .portfolio-item.large {
        grid-column: span 1;
        height: 320px;
    }

    /* Оверлей всегда видим на мобильных */
    .portfolio-overlay {
        padding: 18px 20px;
        transform: translateY(0);
        opacity: 1;
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        margin-top: -80px;
        z-index: 2;
    }

    .portfolio-overlay h3 {
        font-size: 18px;
        margin-bottom: 4px;
    }

    .portfolio-overlay p {
        font-size: 12px;
    }

    .portfolio-item:hover {
        transform: none;
    }

    .portfolio-item:hover img {
        transform: none;
    }

    .services {
        padding: 80px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        padding: 32px 28px;
        display: flex;
        flex-direction: column;
    }

    .service-card:hover {
        transform: translateY(-4px);
    }

    .service-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 20px;
        border-radius: 12px;
    }

    .service-icon svg {
        width: 22px;
        height: 22px;
    }

    .service-card h3 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .service-card p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 18px;
    }

    .service-price {
        font-size: 19px;
        padding: 6px 14px;
    }

    .process {
        padding: 80px 0;
    }

    .process .section-header {
        margin-bottom: 48px;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .process-steps::before {
        display: none;
    }

    .process-step {
        padding: 24px 20px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .process-step:hover {
        transform: translateY(-3px);
    }

    .step-number {
        width: 56px;
        height: 56px;
        font-size: 24px;
        margin-bottom: 16px;
        margin-top: 0;
        flex-shrink: 0;
        border-radius: 12px;
    }

    .process-step h3 {
        font-size: 19px;
        margin-bottom: 8px;
    }

    .process-step p {
        font-size: 14px;
        line-height: 1.6;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

/* Адаптация для средних мобильных устройств */
@media (max-width: 640px) {
    .container {
        padding: 0 20px;
    }

    .hero {
        padding: 90px 0 50px;
    }

    .hero-layout {
        gap: 32px;
    }

    .hero-title {
        font-size: 34px;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .hero-eyebrow {
        margin-bottom: 16px;
    }

    .hero-description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .hero-features {
        display: none;
    }
    
    .hero-media {
        width: 100%;
        max-width: 100%;
        margin-top: 16px;
    }
    
    .media-main img {
        height: 300px;
        border-radius: 14px;
    }
    
    .media-card {
        position: static;
        width: 100%;
        max-width: 100%;
        margin-top: 14px;
        padding: 16px 18px;
        border-radius: 14px;
    }
    
    .project-card {
        margin-bottom: 10px;
    }
    
    .card-label {
        font-size: 9px;
        margin-bottom: 6px;
    }
    
    .card-value {
        font-size: 20px;
        margin-bottom: 6px;
    }
    
    .media-card p {
        font-size: 11px;
        line-height: 1.45;
    }
    
    .rating-value {
        font-size: 32px;
        margin-bottom: 6px;
    }

    .hero-actions {
        margin-bottom: 28px;
        gap: 8px;
    }

    .hero-meta {
        gap: 8px;
    }

    /* Portfolio адаптация */
    .portfolio {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 8px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .portfolio-item {
        height: 280px;
    }

    .portfolio-item.large {
        height: 280px;
    }

    /* Services адаптация */
    .services {
        padding: 60px 0;
    }

    .services-grid {
        gap: 12px;
    }

    .service-card {
        padding: 24px 20px;
    }

    .service-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 14px;
    }

    .service-icon svg {
        width: 19px;
        height: 19px;
    }

    .service-card h3 {
        font-size: 19px;
        margin-bottom: 8px;
    }

    .service-card p {
        font-size: 14px;
        margin-bottom: 14px;
        line-height: 1.5;
    }

    .service-price {
        font-size: 18px;
        font-weight: 600;
        padding: 6px 12px;
    }

    /* Process адаптация */
    .process {
        padding: 60px 0;
    }

    .process .section-header {
        margin-bottom: 36px;
    }

    .process-steps {
        gap: 12px;
    }

    .process-step {
        padding: 20px 60px 20px 18px;
    }

    .step-number {
        font-size: 48px;
        opacity: 0.15;
        right: 16px;
        top: 20px;
        letter-spacing: -1px;
    }

    .process-step h3 {
        font-size: 18px;
        margin-bottom: 7px;
    }

    .process-step p {
        font-size: 13px;
        line-height: 1.5;
    }
}

/* Адаптация для небольших мобильных устройств */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    /* Hero оптимизация */
    .hero {
        padding: 80px 0 40px;
    }

    .hero-layout {
        gap: 24px;
    }

    .hero-eyebrow {
        font-size: 10px;
        letter-spacing: 0.15em;
        margin-bottom: 14px;
        flex-wrap: wrap;
    }

    .hero-eyebrow span {
        width: 20px;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.15;
        margin-bottom: 14px;
        letter-spacing: -0.5px;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .hero-features {
        display: none;
    }
    
    .hero-media {
        width: 100%;
        max-width: 100%;
        margin-top: 16px;
    }
    
    .media-main img {
        height: 280px;
        border-radius: 12px;
    }

    .hero-actions {
        gap: 8px;
        margin-bottom: 24px;
    }

    .hero-actions .btn {
        padding: 13px 18px;
        font-size: 14px;
    }

    .hero-meta {
        gap: 8px;
    }

    .meta-item {
        padding: 14px 16px;
        border-radius: 12px;
        flex-direction: row;
        align-items: center;
    }

    .meta-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 0;
        margin-right: 10px;
        flex-shrink: 0;
    }

    .meta-icon svg {
        width: 14px;
        height: 14px;
    }

    .meta-content {
        display: flex;
        flex-direction: column;
        gap: 1px;
    }

    .meta-label {
        font-size: 10px;
        font-weight: 400;
    }

    .meta-value {
        font-size: 15px;
        font-weight: 500;
    }

    .media-card {
        padding: 14px 16px;
        border-radius: 12px;
        margin-top: 12px;
        position: static;
        width: 100%;
        max-width: 100%;
    }

    .project-card {
        margin-bottom: 8px;
    }

    .card-label {
        font-size: 9px;
        letter-spacing: 0.2em;
        margin-bottom: 6px;
    }

    .card-value {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .media-card p {
        font-size: 11px;
        line-height: 1.4;
    }

    .rating-value {
        font-size: 30px;
        margin-bottom: 6px;
    }

    /* Header оптимизация */
    .header-content {
        height: 60px;
    }

    .logo {
        font-size: 19px;
    }

    .btn-header {
        padding: 9px 16px;
        font-size: 12px;
    }

    /* Секции */
    .section-title {
        font-size: 28px;
        margin-bottom: 10px;
        line-height: 1.2;
    }

    .section-subtitle {
        font-size: 13px;
        line-height: 1.4;
    }

    /* Портфолио */
    .portfolio {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 28px;
    }

    .section-title {
        font-size: 26px;
        line-height: 1.2;
    }

    .section-subtitle {
        font-size: 12px;
        margin-top: 6px;
    }

    .portfolio-grid {
        gap: 10px;
        margin-bottom: 28px;
    }

    .portfolio-item {
        height: 240px;
        padding: 6px;
        border-radius: 14px;
    }

    .portfolio-item.large {
        height: 260px;
    }

    .portfolio-item img {
        border-radius: 10px;
    }

    .portfolio-placeholder {
        border-radius: 10px;
        top: 6px;
        left: 6px;
        right: 6px;
        bottom: 6px;
    }

    .portfolio-placeholder svg {
        width: 36px;
        height: 36px;
    }

    .portfolio-placeholder span {
        font-size: 12px;
        margin-top: 8px;
    }

    .portfolio-overlay {
        padding: 12px 14px;
        margin-top: -65px;
        border-radius: 10px;
    }

    .portfolio-overlay h3 {
        font-size: 15px;
        margin-bottom: 2px;
        line-height: 1.25;
    }

    .portfolio-overlay p {
        font-size: 10px;
        line-height: 1.3;
    }

    .portfolio-action .btn-outline-dark {
        padding: 11px 24px;
        font-size: 13px;
        width: 100%;
    }

    /* Услуги */
    .services {
        padding: 50px 0;
    }

    .services-grid {
        gap: 10px;
    }

    .service-card {
        padding: 20px 18px;
        border-radius: 14px;
    }

    .service-card:hover {
        transform: none;
    }

    .service-card:active {
        transform: scale(0.98);
    }

    .service-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 12px;
        border-radius: 10px;
    }

    .service-icon svg {
        width: 16px;
        height: 16px;
    }

    .service-card h3 {
        font-size: 18px;
        margin-bottom: 8px;
        line-height: 1.25;
    }

    .service-card p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 14px;
    }

    .service-price {
        font-size: 18px;
        font-weight: 700;
        padding: 7px 14px;
        border-radius: 8px;
    }

    /* Процесс */
    .process {
        padding: 50px 0;
    }

    .process .section-header {
        margin-bottom: 28px;
    }

    .process-steps {
        gap: 10px;
    }

    .process-step {
        padding: 16px 50px 16px 16px;
        border-radius: 14px;
    }

    .process-step:hover {
        transform: none;
    }

    .process-step:active {
        transform: scale(0.98);
    }

    .step-number {
        font-size: 42px;
        opacity: 0.12;
        right: 12px;
        top: 16px;
        letter-spacing: -1px;
    }

    .process-step h3 {
        font-size: 17px;
        margin-bottom: 6px;
        line-height: 1.25;
    }

    .process-step p {
        font-size: 13px;
        line-height: 1.5;
    }

    /* CTA */
    .cta {
        padding: 50px 0;
    }

    .cta-content {
        max-width: 100%;
    }

    .cta-title {
        font-size: 26px;
        margin-bottom: 12px;
        line-height: 1.25;
    }

    .cta-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
        line-height: 1.5;
    }

    .cta-form {
        gap: 10px;
        flex-direction: column;
    }

    .input {
        padding: 14px 18px;
        font-size: 15px;
        width: 100%;
    }

    .cta-form .btn {
        width: 100%;
        padding: 15px;
        font-size: 15px;
    }

    .cta-privacy {
        font-size: 11px;
        margin-top: 18px;
        line-height: 1.5;
    }

    /* Footer */
    .footer {
        padding: 40px 0 24px;
    }

    .footer-content {
        gap: 32px;
        grid-template-columns: 1fr;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-brand .logo {
        justify-content: center;
        margin-bottom: 12px;
    }

    .footer-brand p {
        font-size: 14px;
        line-height: 1.6;
    }

    .footer-nav,
    .footer-contacts {
        text-align: center;
    }

    .footer-nav h4,
    .footer-contacts h4 {
        font-size: 15px;
        margin-bottom: 14px;
    }

    .footer-nav p,
    .footer-contacts p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 6px;
    }

    .footer-contacts a {
        font-size: 18px;
        display: inline-block;
        margin-bottom: 10px;
    }

    .footer-bottom {
        margin-top: 32px;
        padding-top: 24px;
    }

    .footer-bottom p {
        font-size: 12px;
    }
}

/* Адаптация для тач-устройств - оверлей всегда видим */
@media (hover: none) and (pointer: coarse) {
    .portfolio-overlay {
        transform: translateY(0);
        opacity: 1;
    }

    .portfolio-item:hover {
        transform: none;
    }

    .portfolio-item:hover img {
        transform: none;
    }

    .portfolio-item:active {
        transform: scale(0.98);
    }

    /* Services для тач-устройств */
    .service-card:hover {
        transform: none;
    }

    .service-card:active {
        transform: scale(0.98);
    }

    .service-card:hover .service-icon {
        transform: none;
    }

    /* Process для тач-устройств */
    .process-step:hover {
        transform: none;
    }

    .process-step:active {
        transform: scale(0.98);
    }

    .process-step:hover .step-number {
        opacity: 0.15;
        transform: none;
    }

    .process-step:active .step-number {
        opacity: 0.3;
        transform: scale(1.05);
    }
}

/* ============================================
   MODAL WINDOW
   ============================================ */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 241, 232, 0.96));
    border-radius: 24px;
    padding: 48px 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 
        0 25px 60px rgba(15, 15, 15, 0.25),
        0 10px 25px rgba(15, 15, 15, 0.15);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(10, 10, 10, 0.05);
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(10, 10, 10, 0.1);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.modal-subtitle {
    font-size: 15px;
    color: rgba(10, 10, 10, 0.6);
    margin-bottom: 32px;
    line-height: 1.5;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-form .input {
    width: 100%;
    padding: 16px 20px;
    border: 1.5px solid rgba(10, 10, 10, 0.1);
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.modal-form .input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(214, 180, 138, 0.1);
}

.modal-form .btn {
    width: 100%;
    margin-top: 8px;
}

.modal-privacy {
    font-size: 12px;
    color: rgba(10, 10, 10, 0.5);
    text-align: center;
    margin-top: 16px;
    line-height: 1.5;
}

/* ============================================
   BURGER MENU
   ============================================ */

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    position: relative;
    z-index: 1001;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav.mobile-active {
    display: flex !important;
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        display: none;
        z-index: 1000;
    }
    
    .nav a {
        padding: 12px 16px;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .nav a:hover {
        background: rgba(214, 180, 138, 0.1);
    }
    
    .modal-content {
        padding: 36px 28px;
    }
    
    .modal-title {
        font-size: 26px;
    }
    
    .modal-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 32px 24px;
        border-radius: 20px;
    }
    
    .modal-title {
        font-size: 24px;
    }
    
    .modal-close {
        width: 36px;
        height: 36px;
        top: 16px;
        right: 16px;
        font-size: 24px;
    }
}