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

body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
color: #2c3e50;
background-color: #f8fafb;
}

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

/* Header */
header {
background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
color: white;
padding: 1rem 0;
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
font-size: 1.5rem;
font-weight: bold;
color: #00d4aa;
}

.nav-links {
display: flex;
list-style: none;
gap: 2rem;
}

.nav-links a {
color: white;
text-decoration: none;
transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
color: #00d4aa;
}

.nav-links a.active {
font-weight: bold;
}

.mobile-menu {
display: none;
flex-direction: column;
cursor: pointer;
}

.mobile-menu span {
width: 25px;
height: 3px;
background: white;
margin: 3px 0;
transition: 0.3s;
}

/* Hero Section */
.hero {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 120px 0 80px;
text-align: center;
}

.hero h1 {
font-size: 3rem;
margin-bottom: 1rem;
font-weight: 700;
}

.hero p {
font-size: 1.2rem;
margin-bottom: 2rem;
max-width: 900px;
margin-left: auto;
margin-right: auto;
text-align: left;
}

.cta-button {
display: inline-block;
background: #00d4aa;
color: white;
padding: 15px 30px;
text-decoration: none;
border-radius: 50px;
font-weight: bold;
transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
transform: translateY(-2px);
box-shadow: 0 10px 20px rgba(0,212,170,0.3);
}

/* Content Sections */
.section {
padding: 80px 0;
}

.section:nth-child(even) {
background-color: white;
}

.section h2 {
font-size: 2.5rem;
margin-bottom: 2rem;
text-align: center;
color: #1e3c72;
}

.section h3 {
font-size: 1.8rem;
margin: 2rem 0 1rem;
color: #2a5298;
}

.section h4 {
font-size: 1.3rem;
margin-bottom: 1rem;
color: #1e3c72;
}

.content-block {
margin-bottom: 3rem;
}

.content-block p {
font-size: 1.1rem;
margin-bottom: 1.5rem;
line-height: 1.7;
}

/* Image Showcase Styles */
.image-showcase {
margin: 3rem 0;
text-align: center;
}

.hero-image {
width: 100%;
max-width: 1200px;
height: auto;
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0,0,0,0.2);
margin-bottom: 1rem;
}

.section-image {
width: 100%;
max-width: 800px;
height: auto;
border-radius: 15px;
box-shadow: 0 8px 25px rgba(0,0,0,0.15);
margin-bottom: 1rem;
}

.image-caption {
font-style: italic;
color: #666;
font-size: 0.95rem;
margin-top: 0.5rem;
max-width: 600px;
margin-left: auto;
margin-right: auto;
}

/* Cards and Grids */
.card {
background: white;
padding: 2rem;
border-radius: 15px;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
transition: transform 0.3s, box-shadow 0.3s;
margin-bottom: 2rem;
position: relative;
overflow: hidden;
counter-reset: step-counter;
}

.card:hover {
transform: translateY(-5px);
box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card:before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 4px;
background: linear-gradient(90deg, #00d4aa, #00b894);
}

.card h3 {
color: #1e3c72;
font-size: 1.4rem;
margin-bottom: 1rem;
}

.card h4 {
color: #2a5298;
font-size: 1.2rem;
margin-bottom: 1rem;
}

.tools-grid,
.comparison-grid,
.services-grid,
.about-grid,
.troubleshooting-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 2rem;
margin: 2rem 0;
}

/* Map Styles */
.map-container {
margin: 3rem 0;
text-align: center;
}

.map-container h3 {
color: #1e3c72;
margin-bottom: 2rem;
font-size: 2rem;
}

.map-wrapper {
background: white;
border-radius: 15px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
margin: 2rem 0;
}

.map-wrapper iframe {
width: 100%;
height: 400px;
border: none;
display: block;
}

.map-note {
font-style: italic;
color: #666;
margin-top: 1rem;
font-size: 0.95rem;
}

/* Lists */
.feature-list,
.benefits-list,
.maintenance-list,
.warning-list {
list-style: none;
padding: 0;
margin: 2rem 0;
background: white;
border-radius: 10px;
box-shadow: 0 3px 10px rgba(0,0,0,0.1);
overflow: hidden;
}

