:root {
 --primary: #0a2f44;
 --primary-light: #1a4f6e;
 --accent: #2e8b57;
 --accent-light: #3cb371;
 --bg-light: #f5f9fc;
 --bg-white: #ffffff;
 --text-dark: #1a1a2e;
 --text-muted: #4a5568;
 --border: #e2e8f0;
 --shadow: 0 8px 24px rgba(10, 47, 68, 0.08);
 --shadow-hover: 0 12px 36px rgba(10, 47, 68, 0.16);
 --radius: 14px;
 --radius-sm: 8px;
 --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
 --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
}

html {
 scroll-behavior: smooth;
 scroll-padding-top: 80px;
}

body {
 font-family: var(--font);
 color: var(--text-dark);
 background: var(--bg-white);
 line-height: 1.6;
 -webkit-font-smoothing: antialiased;
}

.text-white {
 color: #fff;
}

.container {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 24px;
}

/* ========== HEADER / NAV ========== */
.site-header {
 position: sticky;
 top: 0;
 z-index: 1000;
 background: rgba(10, 47, 68, 0.97);
 backdrop-filter: blur(12px);
 border-bottom: 1px solid rgba(255, 255, 255, 0.08);
 transition: var(--transition);
}

.header-inner {
 display: flex;
 align-items: center;
 justify-content: space-between;
 padding: 0 24px;
 height: 72px;
 max-width: 1200px;
 margin: 0 auto;
}

.logo {
 display: flex;
 align-items: center;
 gap: 10px;
 text-decoration: none;
 color: #fff;
 font-weight: 800;
 font-size: 1.5rem;
 letter-spacing: -0.5px;
 
}

.nav-links {
 display: flex;
 gap: 6px;
 align-items: center;
 flex-wrap: wrap;
}

.nav-links a {
 color: rgba(255, 255, 255, 0.85);
 text-decoration: none;
 font-size: 0.85rem;
 font-weight: 500;
 padding: 8px 14px;
 border-radius: var(--radius-sm);
 transition: var(--transition);
 white-space: nowrap;
}

.nav-links a:hover {
 background: rgba(255, 255, 255, 0.1);
 color: #fff;
}

.search-container {
 display: flex;
 align-items: center;
 gap: 8px;
 background: rgba(255, 255, 255, 0.12);
 border-radius: 50px;
 padding: 6px 16px 6px 18px;
 border: 1px solid rgba(255, 255, 255, 0.15);
 transition: var(--transition);
}

.search-container:focus-within {
 background: rgba(255, 255, 255, 0.2);
 border-color: var(--accent-light);
}

.search-container input {
 background: transparent;
 border: none;
 outline: none;
 color: #fff;
 font-size: 0.85rem;
 width: 160px;
 font-family: var(--font);
}
.search-container input::placeholder {
 color: rgba(255, 255, 255, 0.6);
}
.search-container button {
 background: var(--accent);
 border: none;
 color: #fff;
 padding: 6px 14px;
 border-radius: 50px;
 cursor: pointer;
 font-size: 0.75rem;
 font-weight: 600;
 transition: var(--transition);
}
.search-container button:hover {
 background: var(--accent-light);
}

