/* ============================================
   БАЗОВЫЕ СТИЛИ
   ============================================ */

:root {
    --bg-color: #FAFAFA;
    --white: #FFFFFF;
    --text-primary: #1A1A1A;
    --text-secondary: #6B6B6B;
    --accent: #8B6F4E;
    --accent-hover: #735C40;
    --border: #E5E5E5;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
    --radius: 8px;
    --transition: all 0.3s ease;
    /* Палитра по макету */
    --bruno-text: #734A38;
    --bruno-text-secondary: #8B6049;
    --bruno-text-muted: #9D7560;
    --bruno-beige: #F0EBE4;
    --bruno-beige-dark: #E5DED4;
    --bruno-brown: #825C47;
    --bruno-brown-btn: #825C47;
    --bruno-brown-light: #A09080;
    --bruno-gold: #A09080;
    --bruno-nav-divider: #CCCCCC;
    /* Блок статистики по макету */
    --bruno-stats-bg: #F9F5F1;
    --bruno-stats-number: #73503B;
    --bruno-stats-label: #5B5047;
    --bruno-stats-divider: #E1D9D1;
}

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

html {
    font-family: Georgia, 'Times New Roman', serif;
}

body {
    font-family: Georgia, 'Times New Roman', serif;
    background: var(--white);
    color: var(--bruno-text);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

input, button, textarea, select {
    font-family: Georgia, 'Times New Roman', serif;
}

.main-content {
    min-height: calc(100vh - 180px);
    padding: 3rem 0 4rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   ТИПОГРАФИКА
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* ============================================
   HEADER
   ============================================ */

.header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--bruno-text);
    text-decoration: none;
    letter-spacing: 0.02em;
    font-family: inherit;
}

.nav {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.nav a {
    color: var(--bruno-text);
    text-decoration: none;
    transition: var(--transition);
    font-family: inherit;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    padding: 0 0.75rem;
    text-transform: uppercase;
}

.nav a:hover {
    color: var(--bruno-brown);
}

.nav-divider {
    width: 1px;
    height: 14px;
    background: var(--bruno-nav-divider);
    flex-shrink: 0;
}

/* ============================================
   КНОПКИ
   ============================================ */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-family: inherit;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--white);
}

.btn-link {
    background: transparent;
    color: var(--accent);
    padding: 0.5rem 0;
}

.btn-link:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ============================================
   HERO
   ============================================ */

.hero {
    padding: 2rem 0 4rem;
    text-align: center;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   BRUNO CRAFT — HERO
   ============================================ */

.hero-bruno {
    padding: 3rem 0 4rem;
    text-align: center;
}

.hero-bruno .hero-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    color: var(--bruno-text);
}

.hero-bruno .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    font-weight: 400;
}

.hero-bruno .hero-line {
    width: 80px;
    height: 2px;
    background: var(--bruno-brown-light);
    margin: 0 auto 1.25rem;
}

.hero-bruno .hero-subtitle,
.hero-bruno .hero-desc {
    color: var(--bruno-text);
}

.hero-bruno .hero-desc {
    font-size: 1rem;
    margin: 0;
    font-weight: 400;
}

/* ============================================
   BRUNO CRAFT — SERVICE CARDS (3 columns)
   ============================================ */

.services-cards {
    padding: 0 0 4rem;
}

.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card-bruno {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card-bruno:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.service-card-bruno-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bruno-beige);
}

.service-card-bruno-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-bruno-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bruno-beige);
}

.service-card-bruno-title {
    padding: 1.25rem;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--bruno-text);
    margin: 0;
    text-align: center;
}

.service-card-bruno .btn-bruno {
    margin: 1.25rem;
    margin-top: auto;
}

.btn-bruno {
    display: inline-block;
    padding: 0.65rem 1.25rem;
    background: var(--bruno-brown);
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-bruno:hover {
    background: var(--bruno-brown-btn);
    color: #FFFFFF;
    opacity: 0.95;
}

.btn-bruno-large {
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
}

/* ============================================
   BRUNO CRAFT — STATISTICS
   ============================================ */

.stats-bruno {
    padding: 2rem 0;
}

.stats-bruno-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 960px;
    margin: 0 auto;
    border-top: 1px solid var(--bruno-stats-divider);
    border-bottom: 1px solid var(--bruno-stats-divider);
}