.feature-list li,
.benefits-list li,
.maintenance-list li,
.warning-list li {
padding: 1rem 1.5rem;
padding-left: 3rem;
position: relative;
border-bottom: 1px solid #f0f4f8;
transition: background-color 0.3s ease;
font-size: 1rem;
line-height: 1.6;
}

.feature-list li:hover,
.benefits-list li:hover,
.maintenance-list li:hover,
.warning-list li:hover {
background-color: #f8fafb;
}

.feature-list li:last-child,
.benefits-list li:last-child,
.maintenance-list li:last-child,
.warning-list li:last-child {
border-bottom: none;
}

.benefits-list li:before {
content: "⚓";
position: absolute;
left: 1rem;
top: 1rem;
color: #00d4aa;
font-size: 1.3rem;
font-weight: bold;
}

.feature-list li:before {
content: "🔧";
position: absolute;
left: 1rem;
top: 1rem;
font-size: 1.3rem;
}

.maintenance-list li:before {
content: "🔍";
position: absolute;
left: 1rem;
top: 1rem;
font-size: 1.3rem;
}

.warning-list li:before {
content: "⚠️";
position: absolute;
left: 1rem;
top: 1rem;
font-size: 1.3rem;
}

/* Process List - ОКОНЧАТЕЛЬНОЕ исправление */
.process-list {
counter-reset: step-counter;
list-style: none;
padding: 0;
margin: 2rem 0;
background: transparent;
border-radius: 0;
box-shadow: none;
overflow: visible;
}

.process-list li {
counter-increment: step-counter;
padding: 1rem 0;
margin-left: 3rem;
position: relative;
border-bottom: 1px solid #f0f4f8;
transition: background-color 0.3s ease;
font-size: 1rem;
line-height: 1.6;
background: transparent;
margin-bottom: 0.5rem;
}

.process-list li:hover {
background-color: rgba(248, 250, 251, 0.5);
margin-left: 2rem;
margin-right: -1rem;
padding-left: 1rem;
border-radius: 5px;
}

.process-list li:last-child {
border-bottom: none;
}

