/*
Theme Name: 1tom
Theme URI: https://1-tom.ru
Author: 1tom
Author URI: https://1-tom.ru
Description: Theme for site 1-tom
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 1-tom
*/

*{
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #f5f5f5;
}

/* Ваши стили здесь */
/* Футер */
.footer {
    background: #000000;
    padding: 60px 0 30px;
}

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

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

.footer-column h3 {
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #3AA5C7;
    margin-bottom: 20px;
}

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

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #3AA5C7;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid #333;
}

.footer-logo {
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    color: #FFFFFF;
}

.footer-copyright {
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #FFFFFF;
}

.footer-links {
    display: flex;
    gap: 15px;
}

.footer-links a {
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #FFFFFF;
    text-decoration: none;
}

.footer-links a:hover {
    color: #3AA5C7;
}

.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icon {
    width: 32px;
    height: 32px;
    background: #FFFFFF;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background 0.3s;
}

.social-icon:hover {
    transform: scale(1.1);
    background: #3AA5C7;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* Адаптивность */
@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* Хедер */
.site-header {
    background: #D9D9D9;
    position: relative;
}

.header-top {
    background: #FFFFFF;
    padding: 11px 0;
}

.header-top-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 106px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #000000;
    text-decoration: none;
    white-space: nowrap;
    margin-right: 40px;
}

.header-top-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.header-top-nav a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #000000;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s;
}

.header-top-nav a:hover {
    color: #3AA5C7;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.header-phone {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    color: #000000;
    text-decoration: none;
    white-space: nowrap;
}

.header-phone:hover {
    color: #3AA5C7;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    height: 32px;
    background: #3AA5C7;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    color: #FFFFFF;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.3s;
}

.header-cta:hover {
    background: #2d8ba8;
}

/* Нижняя часть хедера - меню услуг */
.header-bottom {
    background: #D9D9D9;
    padding: 11px 0;
}

.header-bottom-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 106px;
}

.services-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.services-menu li a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #000000;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s;
}

.services-menu li a:hover {
    color: #3AA5C7;
}

/* Мобильное меню */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

/* Адаптивность */
@media (max-width: 1600px) {
    .header-top-container,
    .header-bottom-container {
        padding: 0 60px;
    }
    
    .header-top-nav {
        gap: 15px;
    }
    
    .services-menu {
        gap: 15px;
    }
}

@media (max-width: 1200px) {
    .header-top-container,
    .header-bottom-container {
        padding: 0 40px;
    }
    
    .header-top-nav {
        gap: 10px;
    }
    
    .services-menu {
        gap: 15px;
    }
}

@media (max-width: 1024px) {
    .header-top-nav {
        gap: 10px;
    }
    
    .services-menu {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-top-container,
    .header-bottom-container {
        padding: 0 20px;
    }
    
    .header-top-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #FFFFFF;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .header-top-nav.mobile-active {
        display: flex;
    }
    
    .header-right {
        gap: 10px;
    }
    
    .services-menu {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .site-logo {
        font-size: 16px;
    }
    
    .header-cta {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .header-phone {
        font-size: 12px;
    }
}

/* Заглушка калькулятора */
.calculator-placeholder {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 60px 40px;
    text-align: center;
    margin: 40px 0;
}

.calculator-placeholder h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 29px;
    color: #000000;
    margin: 0;
}

.calculator-placeholder p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #666666;
    margin: 15px 0 0 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .calculator-placeholder {
        padding: 40px 20px;
    }
    
    .calculator-placeholder h2 {
        font-size: 20px;
        line-height: 24px;
    }
}

/* Главная страница */
body.home {
    background: #E7E8EA;
    margin: 0;
    padding: 0;
}

/* Hero секция */
.hero-section {
    background: #FFFFFF;
    position: relative;
    height: 606px;
    display: flex;
}

.hero-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.hero-content {
    max-width: 892px;
    padding: 60px 40px 60px 106px;
    flex-shrink: 0;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 49px;
    color: #000000;
    margin: 0 0 20px 0;
    max-width: 561px;
}

.hero-description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    color: #000000;
    margin: 0 0 30px 0;
    max-width: 892px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    height: 43px;
    background: #3AA5C7;
    border: 1px solid #4AC5F4;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #FFFFFF;
    text-decoration: none;
    width: 374px;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #2d8ba8;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    height: 43px;
    background: #FFFFFF;
    border: 1px solid #4AC5F4;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #000000;
    text-decoration: none;
    width: 374px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #f0f8ff;
}

/* Статистика */
.hero-stats {
    display: flex;
    gap: 100px;
    margin-bottom: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    color: #000000;
}

.stat-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #000000;
}

.hero-note {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #000000;
    max-width: 584px;
}

.hero-image-wrapper {
    flex: 1;
    height: 606px;
    max-width: 591px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

/* Секция калькулятора */
.calculator-section {
    max-width: 1004px;
    margin: 40px auto;
    padding: 0 20px;
    background: #FFFFFF;
    border-radius: 8px;
    min-height: 480px;
}

.calculator-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 39px;
    text-align: center;
    color: #000000;
    margin: 0;
    padding-top: 20px;
}

/* Секция портфолио */
.portfolio-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 40px;
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.portfolio-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 39px;
    color: #000000;
    margin: 0 0 10px 0;
}