.stat-bruno {
    text-align: center;
    padding: 1rem 1.5rem;
    border-left: 1px solid var(--bruno-stats-divider);
    min-height: 4.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-bruno:first-child {
    border-left: none;
}

.stat-bruno-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--bruno-stats-number);
    margin-bottom: 0.35rem;
}

.stat-bruno-label {
    font-size: 0.8rem;
    color: var(--bruno-stats-label);
    letter-spacing: 0.04em;
    font-weight: 400;
    text-transform: uppercase;
}

/* ============================================
   BRUNO CRAFT — CASES
   ============================================ */

.cases-bruno {
    padding: 4rem 0;
}

.cases-bruno .container {
    text-align: center;
}

.section-title-bruno {
    display: inline-block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--bruno-text);
    margin-bottom: 2.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bruno-brown-light);
}

.cases-bruno-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.case-card-bruno {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.case-card-bruno:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.case-card-bruno-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bruno-beige);
}

.case-card-bruno-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-card-bruno-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bruno-beige) 0%, var(--bruno-beige-dark) 100%);
}

.case-card-bruno-title {
    padding: 1rem 1.25rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--bruno-text);
    margin: 0;
}

.case-card-bruno-desc {
    padding: 0.35rem 1.25rem 1.25rem;
    margin: 0;
    font-size: 0.9rem;
    color: var(--bruno-text-secondary);
}

.cases-bruno-cta {
    text-align: center;
    margin: 2.5rem 0 0;
}

/* ============================================
   BRUNO CRAFT — CONTACT (form + contacts + map)
   ============================================ */

.contact-bruno {
    padding: 4rem 0;
    background: transparent;
}

.contact-bruno-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-bruno-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--bruno-text);
    margin: 0 0 0.5rem;
}

.contact-bruno-line {
    width: 40px;
    height: 2px;
    background: var(--bruno-brown-light);
    margin-bottom: 1.5rem;
}

.contact-form-bruno .form-group {
    margin-bottom: 1rem;
}

.contact-form-bruno input[type="text"],
.contact-form-bruno input[type="tel"],
.contact-form-bruno select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--bruno-beige-dark);
    border-radius: 8px;
    background: var(--white);
    font-size: 1rem;
    font-family: inherit;
    color: var(--bruno-text);
    transition: var(--transition);
}

/* Кастомный выпадающий список «Выберите услугу» */
.contact-select-wrap {
    position: relative;
}

.contact-select-native {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.contact-select-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--bruno-beige-dark);
    border-radius: 8px;
    background: var(--white);
    font-size: 1rem;
    font-family: inherit;
    color: var(--bruno-text);
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.contact-select-trigger:hover {
    border-color: var(--bruno-brown-light);
}

.contact-select-trigger[aria-expanded="true"] {
    border-color: var(--bruno-brown-light);
    box-shadow: 0 0 0 3px rgba(130, 92, 71, 0.12);
}

.contact-select-trigger .contact-select-text {
    flex: 1;
    min-width: 0;
}

.contact-select-trigger .contact-select-text.placeholder {
    color: var(--bruno-text-muted);
}

.contact-select-arrow {
    flex-shrink: 0;
    color: var(--bruno-brown);
    font-size: 0.6rem;
    transition: transform 0.2s ease;
}

.contact-select-trigger[aria-expanded="true"] .contact-select-arrow {
    transform: rotate(180deg);
}

.contact-select-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 280px;
    overflow-y: auto;
    background: var(--white);
    border: 1px solid var(--bruno-beige-dark);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 20;
}

.contact-select-group-label {
    padding: 0.5rem 1rem 0.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bruno-brown);
    background: var(--bruno-beige);
    border-bottom: 1px solid var(--bruno-beige-dark);
}

