.portfolio-section {
            padding: 80px 5%;
            background-color: #ffffff;
            text-align: center;
        }

        .portfolio-section h2 {
            font-size: 2.5rem;
            color: var(--primary-green);
            margin-bottom: 15px;
        }

        .portfolio-subtitle {
            font-size: 1.1rem;
            color: #666;
            margin-bottom: 50px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .portfolio-item {
            position: relative;
            border-radius: 8px;
            overflow: hidden;
            aspect-ratio: 4 / 3;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }

        .portfolio-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

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

        .portfolio-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            background: linear-gradient(to top, rgba(26, 60, 52, 0.9), rgba(26, 60, 52, 0));
            padding: 40px 20px 20px;
            box-sizing: border-box;
            color: #fff;
            text-align: left;
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.3s ease;
        }

        .portfolio-item:hover .portfolio-overlay {
            opacity: 1;
            transform: translateY(0);
        }

        .portfolio-overlay h3 {
            margin: 0 0 5px;
            font-size: 1.2rem;
            font-weight: 700;
        }

        .portfolio-overlay p {
            margin: 0;
            font-size: 0.9rem;
            opacity: 0.9;
        }
        
        .portfolio-btn-wrapper {
             margin-top: 50px;
        }
        .pricing-section {
            padding: 80px 5% 40px 5%;
            background-color: #f8f9fa;
            color: #333;
            text-align: center;
        }

        .pricing-section h2 {
            font-size: 2.5rem;
            color: var(--primary-green);
            margin-bottom: 15px;
        }

        .pricing-subtitle {
            font-size: 1.1rem;
            color: #666;
            margin-bottom: 50px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .pricing-cards {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            max-width: 1100px;
            margin: 0 auto;
            align-items: center;
        }

        .pricing-card {
            background: #fff;
            border-radius: 8px;
            padding: 40px 30px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative;
            text-align: left;
            display: flex;
            flex-direction: column;
            height: 100%;
            box-sizing: border-box;
        }

        .pricing-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.1);
        }

        .pricing-card.popular {
            border: 2px solid var(--accent-wood);
            transform: scale(1.05);
            z-index: 1;
        }

        .pricing-card.popular:hover {
            transform: scale(1.05) translateY(-10px);
        }

        .popular-badge {
            position: absolute;
            top: -15px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--accent-wood);
            color: #fff;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .card-title {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 15px;
            color: var(--primary-green);
        }

        .card-price {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 20px;
            color: #333;
        }
        
        .card-price span {
            font-size: 1rem;
            color: #888;
            font-weight: 400;
        }

        .card-features {
            list-style: none;
            padding: 0;
            margin: 0 0 30px 0;
            flex-grow: 1;
        }

        .card-features li {
            margin-bottom: 12px;
            font-size: 0.95rem;
            color: #555;
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }

        .card-features li::before {
            content: '✓';
            color: var(--accent-wood);
            font-weight: bold;
        }

        .btn-card {
            display: block;
            width: 100%;
            padding: 15px 0;
            text-align: center;
            background: transparent;
            border: 2px solid var(--primary-green);
            color: var(--primary-green);
            border-radius: 4px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            box-sizing: border-box;
        }

        .btn-card:hover {
            background: var(--primary-green);
            color: #fff;
        }

        .pricing-card.popular .btn-card {
            background: var(--accent-wood);
            border-color: var(--accent-wood);
            color: #fff;
        }

        .pricing-card.popular .btn-card:hover {
            background: var(--accent-hover);
            border-color: var(--accent-hover);
        }

        .pricing-notes {
            margin-top: 50px;
            font-size: 0.9rem;
            color: #666;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
            background: #fff;
            padding: 20px;
            border-radius: 8px;
            border-left: 4px solid var(--accent-wood);
            text-align: left;
        }
        :root {
            --primary-green: #1a3c34; 
            --accent-wood: #d4a373;   
            --accent-hover: #b88a5d;  
            --text-light: #ffffff;    
            --overlay: rgba(15, 32, 24, 0.85); 
        }

        body, html {
            margin: 0;
            padding: 0;
            font-family: 'Montserrat', sans-serif;
            box-sizing: border-box;
            background-color: var(--primary-green);
        }

        .header {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 25px 5%;
            box-sizing: border-box;
            color: var(--text-light);
            z-index: 10;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 700;
            letter-spacing: 1px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .logo-icon {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        .logo-icon div:first-child { width: 30px; height: 5px; background-color: var(--accent-wood); }
        .logo-icon div:last-child { width: 30px; height: 5px; background-color: var(--accent-wood); opacity: 0.7;}

        .contacts {
            display: flex;
            gap: 30px;
            font-weight: 600;
            font-size: 0.95rem;
        }

        .contacts a {
            color: var(--text-light);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .contacts a:hover {
            color: var(--accent-wood);
        }

        .hero {
            height: 100vh;
            min-height: 600px;
            /* Путь к твоей картинке. Файл должен лежать рядом с HTML */
            background: linear-gradient(var(--overlay), var(--overlay)), 
                        url('terrass.jpg') center/cover no-repeat;
            display: flex;
            align-items: center;
            padding: 0 5%;
            position: relative;
        }

        .hero-content {
            max-width: 850px;
            color: var(--text-light);
            animation: fadeIn 1s ease-in-out;
        }

        .hero-content h1 {
            font-size: 3.8rem;
            line-height: 1.1;
            margin-bottom: 25px;
            font-weight: 700;
        }

        .hero-content p {
            font-size: 1.25rem;
            line-height: 1.6;
            margin-bottom: 45px;
            opacity: 0.9;
            max-width: 700px;
        }

        .btn-group {
            display: flex;
            gap: 20px;
        }

        .btn {
            display: inline-block;
            padding: 16px 35px;
            border-radius: 4px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.3s ease;
            cursor: pointer;
            text-align: center;
        }

        .btn-primary {
            background-color: var(--accent-wood);
            color: #fff;
            border: none;
        }

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

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

        .btn-secondary:hover {
            background-color: var(--text-light);
            color: var(--primary-green);
            transform: translateY(-2px);
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
/* Адаптив для лаптопов и планшетов (экраны меньше 1024px) */
        @media (max-width: 1024px) {
            .pricing-cards {
                /* Перестраиваем в 1 колонку */
                grid-template-columns: 1fr;
                max-width: 450px; /* Ограничиваем ширину, чтобы не были слишком растянутыми */
            }
            .pricing-card.popular {
                /* Отключаем увеличение на маленьких экранах, чтобы не вылезало за края */
                transform: scale(1);
            }
            .pricing-card.popular:hover {
                transform: translateY(-10px);
            }
        }
        @media (max-width: 768px) {
            .header {
                flex-direction: column;
                gap: 15px;
                padding: 20px;
                position: relative;
            }
            .contacts {
                flex-direction: column;
                gap: 10px;
                text-align: center;
            }
            .hero-content h1 {
                font-size: 2.5rem;
            }
            .hero-content p {
                font-size: 1rem;
            }
            .btn-group {
                flex-direction: column;
            }
        }
/* --- БЛОК ЭТАПЫ РАБОТЫ (Kuidas me töötame) --- */
        .process-section {
            padding: 80px 5%;
            background-color: #f8f9fa; /* Светло-серый фон для чередования блоков */
            text-align: center;
        }

        .process-section h2 {
            font-size: 2.5rem;
            color: var(--primary-green);
            margin-bottom: 15px;
        }

        .process-subtitle {
            font-size: 1.1rem;
            color: #666;
            margin-bottom: 50px;
        }

        .process-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto;
            text-align: left;
        }

        .process-step {
            background: #fff;
            padding: 35px 25px;
            border-radius: 8px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.04);
            position: relative;
            border-bottom: 4px solid var(--accent-wood);
            transition: transform 0.3s ease;
            overflow: hidden;
        }

        .process-step:hover {
            transform: translateY(-5px);
        }

        .step-number {
            font-size: 5rem;
            font-weight: 700;
            color: var(--accent-wood);
            opacity: 0.15;
            position: absolute;
            top: -10px;
            right: 15px;
            line-height: 1;
            z-index: 0;
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .process-step:hover .step-number {
            opacity: 0.3;
            transform: scale(1.1);
        }

        .process-step h3 {
            font-size: 1.25rem;
            color: var(--primary-green);
            margin: 20px 0 15px 0;
            position: relative;
            z-index: 1;
            font-weight: 700;
        }

        .process-step p {
            font-size: 0.95rem;
            color: #555;
            line-height: 1.6;
            position: relative;
            z-index: 1;
        }

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

        /* Адаптивность для телефонов */
        @media (max-width: 600px) {
            .process-grid {
                grid-template-columns: 1fr;
            }
        }
/* --- БЛОК ФОРМЫ ОБРАТНОЙ СВЯЗИ (Contact Form) --- */
        .contact-section {
            padding: 80px 5%;
            background-color: #ffffff;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .contact-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            max-width: 1100px;
            width: 100%;
            background: #fff;
        }

        .contact-info-side {
            display: flex;
            flex-direction: column;
            justify-content: center;
            text-align: left;
        }

        .contact-info-side h2 {
            font-size: 2.5rem;
            color: var(--primary-green);
            margin: 0 0 20px 0;
            font-weight: 700;
        }

        .contact-info-side p {
            font-size: 1.1rem;
            color: #555;
            line-height: 1.6;
            margin-bottom: 30px;
        }

        .info-details {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .info-details li {
            margin-bottom: 15px;
            font-size: 1rem;
            color: #333;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        /* Стиль самой формы */
        .contact-form {
            background: #f8f9fa;
            padding: 40px;
            border-radius: 8px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            text-align: left;
            box-sizing: border-box;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--primary-green);
        }

        .form-group input, .form-group textarea {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-family: 'Montserrat', sans-serif;
            font-size: 0.95rem;
            box-sizing: border-box;
            transition: border-color 0.3s ease;
        }

        .form-group input:focus, .form-group textarea:focus {
            outline: none;
            border-color: var(--accent-wood);
        }

        .btn-submit {
            width: 100%;
            padding: 16px;
            background: var(--accent-wood);
            color: #fff;
            border: none;
            border-radius: 4px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .btn-submit:hover {
            background: var(--accent-hover);
        }

        /* --- ПОДВАЛ САЙТА (Footer & SEO) --- */
        .footer {
            background-color: #112520; /* Еще более темный оттенок зеленого */
            color: #fff;
            padding: 60px 5% 30px 5%;
        }

        .footer-container {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
            max-width: 1200px;
            margin: 0 auto;
            text-align: left;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            padding-bottom: 40px;
        }

        .footer-col h4 {
            font-size: 1.1rem;
            color: var(--accent-wood);
            margin: 0 0 20px 0;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .footer-col p, .footer-col a {
            color: rgba(255,255,255,0.7);
            text-decoration: none;
            font-size: 0.95rem;
            line-height: 1.6;
        }

        .footer-col a:hover {
            color: var(--accent-wood);
        }

        /* SEO блок в футере */
        .seo-text {
            color: rgba(255,255,255,0.4);
            font-size: 0.85rem;
            line-height: 1.6;
            margin-top: 30px;
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
            text-align: justify;
        }

        .copyright {
            text-align: center;
            margin-top: 30px;
            font-size: 0.85rem;
            color: rgba(255,255,255,0.4);
        }

        /* --- АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНЫХ --- */
        @media (max-width: 900px) {
            .contact-container {
                grid-template-columns: 1fr;
                gap: 30px;
            }
            .footer-container {
                grid-template-columns: 1fr;
                gap: 30px;
            }
        }
/* Стиль для навигационного меню */
        .nav-menu {
            display: flex;
            gap: 30px;
        }

        .nav-link {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            font-weight: 600;
            font-size: 1rem;
            transition: color 0.3s ease;
            position: relative;
            padding: 5px 0;
        }

        .nav-link:hover, .nav-link.active {
            color: var(--accent-wood);
        }

        /* Красивое подчеркивание активной ссылки */
        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: var(--accent-wood);
        }

        /* Прячем меню на мобилках (в будущем можно сделать бургер) */
        @media (max-width: 900px) {
    .nav-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin-top: 10px;
    }
}
/* Стили модального окна */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 999;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }

        .modal-overlay.show {
            opacity: 1;
            pointer-events: auto;
        }

        .modal-content {
            background: #fff;
            padding: 40px;
            border-radius: 8px;
            text-align: center;
            max-width: 400px;
            width: 90%;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            animation: slideUp 0.4s ease;
        }

        .modal-icon {
            width: 60px;
            height: 60px;
            background: var(--primary-green);
            color: #fff;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 2rem;
            margin: 0 auto 20px auto;
        }

        .modal-content h3 {
            color: var(--primary-green);
            margin: 0 0 10px 0;
            font-size: 1.5rem;
        }

        .modal-content p {
            color: #666;
            font-size: 0.95rem;
            line-height: 1.5;
        }

        @keyframes slideUp {
            from { transform: translateY(30px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        .content-section, .benefits-section, .services-section, .materials-section, .faq-section, .cta-section {
            padding: 80px 5%;
            background-color: #ffffff;
            text-align: center;
        }
        .materials-section {
            padding-top: 40px;
        }
        .benefits-section, .materials-section, .cta-section {
            background-color: #f8f9fa;
        }
        .content-section h2, .benefits-section h2, .services-section h2, .materials-section h2, .faq-section h2, .cta-section h2 {
            font-size: 2.5rem;
            color: var(--primary-green);
            margin-bottom: 25px;
        }
        .content-section p, .materials-section > .container > p, .cta-section p {
            font-size: 1.1rem;
            color: #555;
            line-height: 1.6;
            max-width: 800px;
            margin: 0 auto 20px auto;
        }
        .benefits-grid, .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            max-width: 1200px;
            margin: 40px auto 0;
            text-align: left;
        }
        .benefit-card, .service-card {
            display: flex;
            flex-direction: column;
            background: #fff;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.05);
            transition: transform 0.3s ease;
            height: 100%;
            box-sizing: border-box;
        }
        .benefits-section .benefit-card { background: #ffffff; }
        .services-section .service-card { background: #f8f9fa; }
        .benefit-card:hover, .service-card:hover { transform: translateY(-5px); }
        .benefit-card h3, .service-card h3 {
            font-size: 1.25rem;
            color: var(--primary-green);
            margin-bottom: 15px;
        }
        .benefit-card p, .service-card p {
            font-size: 0.95rem;
            color: #666;
            line-height: 1.6;
            margin: 0;
            flex-grow: 1;
        }
        .benefit-card .btn, .service-card .btn {
            margin-top: 20px;
        }
        .table-wrapper {
            max-width: 1000px;
            margin: 40px auto;
            overflow-x: auto;
            box-shadow: 0 5px 20px rgba(0,0,0,0.05);
            border-radius: 8px;
        }
        .materials-table {
            width: 100%;
            border-collapse: collapse;
            background: #fff;
            text-align: left;
        }
        .materials-table th, .materials-table td {
            padding: 20px;
            border-bottom: 1px solid #eee;
            vertical-align: top;
        }
        .materials-table th {
            background-color: var(--primary-green);
            color: #fff;
            font-weight: 600;
            text-transform: uppercase;
            font-size: 0.9rem;
            letter-spacing: 1px;
        }
        .materials-table td:nth-child(1) {
            font-weight: 700;
            color: var(--primary-green);
            background-color: #fcfcfc;
        }
        .materials-table td:nth-child(3) { color: #2e7d32; }
        .materials-table td:nth-child(4) { color: #c62828; }
        .plus-icon { color: #2e7d32; font-weight: bold; margin-right: 5px; }
        .minus-icon { color: #c62828; font-weight: bold; margin-right: 5px; }
        .materials-table tr:last-child td { border-bottom: none; }

        .faq-item {
            max-width: 800px;
            margin: 0 auto 15px auto;
            background: #f8f9fa;
            border-radius: 8px;
            text-align: left;
            transition: background 0.3s ease;
            overflow: hidden;
        }
        .faq-item summary {
            padding: 20px 30px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            list-style: none; /* Hide default arrow */
        }
        .faq-item summary::-webkit-details-marker {
            display: none;
        }
        .faq-item summary h3 {
            font-size: 1.1rem;
            color: var(--primary-green);
            margin: 0;
            flex: 1;
        }
        .faq-icon {
            font-size: 1.5rem;
            color: var(--accent-wood);
            font-weight: 400;
            transition: transform 0.3s ease;
        }
        .faq-item[open] .faq-icon {
            transform: rotate(45deg);
        }
        .faq-content {
            padding: 0 30px 20px 30px;
        }
        .faq-content p {
            margin: 0;
            font-size: 0.95rem;
            color: #555;
            line-height: 1.6;
        }
        .cta-section .btn {
            display: inline-block;
            margin-top: 20px;
        }
    
        /* Hinnakiri specific styles */
        .inner-hero {
            min-height: 420px;
            background: linear-gradient(var(--overlay), var(--overlay)), url('terrass.jpg') center/cover no-repeat;
            display: flex;
            align-items: center;
            padding: 120px 5% 80px;
        }

        .price-summary-section,
        .included-section {
            padding: 80px 5%;
            background-color: #ffffff;
            text-align: center;
        }
        
        .price-summary-section h2, .included-section h2 {
            font-size: 2.5rem;
            color: var(--primary-green);
            margin-bottom: 25px;
        }
        
        .price-summary-section p, .included-section p {
            font-size: 1.1rem;
            color: #555;
            line-height: 1.6;
            max-width: 800px;
            margin: 0 auto 20px auto;
        }

        .price-summary-table {
            width: 100%;
            border-collapse: collapse;
            background: #fff;
            text-align: left;
            box-shadow: 0 5px 20px rgba(0,0,0,0.05);
            border-radius: 8px;
            overflow: hidden;
        }
        .price-summary-table th, .price-summary-table td {
            padding: 20px;
            border-bottom: 1px solid #eee;
        }
        .price-summary-table th {
            background-color: var(--primary-green);
            color: #fff;
            font-weight: 600;
            text-transform: uppercase;
            font-size: 0.9rem;
            letter-spacing: 1px;
        }
        .price-summary-table td:nth-child(1) {
            font-weight: 700;
            color: var(--primary-green);
        }

        .two-column-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
            max-width: 1000px;
            margin: 40px auto 0;
        }

        .info-card {
            background: #f8f9fa;
            padding: 30px;
            border-radius: 8px;
            text-align: left;
            box-shadow: 0 5px 15px rgba(0,0,0,0.03);
            height: 100%;
            box-sizing: border-box;
        }
        
        .info-card h3 {
            color: var(--primary-green);
            margin-bottom: 15px;
            font-size: 1.25rem;
        }

        @media (max-width: 900px) {
            .two-column-grid {
                grid-template-columns: 1fr;
            }
            .inner-hero {
                padding: 60px 5% 40px;
            }
            .price-summary-table {
                font-size: 0.9rem;
            }
            .table-wrapper {
                overflow-x: auto;
            }
        }

        /* Overrides for hinnakiri tables */
        .price-comparison-table td:nth-child(3),
        .price-comparison-table td:nth-child(4) {
            color: #555 !important;
        }
.portfolio-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.06);
  height: 100%;
}

.portfolio-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.portfolio-card-content {
  padding: 24px;
  text-align: left;
}

.portfolio-card-content h3 {
  color: var(--primary-green);
  margin-bottom: 12px;
}

.portfolio-card-content p {
  color: #555;
  line-height: 1.6;
}

.portfolio-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 0;
}

.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  box-sizing: border-box;
  background: #fff;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}
.btn-outline:hover {
    background-color: var(--primary-green);
    color: var(--text-light);
    transform: translateY(-2px);
}

.cta-inline {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.cta-inline p {
  margin-bottom: 40px;
}

.lang-switch {
    display: flex;
    gap: 8px;
    align-items: center;
}
.lang-btn {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}
.lang-btn:hover {
    border-color: var(--accent-wood);
    color: var(--accent-wood);
}
.lang-btn.active {
    background-color: var(--accent-wood);
    border-color: var(--accent-wood);
    color: #fff;
}
.phone-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}
.phone-btn:hover {
    background-color: var(--accent-wood);
    border-color: var(--accent-wood);
    color: #fff !important;
}


/* Global Responsive Overrides */
html, body {
    overflow-x: hidden;
    width: 100%;
}
h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
    
    
}
@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }
    .hero-content p {
        font-size: 0.95rem !important;
    }
}


/* Padding reduction for mobile */
@media (max-width: 768px) {
    section:not(.hero) {
        padding: 40px 5% !important;
    }
    .cta-section .btn {
        padding: 80px 5% 40px !important;
    }
    /* Specifically reduce padding for inner-hero if it exists */
    .inner-hero {
        padding: 40px 5% 20px !important;
    }
}

.btn-secondary-dark {
    background-color: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}
.btn-secondary-dark:hover {
    background-color: var(--primary-green);
    color: #fff;
    transform: translateY(-2px);
}