.process-list li:before {
content: counter(step-counter);
position: absolute;
left: -3rem;
top: 0.5rem;
background: linear-gradient(135deg, #00d4aa, #00b894);
color: white;
width: 35px;
height: 35px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
font-size: 1.1rem;
box-shadow: 0 2px 8px rgba(0,212,170,0.3);
z-index: 1;
}

/* Card content styling */
.card ul {
margin-top: 1rem;
list-style: none;
padding: 0;
}

.card ul li {
padding: 0.8rem 0;
padding-left: 2rem;
border-bottom: 1px solid #f0f4f8;
position: relative;
transition: background-color 0.3s ease;
}

.card ul li:hover {
background-color: #f8fafb;
margin: 0 -1rem;
padding-left: 3rem;
border-radius: 5px;
}

.card ul li:last-child {
border-bottom: none;
}

.card ul li:before {
content: "▸";
color: #00d4aa;
font-weight: bold;
position: absolute;
left: 0.5rem;
top: 0.8rem;
font-size: 1.1rem;
}

.card ol {
margin-top: 1rem;
padding-left: 1.5rem;
}

.card ol li {
padding: 0.5rem 0;
line-height: 1.6;
border-bottom: 1px solid #f0f4f8;
}

.card ol li:last-child {
border-bottom: none;
}

/* Tables */
.comparison-table {
width: 100%;
border-collapse: collapse;
margin: 2rem 0;
background: white;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.comparison-table th,
.comparison-table td {
padding: 1rem;
text-align: left;
border-bottom: 1px solid #e0e6ed;
}

.comparison-table th {
background: #1e3c72;
color: white;
font-weight: bold;
}

.comparison-table tr:hover {
background-color: #f8fafb;
}

/* Highlight Boxes */
.highlight-box {
background: linear-gradient(135deg, #e8f5e8, #f0f9ff);
border: 2px solid #00d4aa;
border-radius: 15px;
padding: 2rem;
margin: 2rem 0;
}

.highlight-box h3 {
color: #1e3c72;
text-align: center;
margin-bottom: 1.5rem;
}

.highlight-box p {
font-size: 1.1rem;
line-height: 1.6;
text-align: center;
}

.highlight-box .benefits-list {
background: transparent;
box-shadow: none;
margin: 0;
}

.highlight-box .benefits-list li {
background: rgba(255, 255, 255, 0.7);
margin: 0.5rem 0;
border-radius: 8px;
border: 1px solid rgba(0, 212, 170, 0.2);
}

/* Service-specific styles */
.service-price {
margin-top: 1.5rem;
padding-top: 1rem;
border-top: 2px solid #f0f4f8;
text-align: center;
}

.service-price strong {
display: block;
font-size: 1.3rem;
color: #00d4aa;
margin-bottom: 0.5rem;
}

.service-price span {
font-size: 0.9rem;
color: #666;
font-style: italic;
}

.contact-info {
margin-top: 1.5rem;
text-align: left;
}

.contact-info p {
margin: 0.5rem 0;
font-size: 1rem;
}

/* Footer */
footer {
background: #1e3c72;
color: white;
text-align: center;
padding: 3rem 0;
}

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

.footer-section h4 {
color: #00d4aa;
margin-bottom: 1rem;
}

.footer-section ul {
list-style: none;
padding: 0;
}

.footer-section ul li {
margin: 0.5rem 0;
}

.footer-section a {
color: #00d4aa;
text-decoration: none;
}

.footer-section a:hover {
text-decoration: underline;
}

.footer-bottom {
margin-top: 2rem;
padding-top: 1rem;
border-top: 1px solid rgba(255,255,255,0.1);
font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
.tools-grid,
.comparison-grid,
.services-grid,
.about-grid,
.troubleshooting-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
}

@media (max-width: 768px) {
.nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #1e3c72;
    flex-direction: column;
    padding: 1rem;
}

.nav-links.active {
    display: flex;
}

.mobile-menu {
    display: flex;
}

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

.hero p {
    font-size: 1rem;
    text-align: center;
}

.section h2 {
    font-size: 2rem;
}

.tools-grid,
.comparison-grid,
.services-grid,
.about-grid,
.troubleshooting-grid {
    grid-template-columns: 1fr;
}

.footer-content {
    grid-template-columns: 1fr;
    text-align: center;
}

.feature-list li,
.benefits-list li,
.maintenance-list li,
.warning-list li {
    padding: 1rem;
    padding-left: 2.5rem;
}

.process-list li {
    padding: 1rem 0;
    padding-left: 5rem;
}

.process-list li:before {
    left: 1rem;
    top: 0.5rem;
    width: 40px;
    height: 40px;
}

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

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

.services-grid .card h3 {
    font-size: 1.2rem;
}

.map-wrapper iframe {
    height: 300px;
}

.card {
    padding-left: 2rem;
}

.hero-image,
.section-image {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.image-caption {
    font-size: 0.9rem;
    padding: 0 1rem;
}
}

/* Smooth scrolling */
html {
scroll-behavior: smooth;
}

/* Animation for cards */
@keyframes fadeInUp {
from {
    opacity: 0;
    transform: translateY(30px);
}
to {
    opacity: 1;
    transform: translateY(0);
}
}

.card {
animation: fadeInUp 0.6s ease-out;
}

/* Strong text styling */
strong {
color: #1e3c72;
font-weight: 600;
}

/* Additional spacing */
p {
margin-bottom: 1rem;
}

ul, ol {
margin-bottom: 1.5rem;
}

#newsletter {
padding: 15px;
color: #fff;
background: #35424a;
}

#newsletter h1 {
float: left;
}

#newsletter form {
float: right;
margin-top: 15px;
}

#newsletter input[type="email"] {
padding: 4px;
height: 25px;
width: 250px;
}

.button_1 {
height: 38px;
background: #e8491d;
border: 0;
padding-left: 20px;
padding-right: 20px;
color: #fff;
}

#main {
padding: 20px;
}

#sidebar {
float: right;
width: 30%;
margin-top: 10px;
}

#sidebar .quote input, #sidebar .quote textarea {
width: 90%;
padding: 5px;
}

article#main-col {
float: left;
width: 65%;
}

/* Styles for the boxes section */
#boxes {
margin-top: 20px;
}

#boxes .box {
float: left;
width: 30%;
padding: 10px;
text-align: center;
}

#boxes .box img {
width: 90px;
}

/* Services page styles */
ul#services li {
list-style: none;
padding: 20px;
border: #ccc solid 1px;
margin-bottom: 5px;
background: #e6e6e6;
}

/* Contact form styles */
form.quote input, form.quote textarea {
width: 90%;
padding: 5px;
}