.contact-select-option {
    padding: 0.65rem 1rem;
    font-size: 1rem;
    color: var(--bruno-text);
    cursor: pointer;
    transition: background 0.15s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-select-option:last-child {
    border-bottom: none;
}

.contact-select-option:hover {
    background: var(--bruno-beige);
    color: var(--bruno-text);
}

.contact-select-option.selected {
    background: var(--bruno-beige);
    color: var(--bruno-brown);
    font-weight: 500;
}

.contact-form-bruno input::placeholder {
    color: var(--bruno-text-muted);
}

.contact-form-bruno input:focus {
    outline: none;
    border-color: var(--bruno-brown-light);
}

.form-row-bruno {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.form-row-bruno {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-bruno-submit {
    padding: 0.85rem 1.75rem;
    background: var(--bruno-brown);
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-bruno-submit:hover {
    opacity: 0.95;
}

.contact-bruno-details {
    margin-bottom: 1.5rem;
}

.contact-bruno-item {
    margin: 0 0 0.75rem;
    padding-left: 1.75rem;
    position: relative;
    color: var(--bruno-text);
    font-size: 1rem;
}

.contact-bruno-item:last-child {
    margin-bottom: 0;
}

.contact-bruno-phone::before {
    content: '📞';
    position: absolute;
    left: 0;
}

.contact-bruno-email::before {
    content: '✉';
    position: absolute;
    left: 0;
}

.contact-bruno-address::before {
    content: '📍';
    position: absolute;
    left: 0;
}

.contact-bruno-item a {
    color: var(--bruno-text);
    text-decoration: none;
}

.contact-bruno-item a:hover {
    color: var(--bruno-brown);
}

.contact-bruno-map {
    border-radius: 8px;
    overflow: hidden;
    background: var(--bruno-beige-dark);
}

.contact-bruno-map iframe {
    display: block;
}

.contact-bruno-map-placeholder {
    height: 280px;
    background: linear-gradient(180deg, #e0d9cf 0%, #d4ccbf 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   СЕКЦИИ
   ============================================ */

section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.section-title-link {
    color: var(--accent);
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    padding-bottom: 0.35rem;
    position: relative;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-title-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), rgba(139, 111, 78, 0.5));
    border-radius: 2px;
    transition: var(--transition);
}

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

.section-title-link:hover::after {
    height: 4px;
    background: var(--accent);
}

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

/* ============================================
   КАТЕГОРИИ НА ГЛАВНОЙ
   ============================================ */

.categories-preview {
    padding: 4rem 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
}

.category-block {
    display: flex;
    flex-direction: column;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    text-align: center;
}

.category-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(139, 111, 78, 0.08);
}

.category-block h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.category-block p {
    flex: 1;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.category-block .btn {
    margin-top: auto;
}

/* ============================================
   УСЛУГИ (страница)
   ============================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card-preview {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card-preview:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.service-card-preview h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.service-card-preview p {
    margin-bottom: 1.5rem;
}

/* Страница услуг (оформление как портфолио / общий стиль сайта) */
.services-page {
    padding: 0 0 4rem;
    background: var(--white);
}

/* На услугах чуть меньше воздуха под подзаголовком */
.services-page .portfolio-hero {
    /* Верх как везде, уменьшаем только низ до фильтров */
    padding: 3.5rem 1.5rem 1.25rem;
    margin-bottom: 1rem;
}

/* Ровные отступы: заголовок → линия → подзаголовок → фильтры */
.services-page .portfolio-hero-title {
    margin: 0 0 0.5rem;
}

.services-page .portfolio-hero-line {
    margin: 0 auto 0.85rem;
}

.services-page .portfolio-hero-desc {
    margin: 0;
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.25rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.625rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--bruno-beige-dark);
    border-radius: 50px;
    text-decoration: none;
    color: var(--bruno-text-secondary);
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.95rem;
    box-shadow: var(--shadow);
}

.filter-btn:hover {
    background: var(--bruno-beige);
    color: var(--bruno-brown);
    border-color: var(--bruno-brown-light);
    transform: translateY(-1px);
}

.filter-btn.active {
    background: var(--bruno-brown);
    color: var(--white);
    border-color: var(--bruno-brown);
    box-shadow: 0 4px 14px rgba(130, 92, 71, 0.25);
}

.services-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--bruno-beige-dark);
}

.service-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(130, 92, 71, 0.1);
    transform: translateY(-2px);
}