/* ========== HERO SECTION ========== */
.hero {
 position: relative;
 min-height: 88vh;
 display: flex;
 align-items: center;
 background: linear-gradient(135deg, #0a2f44 0%, #0e3d5c 40%, #1a4f6e 100%);
 overflow: hidden;
 padding: 120px 0 80px;
 border-bottom: 4px solid var(--accent);
}

.hero::after {
 content: '';
 position: absolute;
 bottom: -50%;
 right: -10%;
 width: 70%;
 height: 100%;
 background: radial-gradient(ellipse at center, rgba(46, 139, 87, 0.3) 0%, transparent 70%);
 border-radius: 50%;
 pointer-events: none;
}

.hero-content {
 position: relative;
 z-index: 2;
 max-width: 1000px;
}

.hero-badge {
 display: inline-block;
 background: rgba(46, 139, 87, 0.25);
 color: #a8e6c3;
 padding: 6px 18px;
 border-radius: 50px;
 font-size: 0.8rem;
 font-weight: 600;
 letter-spacing: 0.5px;
 text-transform: uppercase;
 margin-bottom: 20px;
 border: 1px solid rgba(168, 230, 195, 0.3);
}

.hero h1 {
 font-size: 3.2rem;
 font-weight: 900;
 color: #fff;
 line-height: 1.15;
 letter-spacing: -1px;
 margin-bottom: 20px;
}
.hero h1 .accent {
 color: var(--accent-light);
}

.hero p {
 font-size: 1.15rem;
 color: rgba(255, 255, 255, 0.8);
 margin-bottom: 6px;
 max-width: 680px;
}

.btn {
 display: inline-block;
 padding: 14px 32px;
 margin:12px 0px;
 border-radius: 50px;
 font-weight: 700;
 font-size: 0.95rem;
 text-decoration: none;
 transition: var(--transition);
 cursor: pointer;
 border: none;
 font-family: var(--font);
 letter-spacing: 0.3px;
}
.btn-accent {
 background: var(--accent);
 color: #fff;
 box-shadow: 0 8px 24px rgba(46, 139, 87, 0.4);
}
.btn-accent:hover {
 background: var(--accent-light);
 transform: translateY(-2px);
 box-shadow: 0 12px 32px rgba(46, 139, 87, 0.5);
}
.btn-outline {
 background: transparent;
 color: #fff;
 border: 2px solid rgba(255, 255, 255, 0.4);
/* margin-left: 12px;*/
}
.btn-outline:hover {
 border-color: #fff;
 background: rgba(255, 255, 255, 0.08);
 transform: translateY(-2px);
}

.hero-stats {
 display: flex;
 gap: 40px;
 margin-top: 40px;
 padding-top: 30px;
 border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-stat h3 {
 font-size: 2rem;
 font-weight: 800;
 color: var(--accent-light);
}
.hero-stat span {
 font-size: 0.8rem;
 color: rgba(255, 255, 255, 0.6);
 text-transform: uppercase;
 letter-spacing: 0.5px;
}

/* ========== WHY US SECTION ========== */
.section {
 padding: 80px 0;
}
.section-alt {
 background: var(--bg-light);
}
.section-title {
 text-align: center;
 font-size: 2.2rem;
 font-weight: 800;
 letter-spacing: -0.5px;
 margin-bottom: 12px;
 color: var(--primary);
}
.section-subtitle {
 text-align: center;
 font-size: 1.05rem;
 color: var(--text-muted);
 max-width: 600px;
 margin: 0 auto 48px;
}

.why-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
 gap: 24px;
 position: relative;
 z-index: 2;
}
.why-card {
 background: rgba(255, 255, 255, 0.9);
 backdrop-filter: blur(4px);
 padding: 32px 28px;
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 transition: var(--transition);
 border: 1px solid transparent;
}
.why-card:hover {
 transform: translateY(-6px);
 box-shadow: var(--shadow-hover);
 border-color: rgba(46, 139, 87, 0.3);
}
.why-icon {
 font-size: 2.5rem;
 margin-bottom: 16px;
}
.why-card h3 {
 font-size: 1.15rem;
 font-weight: 700;
 margin-bottom: 10px;
 color: var(--primary);
}
.why-card p {
 color: var(--text-muted);
 font-size: 0.92rem;
}

/* Фоновое изображение для раздела "Почему выбирают нас" */
.section-why-bg {
 background-image: url('../img/2026-houton-08-30.jpg');
 background-size: cover;
 background-position: center;
 background-attachment: fixed;
 position: relative;
}
.section-why-bg::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: rgba(255, 255, 255, 0.52);
 z-index: 1;
}
.section-why-bg .container {
 position: relative;
 z-index: 2;
}

/* ========== CATALOG SECTION ========== */
.catalog-grid {
 display: grid;
 grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
 gap: 30px;
}
.catalog-card {
 background: #fff;
 border-radius: var(--radius);
 overflow: hidden;
 box-shadow: var(--shadow);
 transition: var(--transition);
 cursor: pointer;
 border: 1px solid var(--border);
 text-align: center;
 padding: 32px 20px 28px;
}
.catalog-card:hover {
 transform: translateY(-6px);
 box-shadow: var(--shadow-hover);
 border-color: var(--accent);
}
.catalog-emoji {
 font-size: 3rem;
 margin-bottom: 16px;
}
.catalog-card h3 {
 font-size: 1.1rem;
 font-weight: 700;
 color: var(--primary);
 margin-bottom: 8px;
}
.catalog-card p {
 font-size: 0.85rem;
 color: var(--text-muted);
}

