/* Основной стиль для Водяной - программа для водных фирм */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600&family=Open+Sans:wght@600;700&display=swap');

:root {
    --primary-color: #0066cc;
    --primary-hover: #0052a3;
    --accent-color: #0099ff;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 16px rgba(0,0,0,0.15);
    --radius: 8px;
    --radius-lg: 12px;
}

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

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-hover);
}

/* Header */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.logo-text img {
    height: 30px;
    width: auto;
}

.topmenu {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.topmenu a {
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    background: var(--bg-color);
    font-size: 0.9rem;
    white-space: nowrap;
}

.topmenu a:hover {
    background: var(--primary-color);
    color: white;
}

.tel {
    font-weight: 600;
}

/* Main Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

@media (max-width: 900px) {
    .container {
        grid-template-columns: 1fr;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    padding: 2rem 2.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1.5rem;
}

.hero-logo {
    height: 180px;
    width: auto;
    flex-shrink: 0;
	padding-right: 20px ;
}

.hero-content {
    flex: 1;
    min-width: 0;
}

.hero h1 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.hero p {
    font-size: 1rem;
    opacity: 0.95;
    margin-bottom: 1rem;
}

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

.hero-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.25em;
    color: white;
    background: rgba(255,255,255,0.2);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 500;
}

.hero-links a:hover {
    background: rgba(255,255,255,0.3);
    color: white;
}

.hero-icon,
.sidebar-icon{
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

.podrobno {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
	margin-left:5px;
}


/* Content Area */
.content {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.content h2 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin: 1.5rem 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.content h2:first-child {
    margin-top: 0;
}

.content p {
    margin-bottom: 1rem;
}

.content a {
    text-decoration: none;
}

.content a:hover {
    text-decoration: underline;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

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

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--bg-color);
    border-radius: var(--radius);
    padding: 1.25rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

/* Info Cards - новый стиль для карточек из sidebar */
.info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .info-cards {
        grid-template-columns: 1fr;
    }
}

.info-card {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 100%);
    border: 1px solid #cce5ff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.info-card h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.info-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.info-card a {
    display: inline-block;
    margin-top: 0.5rem;
    font-weight: 500;
}



.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.feature-card h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.feature-card a {
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
}


.feature-card a:hover {
    text-decoration: underline;
}


.feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
}


/* Sidebar - удален */

/* News Section */
.news-item {
    background: var(--bg-color);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1rem;
}

.news-item h3 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.news-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--text-color);
    color: white;
    padding: 2rem 1.5rem;
    margin-top: 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    align-items: center;
}

.footer a {
    display: inline-flex;
    align-items: center;
    gap: 0.25em;
    color: var(--accent-color);
}

.footer a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        flex-direction: column;
    }

    .topmenu {
        justify-content: center;
    }

    .hero {
        padding: 1.5rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-logo {
        margin-bottom: 1rem;
    }

    .hero h1 {
        font-size: 1.4rem;
    }

    .content {
        padding: 1.25rem;
    }
}

/* Utility */
.text-center {
    text-align: center;
}


.kontakt a{padding-right:1em; }

/* Payment Form - kupit.html */
.plat {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 100%);
    border: 2px solid #0066cc;
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 2rem 0;
}

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

.plat-label {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color);
    min-width: 280px;
}

.platitogo {
    font-size: 1.1rem;
    line-height: 2;
}

.platitogo b {
    font-size: 1.15rem;
    color: var(--primary-color);
}

.input2 {
    font-size: 1.3rem;
    padding: 0.5rem;
    width: 80px;
    text-align: center;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius);
    font-weight: 600;
}

.inputbut,
.skidka {
    font-size: 1.2rem;
    padding: 0.6rem 1.2rem;
    margin: 0.25rem;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius);
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.inputbut:hover,
.skidka:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
}

.skidka {
    background: var(--bg-white);
    color: var(--primary-color);
}

.skidka:hover {
    background: var(--primary-color);
    color: white;
}

#itogo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.5rem;
    width: 120px;
}

#itogomes {
    font-size: 1.1rem;
    padding: 0.5rem;
    border: none;
    background: transparent;
}

#tekstskidka {
    border: none;
    background: transparent;
    font-weight: 600;
}

#tekstskidka:not([value=""]) {
    color: red;
}

.polevvoda {
    font-size: 1.15rem;
    padding: 0.875rem;
    width: 100%;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
}

.polevvoda:focus {
    border-color: var(--primary-color);
    outline: none;
}

.plat-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

input[type="submit"] {
    font-size: 1.2rem;
    padding: 1rem 2rem;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius);
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

input[type="submit"]:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
	font-size:1rem
}
.sredplat,
.sredplatvisa,
.sredplat2 {
    background: #28a745;
    border-color: #28a745;
}

.sredplat:hover,
.sredplatvisa:hover,
.sredplat2:hover {
    background: #218838;
    border-color: #218838;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