.service-card-header {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    padding: 0;
}

.service-card-image {
    width: 100%;
    max-width: 240px;
    height: 180px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(145deg, #f8f6f3 0%, #eee9e3 100%);
    position: relative;
    margin: 1rem auto 0;
}

.service-card-header.no-image .service-card-image {
    height: 180px;
}

.service-image {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
}

.service-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #c4b8a8;
}

.service-image-placeholder svg {
    width: 40px;
    height: 40px;
    margin-bottom: 0.35rem;
    opacity: 0.6;
}

.service-image-placeholder span {
    font-size: 0.8rem;
    font-weight: 500;
}

.service-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    padding: 1rem 1.25rem;
    gap: 0;
}

.service-category-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bruno-brown);
    background: var(--bruno-beige);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    width: fit-content;
}

.service-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: var(--bruno-text);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.service-short {
    margin: 0 0 1rem 0;
    flex-grow: 1;
    color: var(--bruno-text-secondary);
    font-size: 0.9rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    margin-bottom: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--bruno-beige-dark);
}

.service-price {
    color: var(--bruno-brown);
    font-size: 1.05rem;
    font-weight: 600;
}

.service-duration {
    color: var(--bruno-text-secondary);
    font-size: 0.8rem;
    padding: 0.2rem 0.55rem;
    background: var(--bruno-beige);
    border-radius: 4px;
}

.service-toggle {
    align-self: flex-start;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    color: var(--bruno-brown);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
}

.service-toggle.btn-bruno {
    background: var(--bruno-brown);
    border: none;
    border-radius: 8px;
    padding: 0.65rem 1.25rem;
    color: #FFFFFF;
}

.service-toggle.btn-bruno:hover {
    background: var(--bruno-brown-btn);
    color: #FFFFFF;
    opacity: 0.98;
}

.service-toggle::after {
    content: '→';
    margin-left: 0.35rem;
    transition: transform 0.2s ease;
}

.service-toggle:hover {
    color: var(--bruno-text);
}

.service-toggle.btn-bruno:hover {
    color: #FFFFFF;
}

.service-toggle:hover::after {
    transform: translateX(3px);
}

.service-card-details[hidden] {
    display: none !important;
}

.service-full-description {
    margin-bottom: 2rem;
    line-height: 1.8;
}

.service-media h3 {
    margin-bottom: 1rem;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.media-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 16 / 9;
}

.media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

/* ============================================
   ПОЧЕМУ МЫ
   ============================================ */

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.why-us-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: var(--transition);
}

.why-us-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(139, 111, 78, 0.08);
}

.why-us-item h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}

/* ============================================
   ПОРТФОЛИО — СТРАНИЦА (НОВЫЙ СТИЛЬ)
   ============================================ */

.portfolio-page {
    padding: 0 0 4rem;
    background: var(--white);
}

.portfolio-hero {
    background: transparent;
    padding: 3.5rem 1.5rem 3rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

.portfolio-hero-inner {
    max-width: 640px;
    margin: 0 auto;
}

.portfolio-hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--bruno-text);
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
}

.portfolio-hero-line {
    width: 56px;
    height: 3px;
    background: var(--bruno-brown-light);
    margin: 0 auto 1.25rem;
}

.portfolio-hero-desc {
    font-size: 1rem;
    color: var(--bruno-text-secondary);
    margin: 0;
    line-height: 1.6;
}

.container--portfolio {
    max-width: 1100px;
}

.portfolio-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bruno-beige);
    border-radius: 16px;
    border: 1px dashed var(--bruno-beige-dark);
}

.portfolio-empty-icon {
    color: var(--bruno-brown-light);
    margin-bottom: 1.25rem;
    opacity: 0.85;
}

.portfolio-empty-text {
    font-size: 1.05rem;
    color: var(--bruno-text-secondary);
    margin: 0;
}