/* ========== PRODUCT DETAIL SECTION (новый) ========== */
.product-detail-wrapper {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 48px;
 align-items: start;
}
@media (max-width: 768px) {
 .product-detail-wrapper {
grid-template-columns: 1fr;
 }
}
.gallery {
 display: flex;
 flex-direction: column;
 gap: 16px;
}
.gallery-main {
 border-radius: var(--radius);
 overflow: hidden;
 box-shadow: var(--shadow);
 background: #f0f4f8;
 height: 400px;
 display: flex;
 align-items: center;
 justify-content: center;
 border: 1px solid var(--border);
}
.gallery-main img {
 width: 100%;
 height: 100%;
 object-fit: cover;
}
.gallery-thumbs {
 display: flex;
 gap: 12px;
 overflow-x: auto;
 padding-bottom: 4px;
}
.gallery-thumbs img {
 width: 90px;
 height: 70px;
 object-fit: cover;
 border-radius: var(--radius-sm);
 cursor: pointer;
 border: 2px solid transparent;
 transition: var(--transition);
 flex-shrink: 0;
}
.gallery-thumbs img:hover,
.gallery-thumbs img.active {
 border-color: var(--accent);
 transform: scale(1.05);
}
.product-detail-info h3 {
 font-size: 1.8rem;
 font-weight: 800;
 color: var(--primary);
 margin-bottom: 8px;
}
.product-detail-info .sku {
 font-size: 0.8rem;
 color: #94a3b8;
 text-transform: uppercase;
 letter-spacing: 1px;
 margin-bottom: 16px;
}
.product-detail-info .price {
 font-size: 2rem;
 font-weight: 800;
 color: var(--accent);
 margin-bottom: 20px;
}
.product-detail-info p {
 color: var(--text-muted);
 margin-bottom: 20px;
 font-size: 0.95rem;
}
.spec-table {
 width: 100%;
 border-collapse: collapse;
 margin-bottom: 24px;
}
.spec-table td {
 padding: 10px 16px;
 border-bottom: 1px solid var(--border);
 font-size: 0.9rem;
}
.spec-table td:first-child {
 font-weight: 600;
 color: var(--primary);
 width: 45%;
}
.btn-pdf {
 background: #e74c3c;
 color: #fff;
 border: none;
 padding: 12px 24px;
 border-radius: 50px;
 font-weight: 700;
 font-size: 0.9rem;
 cursor: pointer;
 transition: var(--transition);
 text-decoration: none;
 display: inline-flex;
 align-items: center;
 gap: 8px;
}
.btn-pdf:hover {
 background: #c0392b;
 transform: translateY(-2px);
}

/* ========== POPULAR PRODUCTS ========== */
.products-grid {
 display: grid;
 grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
 gap: 24px;
}
.product-card {
 background: #fff;
 border-radius: var(--radius);
 overflow: hidden;
 box-shadow: var(--shadow);
 transition: var(--transition);
 border: 1px solid var(--border);
 display: flex;
 flex-direction: column;
}
.product-card:hover {
 transform: translateY(-6px);
 box-shadow: var(--shadow-hover);
}
.product-img {
 height: 200px;
 background: #f0f4f8;
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 3.5rem;
 overflow: hidden;
}
.product-img img {
 width: 100%;
 height: 100%;
 object-fit: cover;
}
.product-info {
 padding: 18px 20px 20px;
 flex: 1;
 display: flex;
 flex-direction: column;
}
.product-info h4 {
 font-size: 0.95rem;
 font-weight: 700;
 margin-bottom: 8px;
 color: var(--primary);
 line-height: 1.4;
}
.product-sku {
 font-size: 0.75rem;
 color: #94a3b8;
 margin-bottom: 10px;
 text-transform: uppercase;
 letter-spacing: 0.5px;
}
.product-price {
 font-size: 1.25rem;
 font-weight: 800;
 color: var(--accent);
 margin-top: auto;
}
.product-price small {
 font-size: 0.75rem;
 font-weight: 400;
 color: var(--text-muted);
}

