/* 
   Main Stylesheet
   PolGaz - Porównanie firm gazowych w Polsce 
*/

/* ---------- Reset & Base Styles ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Main colors */
    --primary-color: #1e88e5;
    --primary-dark: #1565c0;
    --primary-light: #64b5f6;
    --secondary-color: #ff9800;
    --secondary-dark: #ef6c00;
    
    /* Neutral colors */
    --dark: #263238;
    --dark-gray: #546e7a;
    --medium-gray: #78909c;
    --light-gray: #eceff1;
    --white: #ffffff;
    
    /* Background colors */
    --bg-light: #f5f7f9;
    --bg-dark: #37474f;
    
    /* Text colors */
    --text-primary: #263238;
    --text-secondary: #455a64;
    --text-light: #78909c;
    --text-white: #ffffff;
    
    /* Status colors */
    --success: #4caf50;
    --warning: #ff9800;
    --error: #f44336;
    --info: #2196f3;
    
    /* Sizes */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 4px;
    --border-radius-lg: 8px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

img, svg {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style-position: inside;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1.2rem;
}

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

.text-right {
    text-align: right;
}

/* ---------- Layout & Grid ---------- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.25rem;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--bg-dark);
    color: var(--text-white);
}

.bg-dark h2, .bg-dark h3 {
    color: var(--text-white);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
    border: none;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
}

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

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

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    color: var(--white);
}

.btn-tertiary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--light-gray);
}

.btn-tertiary:hover {
    background-color: var(--light-gray);
}

/* ---------- Header & Navigation ---------- */
.main-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 100;
}

.main-header .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 60%;
}

.logo img {
    height: 100%;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 2rem;
}

.main-nav a {
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
}

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

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-normal);
}

.main-nav a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--dark);
    transition: all var(--transition-normal);
}

/* ---------- Hero Banner ---------- */
.hero-banner {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 600px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-white);
    position: relative;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(38, 50, 56, 0.7), rgba(38, 50, 56, 0.4));
}

.hero-banner .container {
    position: relative;
    z-index: 1;
}

.hero-banner h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-banner p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* ---------- Features Section ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-item {
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
    text-align: center;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-item .icon {
    margin-bottom: 1.5rem;
}

.feature-item .icon img {
    width: 80px;
    height: 80px;
}

.feature-item h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* ---------- Comparison Table ---------- */
.comparison-table-wrapper {
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th, .comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--light-gray);
}

.comparison-table th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 500;
}

.comparison-table tr:nth-child(even) {
    background-color: var(--white);
}

.comparison-table tr:nth-child(odd) {
    background-color: rgba(236, 239, 241, 0.5);
}

.comparison-table tr:hover {
    background-color: rgba(100, 181, 246, 0.1);
}

.table-note {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Rating Stars */
.rating {
    display: flex;
    align-items: center;
}

.star {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ddd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'%3E%3C/polygon%3E%3C/svg%3E");
    background-size: contain;
    margin-right: 2px;
}

.star.filled {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffc107' stroke='%23ffc107' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'%3E%3C/polygon%3E%3C/svg%3E");
}

.star.half {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='half' x1='0%25' y1='0%25' x2='100%25' y2='0%25'%3E%3Cstop offset='50%25' stop-color='%23ffc107' /%3E%3Cstop offset='50%25' stop-color='%23ffffff' stop-opacity='0' /%3E%3C/linearGradient%3E%3C/defs%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2' fill='url(%23half)' stroke='%23ffc107' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3C/polygon%3E%3C/svg%3E");
}

.rating-value {
    margin-left: 0.5rem;
    font-weight: 500;
}

/* ---------- Equipment Grid ---------- */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.equipment-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    text-align: center;
}

.equipment-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.equipment-item .icon {
    margin-bottom: 1.5rem;
}

.equipment-item .icon img {
    width: 64px;
    height: 64px;
}

/* ---------- Profits Section ---------- */
.profits-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}

.profits-chart {
    text-align: center;
}

.profits-chart img {
    max-width: 100%;
    height: auto;
}

.profits-info h3 {
    margin-bottom: 1.5rem;
}

.profits-list {
    list-style-type: none;
    margin-bottom: 1.5rem;
}

.profits-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-gray);
}

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

/* ---------- Testimonials ---------- */
.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-item {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin: 1rem 0.5rem;
}

.testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-author .rating {
    margin-bottom: 0.5rem;
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.testimonial-prev, .testimonial-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    cursor: pointer;
    margin: 0 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    position: relative;
}

.testimonial-prev::before, .testimonial-next::before {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--text-primary);
    border-right: 2px solid var(--text-primary);
    transition: border-color var(--transition-fast);
}

.testimonial-prev::before {
    transform: rotate(-135deg);
    margin-left: 3px;
}

.testimonial-next::before {
    transform: rotate(45deg);
    margin-right: 3px;
}