/* Сетка карточек (как услуги/кейсы) */
.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.portfolio-cell {
    position: relative;
}

.portfolio-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(115, 74, 56, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.portfolio-card:hover {
    box-shadow: 0 6px 24px rgba(115, 74, 56, 0.12);
}

.portfolio-item {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden;
    border: none;
    padding: 0;
    cursor: pointer;
    background: var(--bruno-beige);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.portfolio-card:hover .portfolio-item {
    transform: none;
}

.portfolio-item:hover {
    transform: scale(1.02);
}

.portfolio-item:focus {
    outline: 2px solid var(--bruno-brown);
    outline-offset: 2px;
}

.portfolio-item-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-item-media {
    transform: scale(1.05);
}

.portfolio-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(115, 74, 56, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.portfolio-item:hover .portfolio-item-overlay,
.portfolio-item:focus .portfolio-item-overlay {
    opacity: 1;
}

.portfolio-item-icon {
    width: 56px;
    height: 56px;
    color: var(--white);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.portfolio-item-icon svg {
    width: 100%;
    height: 100%;
}

/* Текст карточки (чуть меньше, чем у услуг) */
.portfolio-card-body {
    padding: 1rem 1.25rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.portfolio-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--bruno-text);
    margin: 0 0 0.35rem;
    line-height: 1.3;
}

.portfolio-card-desc {
    font-size: 0.85rem;
    color: var(--bruno-text-secondary);
    margin: 0;
    line-height: 1.5;
}

.portfolio-card-btn {
    margin-top: 0.75rem;
    width: 100%;
}

/* Модальное окно «Подробнее» (описание, до/после) */
.portfolio-detail-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    box-sizing: border-box;
}

.portfolio-detail-modal.active {
    display: flex;
}

.portfolio-detail-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(4px);
}

.portfolio-detail-content {
    position: relative;
    background: var(--white);
    border-radius: 16px;
    max-width: 640px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
    padding: 2rem 2rem 2.5rem;
}

.portfolio-detail-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bruno-beige);
    color: var(--bruno-text);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.portfolio-detail-close:hover {
    background: var(--bruno-beige-dark);
}

.portfolio-detail-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--bruno-text);
    margin: 0 0 1.25rem;
    padding-right: 2.5rem;
}

.portfolio-detail-media-wrap {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bruno-beige);
}

.portfolio-detail-media-wrap img,
.portfolio-detail-media-wrap video {
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: contain;
    display: block;
}

.portfolio-detail-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--bruno-text);
    margin-bottom: 1.5rem;
    white-space: pre-wrap;
}

.portfolio-detail-description:empty {
    display: none;
}

.portfolio-detail-before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.portfolio-detail-before-after:empty {
    display: none;
}

.portfolio-detail-before-after .portfolio-detail-ba-item {
    border-radius: 10px;
    overflow: hidden;
    background: var(--bruno-beige);
}

.portfolio-detail-ba-column {
    min-width: 0;
}

.portfolio-detail-before-after .portfolio-detail-ba-item img {
    width: 100%;
    height: auto;
    display: block;
}

.portfolio-detail-before-after .portfolio-detail-ba-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--bruno-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

.portfolio-detail-extra {
    margin-top: 1.5rem;
}

.portfolio-detail-extra:empty {
    display: none;
}

.portfolio-detail-extra-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bruno-text);
    margin-bottom: 0.75rem;
}

.portfolio-detail-extra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.75rem;
}

.portfolio-detail-extra-item {
    border-radius: 10px;
    overflow: hidden;
    background: var(--bruno-beige);
    aspect-ratio: 1;
}

.portfolio-detail-extra-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Лайтбокс портфолио */
.portfolio-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(26, 26, 26, 0.92);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    box-sizing: border-box;
}

.portfolio-lightbox.active {
    display: flex;
}

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

.portfolio-lightbox-media {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.portfolio-lightbox-media--video {
    max-height: 80vh;
}

.portfolio-lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    z-index: 2;
}

.portfolio-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.portfolio-lightbox-prev,
.portfolio-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    z-index: 2;
    border-radius: 50%;
}

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

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