.no-results {
 text-align: center;
 padding: 40px;
 font-size: 1.1rem;
 color: var(--text-muted);
 display: none;
 grid-column: 1 / -1;
}

/* ========== CONTACT FORM ========== */
.form-wrapper {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 48px;
 align-items: start;
}
@media (max-width: 768px) {
 .form-wrapper {
grid-template-columns: 1fr;
 }
}
.form-card {
 background: rgba(255, 255, 255, 0.92);
 backdrop-filter: blur(4px);
 padding: 36px;
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 border: 1px solid var(--border);
}
.form-h2 {
 background: rgba(255, 255, 255, 0.92);
 backdrop-filter: blur(4px);
 margin-bottom: 16px;
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 border: 1px solid var(--border);
}
.form-card h3 {
 font-size: 1.5rem;
 font-weight: 700;
 margin-bottom: 8px;
 color: var(--primary);
}
.form-card p {
 color: var(--text-muted);
 margin-bottom: 0px;
 font-size: 0.92rem;
}
.form-group {
 margin-bottom: 16px;
}
.form-group label {
 display: block;
 font-weight: 600;
 font-size: 0.85rem;
 margin-bottom: 6px;
 color: var(--text-dark);
}
.form-group input,
.form-group textarea,
.form-group select {
 width: 100%;
 padding: 12px 16px;
 border: 2px solid var(--border);
 border-radius: var(--radius-sm);
 font-size: 0.9rem;
 font-family: var(--font);
 transition: var(--transition);
 background: #fafbfc;
 outline: none;
 color: var(--text-dark);
}
.form-group input:focus,
.form-group textarea:focus {
 border-color: var(--accent);
 background: #fff;
 box-shadow: 0 0 0 4px rgba(46, 139, 87, 0.1);
}
.form-group textarea {
 min-height: 120px;
 resize: vertical;
}
.btn-submit {
 background: var(--primary);
 color: #fff;
 width: 100%;
 padding: 14px;
 border: none;
 border-radius: var(--radius-sm);
 font-weight: 700;
 font-size: 0.95rem;
 cursor: pointer;
 transition: var(--transition);
 font-family: var(--font);
}
.btn-submit:hover {
 background: var(--primary-light);
 transform: translateY(-1px);
}

/* Фоновое изображение для раздела с формой обратной связи */
.section-contact-bg {
 background-image: url('../img/2026-houton-08-31.jpg?w=1600&q=80');
 background-size: cover;
 background-position: center;
 background-attachment: fixed;
 position: relative;
}
.section-contact-bg::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: rgba(245, 249, 252, 0.8);
 z-index: 1;
}
.section-contact-bg .container {
 position: relative;
 z-index: 2;
}

/* ========== ABOUT & MAP ========== */
.about-wrapper {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 48px;
 /*align-items: center;*/
}
@media (max-width: 768px) {
 .about-wrapper {
grid-template-columns: 1fr;
 }
}
.about-text h3 {
 font-size: 1.6rem;
 font-weight: 700;
 color: var(--primary);
 margin-bottom: 16px;
}
.about-text p {
 color: var(--text-muted);
 margin-bottom: 12px;
 font-size: 0.95rem;
}
.contact-details {
 display: flex;
 flex-direction: column;
 gap: 12px;
 margin-top: 20px;
}
.contact-detail {
 display: flex;
 align-items: center;
 gap: 12px;
 font-size: 0.9rem;
 color: var(--text-dark);
}
.contact-detail .icon {
 width: 38px;
 height: 38px;
 background: rgba(46, 139, 87, 0.12);
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 1.1rem;
 flex-shrink: 0;
}
.map-frame {
 border-radius: var(--radius);
 overflow: hidden;
 box-shadow: var(--shadow);
 border: 1px solid var(--border);
 min-height: 350px;
 background: #e2e8f0;
}
.map-frame iframe {
 width: 100%;
 height: 350px;
 border: none;
 display: block;
}