.portfolio-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    color: #000000;
    margin: 0;
}

.portfolio-controls {
    display: flex;
    gap: 10px;
}

.portfolio-arrow {
    width: 40px;
    height: 40px;
    background: #3AA5C7;
    border: 1px solid #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}

.portfolio-arrow:hover {
    background: #2d8ba8;
}

.portfolio-arrow svg {
    width: 20px;
    height: 20px;
    fill: #FFFFFF;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.portfolio-item {
    width: 100%;
    height: 391px;
    object-fit: cover;
    border-radius: 8px;
}

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

/* Секция CTA (призыв к действию) */
.cta-section {
    max-width: 1120px;
    margin: 40px auto;
    padding: 30px 40px;
    background: #E6F9FF;
    border-radius: 8px;
    text-align: center;
}

.cta-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 39px;
    color: #000000;
    margin: 0 0 20px 0;
}

.cta-description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    color: #000000;
    margin: 0 0 30px 0;
}

/* Адаптивность */
@media (max-width: 1400px) {
    .hero-content {
        padding: 47px 40px;
        max-width: 600px;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 40px 20px;
    }
    
    .hero-image-wrapper {
        min-height: 400px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-section {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
        line-height: 39px;
    }
    
    .hero-description {
        font-size: 16px;
        line-height: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-title,
    .calculator-title,
    .cta-title {
        font-size: 24px;
        line-height: 29px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
    
    .portfolio-header {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
        line-height: 29px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }
}

/* About Page - Точная копия дизайна */

/* Hero баннер */
.about-hero-banner {
    background: linear-gradient(to right, #8B7355, #6B5744);
    padding: 80px 20px;
    text-align: center;
}

.about-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 48px;
    color: #FFFFFF;
    margin: 0;
}

/* Контейнер */
.about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* О типографии */
.about-typography {
    padding: 80px 0;
    background: #FFFFFF;
}

.about-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-section-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 32px;
    color: #000000;
    margin: 0 0 30px 0;
}

.about-paragraph {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: #000000;
    margin: 0 0 24px 0;
}

.about-image-column img {
    width: 100%;
    height: auto;
    display: block;
}

/* Преимущества */
.about-benefits {
    padding: 80px 0;
    background: #FFFFFF;
}

.about-benefits-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 36px;
    text-align: center;
    color: #000000;
    margin: 0 0 60px 0;
}

.benefits-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.benefit-card-full {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
}

.benefit-card-section{
    display: flex;
    flex-direction: row;
}

.benefit-blue-section {
    background: #3AA5C7;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 85% 100%, 0 100%);
}

.benefit-svg-icon {
    position: relative;
    z-index: 2;
}

.benefit-white-section {
    background: #FFFFFF;
    padding: 30px 20px 10px 20px;
    text-align: center;
}

.benefit-text-section {
    background: #FFFFFF;
    padding: 0 20px 30px 20px;
    text-align: center;
    flex: 1;
}

.benefit-card-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    color: #000000;
    margin: 0;
}

.benefit-card-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: #333333;
    margin: 0;
}

/* Видео */
.about-video {
    padding: 80px 0;
    background: #FFFFFF;
}

.about-video-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 36px;
    text-align: center;
    color: #000000;
    margin: 0 0 50px 0;
}

.video-embed {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background: #D0D0D0;
}

.video-embed iframe {
    width: 100%;
    height: 100%;
}

/* Контакты */
.about-contacts {
    padding: 80px 0;
    background: #F5F5F5;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contacts-map {
    width: 100%;
    height: 500px;
    background: #D0D0D0;
}

.contacts-map iframe {
    width: 100%;
    height: 100%;
}

.contacts-info {
    padding-top: 20px;
}

.contacts-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 32px;
    color: #000000;
    margin: 0 0 40px 0;
}

.contact-line {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #000000;
    margin: 0 0 24px 0;
}

.contact-line a {
    color: #3AA5C7;
    text-decoration: none;
}

.contact-line a:hover {
    text-decoration: underline;
}

.contact-line strong {
    font-weight: 600;
}

/* Полоска с заголовком страницы (как в hero about) */
.page-title-banner {
    background: linear-gradient(to right, #8B7355, #6B5744);
    padding: 30px 20px;
    text-align: center;
}

.page-title-container {
    max-width: 1400px;
    margin: 0 auto;
}

.page-title-text {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 48px;
    color: #FFFFFF;
}

/* Адаптив для планшетов */
@media (max-width: 1024px) {
    .benefits-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-two-columns,
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-container {
        padding: 0 30px;
    }
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .about-hero-banner {
        padding: 60px 20px;
    }

    .about-hero-title {
        font-size: 32px;
    }

    .benefits-wrapper {
        grid-template-columns: 1fr;
    }

    .about-section-heading,
    .about-benefits-title,
    .about-video-heading,
    .contacts-heading {
        font-size: 26px;
    }

    .about-typography,
    .about-benefits,
    .about-video,
    .about-contacts {
        padding: 50px 0;
    }

    .about-container {
        padding: 0 20px;
    }

    .contacts-map {
        height: 350px;
    }

    .page-title-banner {
        padding: 60px 20px;
    }

    .page-title-text {
        font-size: 32px;
    }
}