.portfolio-lightbox-prev:hover,
.portfolio-lightbox-next:hover {
    background: rgba(255, 255, 255, 0.25);
}

.portfolio-lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    z-index: 2;
}


/* ============================================
   КАК МЫ РАБОТАЕМ
   ============================================ */

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(139, 111, 78, 0.08);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    margin-bottom: 0.5rem;
}

/* ============================================
   ОТЗЫВЫ
   ============================================ */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    color: var(--accent);
    font-weight: 500;
}

/* ============================================
   КОНТАКТЫ
   ============================================ */

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-info p {
    margin-bottom: 1rem;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

/* ============================================
   ФОРМЫ
   ============================================ */

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(139, 111, 78, 0.1);
}

.form-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* ============================================
   МОДАЛЬНОЕ ОКНО
   ============================================ */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
    line-height: 1;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-primary);
}

/* Модальное окно с деталями услуги */
.modal-content--service {
    max-width: 720px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.service-modal-header {
    margin-bottom: 1.25rem;
    padding-right: 2.5rem;
}

.service-modal-title {
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
}

.service-modal-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
}

.service-modal-body {
    overflow-y: auto;
    flex: 1;
    margin-bottom: 1.25rem;
}

.service-modal-description {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.service-modal-body .service-media {
    margin-top: 1.5rem;
}

.service-modal-body .service-media h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.service-modal-body .media-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
    margin-bottom: 0;
}

.service-modal-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

/* Лайтбокс галереи в модалке услуги */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-sizing: border-box;
}
.gallery-lightbox.active {
    display: flex;
}
.gallery-lightbox-content {
    max-width: 75vw;
    max-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-lightbox-content img {
    max-width: 100%;
    max-height: 60vh;
    width: auto;
    height: auto;
    object-fit: contain;
}
.gallery-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}
.gallery-lightbox-close:hover {
    color: #fff;
}
.gallery-lightbox-prev,
.gallery-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 25%;
    min-width: 80px;
    max-width: 200px;
    height: 200px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    font-size: 2.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    padding: 0;
    line-height: 1;
}
.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}
.gallery-lightbox-prev {
    left: 0;
}
.gallery-lightbox-next {
    right: 0;
}
.gallery-lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}
.service-modal-body .media-item img {
    cursor: pointer;
}

/* ============================================
   АВТОРИЗАЦИЯ
   ============================================ */

.auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.auth-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    max-width: 400px;
    width: 100%;
}

.auth-card h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-link {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-secondary);
}