/* ========== TEAM ========== */
 /* ========== TEAM ========== */
 .team-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
 gap: 24px;
 }
 .team-card {
 background: #fff;
 border-radius: var(--radius);
 padding: 32px 24px 28px;
 text-align: center;
 box-shadow: var(--shadow);
 border: 1px solid var(--border);
 transition: var(--transition);
 }
 .team-card:hover {
 transform: translateY(-4px);
 box-shadow: var(--shadow-hover);
 }
 .team-card:hover .team-avatar img {
 transform: scale(1.08);
 }

 /* Круглая фотография сотрудника */
 .team-avatar {
 width: 120px;
 height: 120px;
 border-radius: 50%;
 margin: 0 auto 18px;
 position: relative;
 overflow: hidden;
 background: linear-gradient(135deg, var(--primary), var(--primary-light));
 box-shadow: 0 6px 20px rgba(10, 47, 68, 0.18);
 border: 4px solid #fff;
 outline: 3px solid rgba(46, 139, 87, 0.25);
 transition: var(--transition);
 }
 .team-card:hover .team-avatar {
 outline-color: var(--accent);
 box-shadow: 0 10px 28px rgba(46, 139, 87, 0.35);
 }
 .team-avatar img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 object-position: center;
 display: block;
 border-radius: 50%;
 transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
 }
 /* Фоллбэк: если фото не загрузится, покажутся инициалы */
 .team-avatar::before {
 content: attr(data-initials);
 position: absolute;
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%);
 font-size: 2.2rem;
 font-weight: 800;
 color: #fff;
 letter-spacing: 1px;
 z-index: 0;
 }
 .team-avatar img {
 position: relative;
 z-index: 1;
 }

 .team-card h4 {
 font-size: 1.15rem;
 font-weight: 700;
 color: var(--primary);
 margin-bottom: 4px;
 }
 .team-card .role {
 font-size: 0.8rem;
 color: var(--accent);
 font-weight: 600;
 margin-bottom: 12px;
 text-transform: uppercase;
 letter-spacing: 0.3px;
 }
 .team-card .contact {
 font-size: 0.85rem;
 color: var(--text-muted);
 line-height: 1.7;
 }

/* ========== FOOTER ========== */
.site-footer {
 background: var(--primary);
 color: rgba(255, 255, 255, 0.8);
 padding: 48px 0 24px;
 border-top: 3px solid var(--accent);
}
.footer-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
 gap: 32px;
 margin-bottom: 32px;
}
.footer-col h5 {
 color: #fff;
 font-size: 0.9rem;
 font-weight: 700;
 margin-bottom: 14px;
 text-transform: uppercase;
 letter-spacing: 0.5px;
}
.footer-col a, .footer-col p {
 font-size: 0.82rem;
 color: rgba(255, 255, 255, 0.65);
 text-decoration: none;
 display: block;
 margin-bottom: 8px;
 transition: var(--transition);
}
.footer-col a:hover {
 color: #fff;
}
.footer-bottom {
 text-align: center;
 padding-top: 20px;
 border-top: 1px solid rgba(255, 255, 255, 0.1);
 font-size: 0.75rem;
 color: rgba(255, 255, 255, 0.5);
}

/* ========== SEARCH HIGHLIGHT ========== */
.highlight {
 background: #fef3c7;
 padding: 2px 4px;
 border-radius: 4px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
 .header-inner {
flex-wrap: wrap;
height: auto;
padding: 12px 16px;
gap: 10px;
 }
 .nav-links {
order: 3;
width: 100%;
justify-content: center;
gap: 4px;
 }
 .search-container {
order: 2;
width: 100%;
justify-content: space-between;
 }
 .search-container input {
width: 100%;
 }
 .hero h1 {
font-size: 2.2rem;
 }
 .hero {
min-height: auto;
padding: 100px 0 60px;
 }
 .section {
padding: 50px 0;
 }
 .section-title {
font-size: 1.7rem;
 }
 .products-grid {
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
 }
 .hero-stats {
gap: 20px;
flex-wrap: wrap;
 }
 .product-detail-wrapper {
grid-template-columns: 1fr;
 }
 .gallery-main {
height: 250px;
 }
}
@media (max-width: 480px) {
 .products-grid {
grid-template-columns: 1fr 1fr;
gap: 12px;
 }
 .product-img {
height: 140px;
font-size: 2.5rem;
 }
 .product-info h4 {
font-size: 0.8rem;
 }
}