@font-face {
    font-family: 'Geologica';
    src: url("/static/landing/fonts/Geologica/Geologica-VariableFont_CRSV,SHRP,slnt,wght.2926daa6f6c9.ttf") format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    font-family: 'Geologica', sans-serif;
    color: #1a1a1a;
    background: #fff;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    max-width: 1920px;
    width: 100%;
    transform-origin: 0 0;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

:root {
    --white: #ffffff;
    --pink-bg: #ede4e4;
    --red: #d93025;
    --red-hover: #c42a1f;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-gray: #555555;
}

.container { width: 72%; max-width: 1400px; margin: 0 auto; padding: 0 40px; }

.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; max-width: 1920px; width: 100%; background: var(--white); }
.header .container { display: flex; align-items: center; height: 56px; gap: 36px; }
.logo { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.logo img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-size: 20px; font-weight: 400; line-height: 1; transition: color 0.2s; white-space: nowrap; }
.nav a:hover { color: var(--red); }
.header-contacts { display: flex; align-items: center; gap: 24px; }
.header-phone { font-size: 20px; font-weight: 700; line-height: 1; white-space: nowrap; }
.header-email { font-size: 20px; color: var(--text-gray); line-height: 1; white-space: nowrap; font-weight: 400; }

.hero { position: relative; margin-top: 56px; overflow: hidden; background: #2a2a40; }
.hero-bg { position: relative; }
.hero-bg img { width: 100%; height: auto; display: block; }
.hero-overlay { position: absolute; inset: 0; display: flex; align-items: center; }
.hero-content { position: relative; z-index: 1; max-width: 750px; text-align: left; }
.hero-content h1 { font-size: 86px; font-weight: 800; line-height: 1.15; color: var(--text-light); margin-bottom: 18px; }
.h1-line { display: block; white-space: nowrap; }
.hero-subtitle { font-size: 22px; font-weight: 700; color: var(--text-light); margin-bottom: 36px; }
.hero-features { display: flex; align-items: center; gap: 10px; font-size: 18px; color: rgba(255,255,255,0.8); margin-bottom: 50px; white-space: nowrap; }
.hero-features span::after { content: ' | '; color: rgba(255,255,255,0.3); }
.hero-features span:last-child::after { display: none; }
.hero-cta { display: flex; align-items: center; gap: 20px; }
.hero-cta .strelka { width: 64px; height: 64px; filter: brightness(0) invert(1); }

.btn-pill { display: inline-flex; align-items: center; justify-content: center; background: rgb(204, 0, 0); color: var(--text-light); font-family: 'Geologica', sans-serif; font-size: 22px; font-weight: 400; padding: 10px 36px; border-radius: 15px; border: none; cursor: pointer; transition: background 0.2s, transform 0.15s; white-space: nowrap; }
.btn-pill:hover { background: var(--red-hover); transform: translateY(-1px); }
.btn-dark { display: inline-flex; align-items: center; justify-content: center; background: var(--text-dark); color: var(--text-light); font-family: 'Geologica', sans-serif; font-size: 17px; font-weight: 500; padding: 12px 40px; border-radius: 18px; border: none; cursor: pointer; transition: background 0.2s; white-space: nowrap; min-width: 240px; }
.btn-dark:hover { background: #333; }

.section-title { font-size: 50px; font-weight: 700; text-align: center; color: var(--text-dark); margin-bottom: 56px; line-height: 1.25; margin-top: -75px; }

.why-section { padding: 120px 0 100px; background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.why-card { position: relative; padding-top: 60px; padding-left: 20px; }
.why-card-num { position: absolute; top: -10px; left: -10px; width: 200px; height: auto; pointer-events: none; z-index: 0; }
.why-card-content { position: relative; z-index: 1; padding-top: 10px; }
.why-card p { font-size: 16px; color: var(--text-gray); line-height: 1.65; margin-left: -25px; margin-top: 15px; }
.why-card h3 { font-size: 24px; font-weight: 700; margin-bottom: 16px; line-height: 1.3; }

.portfolio-section { padding: 90px 0 70px; background: #d5c5c5; }
.portfolio-section .section-title { color: var(--text-light); font-size: 52px; margin-top: -50px; margin-bottom: 30px; }
.portfolio-grid { display: grid; grid-template-columns: 1fr 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; }
.portfolio-item { overflow: hidden; background: #ccc; }
.portfolio-item a { display: block; width: 100%; height: 100%; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-item:nth-child(1) { grid-column: 1; grid-row: 1; }
.portfolio-item:nth-child(2) { grid-column: 2; grid-row: 1 / span 2; }
.portfolio-item:nth-child(3) { grid-column: 3; grid-row: 1; }
.portfolio-item:nth-child(4) { grid-column: 1; grid-row: 2; }
.portfolio-item:nth-child(5) { grid-column: 3; grid-row: 2; }
.portfolio-more { display: flex; justify-content: center; padding-top: 50px; }

.design-section { padding: 90px 0; background: var(--white); }
.design-header { text-align: center; margin-bottom: 56px; }
.design-header .svg-title { display: block; max-width: 480px; margin: -40px auto -5px; }
.design-header .line2 { font-size: 40px; font-weight: 700; line-height: 1.3; letter-spacing: 2px; }
.design-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.design-card-image { overflow: hidden; margin-bottom: 20px; background: #ddd; }
.design-card-image img { width: 100%; height: auto; display: block; }
.design-card h3 { font-size: 30px; font-weight: 700; margin-bottom: 12px; }
.design-card p { font-size: 16px; color: var(--text-gray); line-height: 1.65; max-width: 80%; margin-top: 15px; }

.cta-section { position: relative; overflow: hidden; background: #2a1a1a; }
.cta-bg { position: relative; }
.cta-bg img { width: 100%; display: block; }
.cta-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; padding: 0 40px 8%; z-index: 1; }
.cta-overlay .cta-desc { font-size: 34px; font-weight: 700; color: var(--text-light); margin-bottom: 24px; line-height: 1.35; }
.cta-strelka { width: 80px; height: 80px; margin-bottom: 28px; }
.cta-strelka img { width: 100%; height: 100%; filter: brightness(0) invert(1); }
.cta-overlay .btn-pill { font-size: 22px; padding: 10px 60px; }

.guarantee-section { padding: 60px 0 90px; background: linear-gradient(to bottom, #ffffff, #e8dada); }
.guarantee-section .section-title { margin-top: 0; }
.guarantee-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.guarantee-card-image { overflow: hidden; aspect-ratio: 4/3; margin-bottom: 20px; background: #ddd; }
.guarantee-card-image img { width: 100%; height: 100%; object-fit: cover; }
.guarantee-card h3 { font-size: 30px; font-weight: 700; margin-bottom: 12px; line-height: 1.1; }
.guarantee-card p { font-size: 16px; color: var(--text-gray); line-height: 1.65; max-width: 80%; }

.budget-section { padding: 90px 0; background: linear-gradient(to bottom, #e8dada, #c0b0b0); }
.budget-section .section-title { margin-top: -100px; }
.budget-inner { display: flex; align-items: flex-end; gap: 56px; }
.budget-text { flex: 0 0 340px; }
.budget-text p { font-size: 25px; font-weight: 650; line-height: 1.3; }
.budget-books { flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 28px; }
.budget-book img { max-height: 300px; width: auto; filter: drop-shadow(-10px 30px 20px rgba(0,0,0,0.5)); }

.also-section { padding: 90px 0; background: var(--white); }
.also-section .section-title { margin-top: -30px; }
.also-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.also-card-image { overflow: hidden; aspect-ratio: 4/3; background: #ddd; margin-bottom: 20px; }
.also-card-image img { width: 100%; height: 100%; object-fit: cover; }
.also-card h3 { font-size: 30px; font-weight: 700; line-height: 1.1; }

.clients-section { position: relative; overflow: hidden; background: #111; }
.clients-bg { position: relative; }
.clients-bg img { width: 100%; display: block; }
.clients-overlay { position: absolute; bottom: 50px; left: 0; right: 0; text-align: center; z-index: 1; }
.clients-text { font-size: 40px; font-weight: 700; color: var(--text-light); }

.service-section { padding: 90px 0; background: var(--white); }
.service-header { text-align: center; margin-bottom: 30px; margin-top: -40px; }
.service-header .line1 { font-size: 37px; font-weight: 700; }
.service-header .svg-title { display: block; max-width: 800px; margin: 6px auto 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.service-card-image { overflow: hidden; aspect-ratio: 5/4; margin-bottom: 20px; background: #ddd; }
.service-card-image img { width: 100%; height: 100%; object-fit: cover; }
.service-card h3 { font-size: 30px; font-weight: 700; margin-bottom: 12px; }
.service-card p { font-size: 16px; color: var(--text-gray); line-height: 1.65; max-width: 80%; margin-top: 15px; }

.divider { height: 20px; background: #e0d0d0; }

.form-section { background: #1a1a1a; padding: 90px 0; }
.form-inner { display: flex; gap: 80px; align-items: flex-start; }
.form-info { flex: 0 0 400px; color: var(--text-light); }
.form-info h2 { font-size: 42px; font-weight: 700; margin-bottom: 16px; line-height: 1.2; }
.form-info p { font-size: 17px; color: rgba(255,255,255,0.6); line-height: 1.6; }
.dark-form { flex: 1; }
.df-group { margin-bottom: 16px; }
.df-group input, .df-group textarea { width: 100%; padding: 16px 20px; font-size: 16px; border: 1px solid rgba(255,255,255,0.15); border-radius: 6px; background: rgba(255,255,255,0.95); font-family: 'Geologica', sans-serif; outline: none; color: #1a1a1a; transition: border-color 0.2s; }
.df-group input:focus, .df-group textarea:focus { border-color: var(--red); }
.df-group textarea { resize: vertical; }
.df-consent { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0 24px; cursor: pointer; }
.df-consent input[type=checkbox] { margin-top: 4px; flex-shrink: 0; width: 18px; height: 18px; accent-color: var(--red); }
.df-consent span { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.5; }
.df-submit { width: 100%; padding: 16px; font-size: 20px; font-weight: 600; font-family: 'Geologica', sans-serif; background: var(--red); color: var(--text-light); border: none; border-radius: 10px; cursor: pointer; transition: background 0.2s; }
.df-submit:hover { background: var(--red-hover); }
.df-submit:disabled { opacity: 0.7; cursor: wait; }
#form-message { margin-top: 16px; text-align: center; font-size: 15px; }

.site-footer { background: #030014; color: rgba(255,255,255,.6); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 2rem; }
.footer-logo { height: 50px; margin-bottom: 1rem; filter: brightness(2); }
.footer-logo-text { font-size: 1.6rem; font-weight: 700; color: #fff; }
.footer-tagline { font-size: 1rem; color: rgba(255,255,255,.4); max-width: 280px; }
.footer-nav, .footer-contacts, .footer-social { display: flex; flex-direction: column; gap: .6rem; }
.footer-nav strong, .footer-contacts strong, .footer-social strong { color: #fff; margin-bottom: .4rem; font-size: 1.1rem; }
.footer-nav a, .footer-contacts a, .footer-social a { font-size: 1rem; }
.footer-nav a:hover, .footer-contacts a:hover, .footer-social a:hover { color: var(--red); }
.footer-contacts p { margin: 0; font-size: 1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { margin: 0; font-size: 1rem; }
.footer-privacy-btn { background: none; border: none; color: rgba(255,255,255,.35); font-size: 1rem; cursor: pointer; font-family: 'Geologica', sans-serif; transition: color 0.2s; }
.footer-privacy-btn:hover { color: #fff; }

.priv-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; }
.priv-modal[hidden] { display: none; }
.priv-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); }
.priv-box { position: relative; background: #fff; border-radius: 16px; max-width: 700px; width: 90%; max-height: 80vh; overflow-y: auto; padding: 40px; z-index: 1; }
.priv-close-btn { position: absolute; top: 16px; right: 20px; background: none; border: none; font-size: 28px; cursor: pointer; color: var(--text-gray); }
.priv-text { font-size: 15px; line-height: 1.7; margin-top: 16px; }

.pf-page { padding: 40px 0 40px; margin-top: 56px; background: #DCC7C4; }
.pf-title { font-size: 60px; font-weight: 900; text-align: center; color: var(--text-light); margin-bottom: 5px; margin-top: 20px; }
.pf-subtitle { font-size: 28px; text-align: center; color: var(--text-dark); font-weight: 300; margin-top: 6px; letter-spacing: 1px; }
.pf-content { padding: 60px 0 80px; background: var(--white); }
.pf-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pf-card { display: block; position: relative; overflow: hidden; background: #eee; text-decoration: none; color: var(--text-dark); border-radius: 5px; transition: transform 0.3s; }
.pf-card:hover { transform: translateY(-4px); }
.pf-card--wide { grid-column: span 2; }
.pf-card-img { aspect-ratio: 16/10; overflow: hidden; }
.pf-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.pf-card:hover .pf-card-img img { transform: scale(1.04); }
.pf-card-info { position: absolute; bottom: 20px; left: 20px; background: rgba(255,255,255,0.85); backdrop-filter: blur(6px); padding: 14px 60px 14px 18px; border-radius: 3px; min-width: 340px; white-space: nowrap; }
.pf-card-info h3 { font-size: 20px; font-weight: 550; line-height: 1.3; margin-bottom: 2px; color: var(--text-dark); }
.pf-card-info .pf-client { font-size: 18px; color: var(--text-dark); font-weight: 400; }
.pf-card-info .pf-arrow { position: absolute; right: 42px; bottom: 5px; font-size: 24px; font-weight: 300; color: var(--text-dark); }
.pf-empty { text-align: center; padding: 3rem 0; color: var(--text-gray); }
.pf-cta { display: flex; justify-content: center; margin-top: 56px; }

.pd-hero { position: relative; margin-top: 56px; min-height: 500px; background-size: cover; background-position: center; display: flex; align-items: flex-end; }
.pd-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 60%, transparent); }
.pd-hero-inner { position: relative; z-index: 1; padding: 60px 0; color: var(--text-light); }
.pd-breadcrumb { font-size: 14px; margin-bottom: 20px; opacity: 0.7; }
.pd-breadcrumb a { color: var(--text-light); text-decoration: underline; }
.pd-cat { display: inline-block; background: var(--red); color: var(--text-light); font-size: 13px; font-weight: 600; padding: 4px 14px; border-radius: 4px; margin-bottom: 16px; }
.pd-title { font-size: 56px; font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.pd-subtitle { font-size: 20px; opacity: 0.85; margin-bottom: 24px; max-width: 700px; }
.pd-meta { display: flex; gap: 24px; font-size: 15px; opacity: 0.7; flex-wrap: wrap; }
.pd-meta span { white-space: nowrap; }

.pd-section { padding: 60px 0; }
.pd-section--gray { background: #f5f3f3; }
.pd-section h2 { font-size: 36px; font-weight: 700; margin-bottom: 24px; color: var(--text-dark); }
.pd-text { font-size: 17px; line-height: 1.75; color: var(--text-gray); max-width: 800px; }
.pd-text p { margin-bottom: 16px; }
.pd-client-logo { height: 48px; margin-top: 20px; }

.pd-steps { display: flex; flex-direction: column; gap: 32px; }
.pd-step { display: flex; gap: 24px; align-items: flex-start; }
.pd-step-num { font-size: 36px; font-weight: 800; color: var(--red); flex-shrink: 0; width: 60px; }
.pd-step h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }

.pd-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pd-gallery-item { overflow: hidden; border-radius: 5px; }
.pd-gallery-item img { width: 100%; height: auto; display: block; }
.pd-gallery-item--video { aspect-ratio: 16/9; }
.pd-gallery-item--video iframe { width: 100%; height: 100%; }

.pd-quote { border-left: 4px solid var(--red); padding: 24px 32px; font-size: 20px; font-style: italic; color: var(--text-dark); max-width: 800px; }
.pd-quote footer { margin-top: 16px; font-size: 15px; font-style: normal; color: var(--text-gray); }

.pd-cta { padding: 60px 0; background: var(--text-dark); text-align: center; }
.pd-cta h2 { font-size: 40px; font-weight: 700; color: var(--text-light); margin-bottom: 24px; }

.pd-nav { padding: 40px 0; border-top: 1px solid #eee; }
.pd-nav-inner { display: flex; justify-content: space-between; align-items: center; }
.pd-nav-link { font-size: 16px; font-weight: 500; color: var(--text-dark); transition: color 0.2s; }
.pd-nav-link:hover { color: var(--red); }