.testimonial-prev:hover, .testimonial-next:hover {
    background-color: var(--primary-color);
}

.testimonial-prev:hover::before, .testimonial-next:hover::before {
    border-color: var(--white);
}

/* ---------- Market Trends ---------- */
.market-trends {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.market-trend-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    text-align: center;
}

.market-trend-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.market-trend-item .icon {
    margin-bottom: 1.5rem;
}

.market-trend-item .icon img {
    width: 64px;
    height: 64px;
}

/* ---------- Blog Section ---------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-item {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
}

.blog-item:hover {
    transform: translateY(-10px);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.blog-item:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.blog-excerpt {
    margin-bottom: 1.25rem;
}

.read-more {
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.read-more::after {
    content: "→";
    margin-left: 0.5rem;
    transition: transform var(--transition-fast);
}

.read-more:hover::after {
    transform: translateX(4px);
}

/* ---------- Newsletter Section ---------- */
.newsletter-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}

.newsletter-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.8);
}

.newsletter-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

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

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
}

.form-group.checkbox input {
    width: auto;
    margin-top: 5px;
    margin-right: 10px;
}

.form-group.checkbox label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    flex: 1;
}

/* ---------- Contact Section ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.social-media h3 {
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    margin-right: 0.75rem;
    transition: all var(--transition-fast);
}

.social-icons a:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

/* ---------- Footer ---------- */
.main-footer {
    background-color: var(--dark);
    color: var(--text-white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-logo {
    margin-bottom: 1.25rem;
}

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

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* ---------- Thank You Page ---------- */
.thank-you-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-icon {
    color: var(--success);
    margin-bottom: 2rem;
}

.thank-you-content h1 {
    margin-bottom: 1.5rem;
}

.thank-you-content p {
    margin-bottom: 1.5rem;
}

.thank-you-content .btn {
    margin-top: 1rem;
}

/* ---------- Blog Article Page ---------- */
.blog-article {
    padding: 4rem 0;
}

.article-header {
    margin-bottom: 3rem;
    text-align: center;
}

.article-featured-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    margin-bottom: 2rem;
}

.article-meta {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.article-meta span {
    margin-right: 1.5rem;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    font-size: 1.75rem;
}

.article-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.article-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.article-content ul, .article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    list-style-position: outside;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: var(--border-radius);
}

.article-footer {
    max-width: 800px;
    margin: 4rem auto 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light-gray);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.article-tags a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 30px;
    background-color: var(--light-gray);
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.article-tags a:hover {
    background-color: var(--primary-light);
    color: var(--text-primary);
}

.article-share {
    display: flex;
    align-items: center;
}

.article-share span {
    margin-right: 1rem;
    color: var(--text-secondary);
}

.article-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--light-gray);
    color: var(--text-secondary);
    margin-right: 0.5rem;
    transition: all var(--transition-fast);
}

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

.related-articles {
    max-width: 1000px;
    margin: 0 auto;
}

.related-articles h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.related-article {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
}

.related-article:hover {
    transform: translateY(-8px);
}

.related-article img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-article h4 {
    padding: 1.25rem;
    margin: 0;
    font-size: 1.125rem;
    transition: color var(--transition-fast);
}

.related-article:hover h4 {
    color: var(--primary-color);
}

/* ---------- Legal Pages ---------- */
.legal-page {
    padding: 4rem 0;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h1 {
    margin-bottom: 2rem;
    text-align: center;
}

.legal-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--light-gray);
    font-size: 1.75rem;
}

.legal-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-content p, 
.legal-content ul,
.legal-content ol {
    margin-bottom: 1.5rem;
}

.legal-content ul,
.legal-content ol {
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content .last-updated {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-gray);
    color: var(--text-light);
    font-style: italic;
}

/* ---------- Media Queries ---------- */
@media screen and (max-width: 1024px) {
    .section {
        padding: 4rem 0;
    }
    
    .hero-banner {
        height: 500px;
    }
    
    .hero-banner h1 {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .hero-banner {
        height: 450px;
    }
    
    .hero-banner h1 {
        font-size: 2.25rem;
    }
    
    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: 0;
        background-color: var(--white);
        overflow: hidden;
        transition: height var(--transition-normal);
        box-shadow: var(--shadow-md);
    }
    
    .main-nav.open {
        height: calc(100vh - var(--header-height));
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 2rem;
    }
    
    .main-nav li {
        margin: 0 0 1.5rem 0;
    }
    
    .main-nav a {
        font-size: 1.25rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .newsletter-wrapper, 
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table th, 
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 2rem;
    }
    
    .article-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media screen and (max-width: 576px) {
    .section {
        padding: 2.5rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .hero-banner {
        height: 400px;
    }
    
    .hero-banner h1 {
        font-size: 2rem;
    }
    
    .feature-item, 
    .equipment-item, 
    .market-trend-item {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
}