.auth-link a {
    color: var(--accent);
    text-decoration: none;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* ============================================
   ЗАКАЗЫ
   ============================================ */

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.order-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

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

.order-status {
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
}

.status-new {
    background: #E3F2FD;
    color: #1976D2;
}

.status-in_progress {
    background: #FFF3E0;
    color: #F57C00;
}

.status-done {
    background: #E8F5E9;
    color: #388E3C;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

/* ============================================
   СООБЩЕНИЯ
   ============================================ */

.success-message {
    background: #E8F5E9;
    color: #388E3C;
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.error-message {
    background: #FFEBEE;
    color: #C62828;
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--white);
    border-top: 1px solid var(--bruno-beige-dark);
    padding: 2.5rem 0 1.5rem;
    color: var(--bruno-text-secondary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--bruno-text);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--bruno-text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--bruno-brown);
}

.footer-col p {
    margin-bottom: 0.5rem;
    color: var(--bruno-text-secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--bruno-beige-dark);
    font-size: 0.9rem;
    color: var(--bruno-text-secondary);
}

/* ============================================
   СТРАНИЦЫ КОНТЕНТА (О нас, FAQ, Юридические)
   ============================================ */

.page-content {
    padding: 3rem 0 4rem;
}

.page-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.content-block {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.content-block h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.about-values {
    list-style: none;
    margin: 0;
}

.about-values li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.about-values li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

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

.contact-cta .btn {
    margin-top: 1rem;
}

.legal-content .legal-text h2 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
}

.legal-text ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.faq-question {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.6;
}

.schedule-grid {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(139, 111, 78, 0.06);
    border-radius: var(--radius);
}

.schedule-note {
    margin-top: 1.5rem;
    font-style: italic;
}

.contact-short {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.contact-short a {
    color: var(--accent);
    text-decoration: none;
}

/* ============================================
   МОБИЛЬНАЯ КНОПКА СВЯЗИ
   ============================================ */

.mobile-contact-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 99;
    display: none;
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */

@media (max-width: 900px) {
    .services-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .portfolio-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-cards-grid {
        grid-template-columns: 1fr;
    }
    .stats-bruno-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-bruno:nth-child(odd) {
        border-left: none;
    }
    .stat-bruno:nth-child(3) {
        border-left: 1px solid var(--bruno-stats-divider);
    }
    .cases-bruno-grid {
        grid-template-columns: 1fr;
    }
    .contact-bruno-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title,
    .section-title {
        font-size: 2rem;
    }
    
    .hero-bruno .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .services-list {
        grid-template-columns: 1fr;
    }
    
    .service-card-image {
        height: 160px;
        max-width: 100%;
    }
    
    .service-image-placeholder {
        min-height: 160px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .nav {
        gap: 0;
        font-size: 0.8rem;
    }
    
    .nav a {
        padding: 0.5rem;
    }
    
    .mobile-contact-btn {
        display: block;
    }
    
    .media-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-gallery {
        grid-template-columns: 1fr;
    }
    
    .stats-bruno-grid {
        grid-template-columns: 1fr;
    }
    .stat-bruno {
        border-left: none !important;
        border-top: 1px solid var(--bruno-stats-divider);
    }
    .stat-bruno:first-child {
        border-top: none;
    }
    
    .form-row-bruno {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-bruno-submit {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .auth-card {
        padding: 2rem;
    }
}

/* ============================================
   ПОДТВЕРЖДЕНИЕ EMAIL (КОД НА ПОЧТУ)
   ============================================ */

.email-verify-wrap {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.email-verify-wrap input[type="email"] {
    flex: 1;
    min-width: 0;
}

.btn-send-code,
.btn-verify-code {
    white-space: nowrap;
    padding: 0.7rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: inherit;
    font-weight: 500;
    transition: opacity 0.2s, background 0.2s;
}

.btn-send-code {
    background: var(--bruno-brown);
    color: #fff;
}

.btn-send-code:hover:not(:disabled) {
    opacity: 0.9;
}

.btn-send-code:disabled {
    background: var(--bruno-brown-light);
    cursor: default;
    opacity: 0.7;
}

.verify-code-row {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    align-items: stretch;
}

.verify-code-row input {
    flex: 1;
    min-width: 0;
    padding: 0.7rem 1rem;
    border: 1px solid var(--bruno-beige-dark);
    border-radius: 6px;
    font-size: 1.1rem;
    letter-spacing: 0.25em;
    text-align: center;
    font-family: inherit;
    background: #fff;
}

.verify-code-row input:focus {
    outline: none;
    border-color: var(--bruno-brown-light);
}

.btn-verify-code {
    background: var(--bruno-brown);
    color: #fff;
}

.btn-verify-code:hover:not(:disabled) {
    opacity: 0.9;
}

.btn-verify-code:disabled {
    opacity: 0.6;
    cursor: default;
}

.email-verify-status {
    font-size: 0.82rem;
    margin-top: 0.35rem;
    min-height: 1.2em;
    line-height: 1.4;
}

.email-verify-status.status-error {
    color: #c0392b;
}

.email-verify-status.status-success {
    color: var(--bruno-brown);
}

.email-verify-status.status-verified {
    color: #27ae60;
    font-weight: 600;
}

input.email-verified {
    border-color: #27ae60 !important;
    background: #f0faf4 !important;
}

@media (max-width: 480px) {
    .email-verify-wrap {
        flex-direction: column;
    }
    .btn-send-code {
        width: 100%;
    }
    .verify-code-row {
        flex-direction: column;
    }
    .btn-verify-code {
        width: 100%;
    }
}
