:root {
    --brand: #C4612F;
    --brand-2: #A94E22;
    --accent: #D84315;
    --bg: #F7F4EF;
    --grad: linear-gradient(135deg, #C4612F 0%, #D84315 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    line-height: 1.2;
    color: var(--text);
}

h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    margin-bottom: 1.5rem;
}

h1 em {
    font-style: italic;
    color: var(--brand);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    margin-bottom: 0.75rem;
}

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

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

section {
    padding: clamp(4rem, 10vw, 7rem) var(--space-4);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(251, 249, 245, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: var(--space-4);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
}

.btn-header {
    padding: 0.65rem 1.5rem;
    border-radius: 999px;
    background: var(--brand);
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 200ms var(--ease-out);
}

.btn-header:hover {
    background: var(--brand-2);
    transform: translateY(-1px);
}

.hero {
    max-width: var(--container);
    margin: 0 auto;
    padding-top: clamp(3rem, 8vw, 5rem);
    padding-bottom: clamp(4rem, 10vw, 7rem);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    align-items: center;
}

@media (min-width: 900px) {
    .hero-content {
        grid-template-columns: 1.2fr 1fr;
    }
}

.eyebrow {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #F2E3D6;
    color: var(--brand-2);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}

.hero-lead {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--muted);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--grad);
    color: white;
    font-weight: 500;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: all 200ms var(--ease-out);
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(196, 97, 47, 0.3);
}

.btn-ghost {
    display: inline-block;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--text);
    font-weight: 500;
    border: 1px solid var(--border);
    border-radius: 999px;
    transition: all 200ms var(--ease-out);
}

.btn-ghost:hover {
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-1px);
}

.hero-visual {
    position: relative;
}

.hero-card {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform: rotate(-2deg);
}

.hero-image {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 12px;
}

.hero-badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: var(--brand);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(196, 97, 47, 0.4);
    text-align: center;
}

.badge-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
}

.badge-text {
    font-size: 0.85rem;
    opacity: 0.95;
    margin-top: 0.25rem;
}

.about {
    background: white;
    border-radius: 24px;
    max-width: calc(var(--container) + 4rem);
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    align-items: center;
}

@media (min-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr 1.2fr;
    }
}

.about-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 16px;
}

.about-text p {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

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

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

.services-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.section-lead {
    font-size: 1.15rem;
    color: var(--muted);
    margin-top: 0.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-6);
}

.service-card {
    position: relative;
    background: white;
    padding: var(--space-6);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 250ms var(--ease-out);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: var(--brand);
}

.service-card.featured {
    border: 2px solid var(--brand);
    box-shadow: 0 8px 24px rgba(196, 97, 47, 0.15);
}

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 0.9rem;
    background: #F2E3D6;
    color: var(--brand-2);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 999px;
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F2E3D6, #FBF9F5);
    color: var(--brand);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-price {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brand);
}

.benefits {
    background: white;
    max-width: var(--container);
    margin: 0 auto;
    text-align: center;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.benefits h2 {
    margin-bottom: var(--space-7);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-7);
}

.benefit-card {
    padding: var(--space-5);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    color: white;
    border-radius: 16px;
    margin: 0 auto 1.5rem;
}

.benefit-card h3 {
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: var(--muted);
    font-size: 0.95rem;
}

.reviews {
    max-width: var(--container);
    margin: 0 auto;
    text-align: center;
}

.reviews h2 {
    margin-bottom: var(--space-7);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
}

.review-card {
    background: white;
    padding: var(--space-6);
    border-radius: 16px;
    border: 1px solid var(--border);
    text-align: left;
    transition: all 250ms var(--ease-out);
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.review-stars {
    color: var(--brand);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.review-card p {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.review-author {
    font-weight: 500;
    color: var(--text);
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    background: white;
    padding: var(--space-8);
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

@media (min-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr 1.2fr;
    }
}

.contact-info h2 {
    margin-bottom: var(--space-6);
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    margin-bottom: var(--space-6);
}

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

.contact-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F2E3D6;
    color: var(--brand);
    border-radius: 12px;
}

.contact-label {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 0.25rem;
}

.contact-value {
    font-weight: 500;
    color: var(--text);
    font-size: 1.05rem;
}

.contact-value:hover {
    color: var(--brand);
}

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

.messenger-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 200ms var(--ease-out);
}

.messenger-btn.whatsapp {
    background: #25D366;
    color: white;
}

.messenger-btn.whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-2px);
}

.messenger-btn.telegram {
    background: #0088cc;
    color: white;
}

.messenger-btn.telegram:hover {
    background: #006FA3;
    transform: translateY(-2px);
}

.contact-form-wrapper h3 {
    margin-bottom: 0.5rem;
}

.form-description {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.alert-success {
    background: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.alert-error {
    background: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
}

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

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

.form-group label {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 200ms var(--ease-out);
    background: var(--surface);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(196, 97, 47, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.btn-full {
    width: 100%;
}

.site-footer {
    background: var(--text);
    color: white;
    padding: var(--space-7) var(--space-4);
    margin-top: clamp(4rem, 10vw, 7rem);
}

.footer-content {
    max-width: var(--container);
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

@media (min-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}

.footer-logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    opacity: 0.75;
    font-size: 0.95rem;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contacts a {
    opacity: 0.85;
    transition: opacity 200ms;
}

.footer-contacts a:hover {
    opacity: 1;
}

.footer-bottom {
    padding-top: var(--space-5);
    text-align: center;
}

.footer-copy {
    opacity: 0.7;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    section {
        padding: var(--space-7) var(--space-4);
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn, .btn-ghost {
        width: 100%;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* --- Недостающие дизайн-токены (значения из theme.css платформы) --- */
:root{
  --text: #14141c;
  --space-4: 16px;
  --border: #e7e7ef;
  --container: 1160px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --space-8: 64px;
  --muted: #6a6a7b;
  --space-6: 32px;
  --space-7: 48px;
  --space-5: 24px;
  --surface: #ffffff;
}

/* --- Недостающие дизайн-токены (значения из theme.css платформы) --- */
:root{
  --font-sans: "Segoe UI", system-ui, -apple-system, "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-size-base: var(--step-0, clamp(1rem, .96rem + .2vw, 1.125rem));
  --line-height: 1.6;
}
