/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* 导航栏 */
.navbar {
    background-color: #333;
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 32px;
}

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

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #4CAF50;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #fff;
    transition: all 0.3s;
}

/* 英雄区域（首页默认背景图 + 暗角遮罩便于白字阅读；宽横幅图略偏上保留主体） */
.hero {
    background-color: #263238;
    background-image: linear-gradient(rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.45)),
        url("images/hero-index.png");
    background-size: cover;
    background-position: center 42%;
    background-repeat: no-repeat;
    color: #fff;
    padding: 100px 0;
    text-align: center;
    min-height: 280px;
    height: 66vh;
    max-height: 560px;
    display: flex;
    align-items: center;
}

/* 关于我们：精密模具横幅 */
.hero-about {
    background-color: #37474f;
    background-image: linear-gradient(rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.42)),
        url("images/hero-about.png");
    background-position: center 38%;
}

/* 联系我们：商务握手（人物清晰、易辨认） */
.hero-contact {
    background-color: #1b3a4b;
    background-image: linear-gradient(rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.38)),
        url("images/hero-contact.png");
    background-position: center 22%;
}

.hero .container {
    max-width: 800px;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.hero .container {
    max-width: 800px;
    text-align: center;
}

/* 产品中心页面的hero样式 */
.hero-no-image h2 {
    font-size: 24px;
    margin-bottom: 0;
    display: inline;
    color: white;
}

.hero-no-image p {
    font-size: 24px;
    margin-bottom: 30px;
    display: inline;
    margin-left: 20px;
    color: white;
}

.hero-no-image .container {
    text-align: left;
}

/* 无背景图片的hero区域（产品中心页面） */
.hero-no-image {
    background-image: none;
    background-color: #3366ff;
    color: white;
    padding: 40px 0;
    height: auto;
}

.hero-no-image h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.hero-no-image p {
    font-size: 18px;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    background-color: #4CAF50;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    transition: background-color 0.3s;
    min-width: 100px;
    text-align: center;
}

.btn:hover {
    background-color: #45a049;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #4CAF50;
    color: #4CAF50;
}

.btn-secondary:hover {
    background-color: #4CAF50;
    color: #fff;
}

/* 公司简介 */
.about-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.about-section h3 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
}

.about-section p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 关于我们 - 质量系统 */
.quality-system-section {
    background-color: #fff;
}

.quality-system-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.quality-item {
    text-align: left;
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 14px;
    padding: 22px 24px 20px;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.05);
    min-height: 430px;
    display: flex;
    flex-direction: column;
}

.quality-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 16px;
    background: radial-gradient(circle at 30% 30%, #ff9aa6 0%, #f08b98 70%, #e9808f 100%);
    color: #fff;
    font-size: 34px;
    line-height: 100px;
    text-align: center;
}

.quality-item h4 {
    margin: 0 0 10px;
    font-size: 44px;
    color: #1f2a37;
    font-weight: 700;
    text-align: center;
}

.quality-item ul {
    margin: 2px 0 0;
    padding-left: 26px;
    flex: 1;
}

.quality-item li {
    margin: 6px 0;
    color: #666;
    font-size: 21px;
    line-height: 1.55;
}

/* 关于我们 - 愿景与使命 */
.vision-mission-section {
    padding: 70px 0 80px;
    background: linear-gradient(135deg, #5d9bd7 0%, #7fb4e6 45%, #92c1ec 100%);
    position: relative;
    overflow: hidden;
}

.vision-mission-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        rgba(255, 255, 255, 0.05) 0,
        rgba(255, 255, 255, 0.05) 2px,
        transparent 2px,
        transparent 7px
    );
    pointer-events: none;
}

.vision-mission-wrap {
    position: relative;
    z-index: 1;
    max-width: 1080px;
}

.vm-block + .vm-block {
    margin-top: 42px;
}

.vm-block h3 {
    color: #fff;
    font-size: 44px;
    font-weight: 700;
    margin: 0 0 8px;
    text-align: left;
}

.vm-block h3::after {
    content: "";
    display: block;
    width: 62px;
    height: 4px;
    margin-top: 14px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 3px;
}

.vm-block ul {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}

.vm-block li {
    color: rgba(255, 255, 255, 0.96);
    font-size: 36px;
    line-height: 1.45;
    margin: 14px 0;
    text-align: left;
}

.vm-block li::before {
    content: "◈";
    display: inline-block;
    margin-right: 12px;
    color: rgba(255, 255, 255, 0.95);
}

/* 产品服务 */
.services-section {
    padding: 80px 0;
    text-align: center;
}

.services-section h3 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* 核心产品分类 - 强制5列布局 */
.product-categories-section .services-grid {
    grid-template-columns: repeat(5, 1fr);
}

/* 公司价值观 - 强制8列布局 */
.services-section:nth-child(3) .services-grid {
    grid-template-columns: repeat(8, 1fr);
}

/* 定制优势 - 强制4列布局 */
.services-section:nth-child(4) .services-grid {
    grid-template-columns: repeat(4, 1fr);
}

/* 产品中心布局 */
.product-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 20px;
    align-items: stretch;
}

.product-categories {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 100px;
    margin-left: -100px;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.product-categories h3 {
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

.product-categories ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-grow: 1;
    justify-content: space-between;
}

.product-categories li {
    margin-bottom: 0;
    text-align: center;
}

.product-categories a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.product-categories a:hover {
    background-color: #4CAF50;
    color: #fff;
    transform: translateX(5px);
}

.product-categories a.active {
    background-color: #3366ff;
    color: #fff;
}

.product-details {
    min-height: 600px;
}

.product-content {
    animation: fadeIn 0.5s ease;
}

/* 子分类导航 */
.subcategory-nav {
    margin: 30px 0;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.subcategory-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.subcategory-nav li {
    margin: 0;
}

.subcategory-nav a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.subcategory-nav a:hover {
    background-color: #4CAF50;
    color: #fff;
    transform: translateY(-2px);
}

.subcategory-nav a.active {
    background-color: #3366ff;
    color: #fff;
}

.subcategory-content {
    animation: fadeIn 0.5s ease;
}

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

.service-card {
    background-color: #f0f8ff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

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

.service-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-card .btn {
    align-self: center;
    margin-top: auto;
}

/* 联系我们 */
.contact-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.contact-section h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.contact-section p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* 在线留言：标题、说明与表单同宽居中 */
.contact-form-section .contact-form-stack {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.contact-form-section .contact-form-stack h3 {
    margin-bottom: 12px;
}

.contact-form-section .contact-form-hint {
    color: #666;
    font-size: 15px;
    line-height: 1.65;
    margin: 0 auto 28px;
    max-width: 100%;
    padding: 0 4px;
}

.contact-form-section .contact-form {
    position: relative;
    width: 100%;
    text-align: left;
}

.contact-form-section .form-group {
    margin-bottom: 18px;
}

.contact-form-section .form-group label {
    display: block;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    margin-bottom: 8px;
}

.contact-form-section .contact-form input,
.contact-form-section .contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form-section .contact-form input:focus,
.contact-form-section .contact-form textarea:focus {
    outline: none;
    border-color: #4caf50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15);
}

.contact-form-section .contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-section .contact-form-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

.contact-form-section .contact-form-msg {
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.contact-form-section .contact-form-submit {
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 8px auto 0;
    padding: 12px 24px;
    background: linear-gradient(180deg, #4d7cff 0%, #3366ff 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(51, 102, 255, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.contact-form-section .contact-form-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(51, 102, 255, 0.4);
}

.contact-form-section .contact-form-submit:active {
    transform: translateY(0);
}

/* 页脚 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 50px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-info h4 {
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #4CAF50;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #ccc;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #333;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .hero h2 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .about-section h3,
    .services-section h3,
    .contact-section h3 {
        font-size: 28px;
    }

    .quality-system-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .quality-item {
        text-align: center;
        min-height: auto;
    }

    .quality-item ul {
        display: inline-block;
        text-align: left;
    }

    .quality-item h4 {
        font-size: 28px;
    }

    .quality-item li {
        font-size: 22px;
    }

    .vision-mission-section {
        padding: 46px 0 56px;
    }

    .vm-block h3 {
        font-size: 30px;
    }

    .vm-block li {
        font-size: 20px;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .about-section h3,
    .services-section h3,
    .contact-section h3 {
        font-size: 24px;
    }

    .service-card {
        padding: 20px;
    }
}

/* 表单样式 */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-actions {
    text-align: center;
    margin-top: 30px;
}

/* 关于我们页面 */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.about-text {
    padding: 20px;
}

.about-text h4 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-image {
    padding: 20px;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 产品服务页面 */
.service-details {
    margin-top: 40px;
}

.service-item {
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    justify-items: center;
}

.service-item.has-text {
    grid-template-columns: 1fr 1fr;
    justify-items: stretch;
}

.service-item:nth-child(even) {
    direction: rtl;
}

.service-item:nth-child(even) .service-text {
    direction: ltr;
}

.service-text h4 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.service-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.service-image img {
    width: 100%;
    height: 467px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 与 .service-image img 一致；内联 SVG 在页面 UTF-8 下可避免外部 .svg 编码/引用问题 */
.service-image > svg {
    width: 100%;
    height: 467px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: block;
    box-sizing: border-box;
}

.image-caption {
    text-align: center;
    margin-top: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.image-carousel .image-caption {
    position: relative;
    z-index: 5;
    margin-top: 15px;
}

.service-image-gallery {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.service-image-gallery img {
    max-width: 40%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 轮播样式 */
.image-carousel {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 0 0 auto;
    padding: 0 60px;
    overflow: visible;
    transform: translateX(50px);
}

.carousel-image {
    width: 100%;
    height: 350px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(76, 175, 80, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-prev {
    left: -70px;
}

.carousel-next {
    right: -70px;
}

.carousel-prev:hover,
.carousel-next:hover {
    background-color: rgba(76, 175, 80, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.carousel-prev.hidden {
    display: none;
}

@media (max-width: 768px) {
    .service-image-gallery img {
        max-width: 100%;
    }
}

.image-carousel.is-autoplay .carousel-image {
    transition: opacity 0.35s ease;
}

.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.9); } .modal-content { margin: auto; display: block; max-width: 90%; max-height: 90%; } #caption { margin: auto; display: block; width: 80%; max-width: 700px; text-align: center; color: #ccc; padding: 10px 0; height: 150px; } .close { position: absolute; top: 15px; right: 35px; color: #f1f1f1; font-size: 40px; font-weight: bold; transition: 0.3s; } .close:hover, .close:focus { color: #bbb; text-decoration: none; cursor: pointer; } @media only screen and (max-width: 700px) { .modal-content { width: 100%; } }

/* ---------------------------
   Mobile polish (<=768px)
   --------------------------- */
@media (max-width: 768px) {
    .container {
        padding: 0 14px;
    }

    .navbar {
        padding: 10px 0;
    }

    .logo h1 {
        font-size: 18px;
        line-height: 1.25;
    }

    .nav-links {
        top: 58px;
        padding: 8px 0 14px;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .hero {
        min-height: 220px;
        height: auto;
        max-height: none;
        padding: 56px 0 50px;
        background-position: center 38%;
    }

    .hero h2 {
        font-size: 30px;
        margin-bottom: 12px;
    }

    .hero p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 18px;
    }

    .hero-no-image {
        padding: 18px 0;
    }

    .hero-no-image .container {
        text-align: center;
    }

    .hero-no-image h2,
    .hero-no-image p {
        display: block;
        margin: 0;
    }

    .hero-no-image h2 {
        font-size: 24px;
        margin-bottom: 6px;
    }

    .hero-no-image p {
        font-size: 14px;
        opacity: 0.95;
    }

    .about-section,
    .services-section,
    .contact-section {
        padding: 48px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 16px;
    }

    .about-text,
    .about-image {
        padding: 0;
    }

    .about-text p,
    .services-section p,
    .about-section p {
        font-size: 15px;
        line-height: 1.75;
        margin-bottom: 14px;
    }

    .product-container {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .product-categories {
        position: static;
        margin-left: 0;
        height: auto;
        padding: 14px;
    }

    .product-categories h3 {
        margin-bottom: 12px;
        font-size: 20px;
    }

    .product-categories ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .product-categories a {
        padding: 9px 10px;
        font-size: 14px;
    }

    .subcategory-nav {
        padding: 10px;
        margin: 16px 0;
    }

    .subcategory-nav ul {
        gap: 8px;
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 4px;
    }

    .subcategory-nav a {
        padding: 8px 12px;
        font-size: 13px;
    }

    .service-item {
        gap: 18px;
        margin-bottom: 26px;
    }

    .image-carousel {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 44px;
        transform: none;
    }

    .carousel-image {
        height: 200px;
    }

    .carousel-prev,
    .carousel-next {
        width: 42px;
        height: 42px;
        font-size: 22px;
    }

    .carousel-prev {
        left: -6px;
    }

    .carousel-next {
        right: -6px;
    }

    .image-caption {
        font-size: 15px;
        margin-top: 10px;
    }

    .quality-item {
        padding: 16px 14px;
    }

    .quality-icon {
        width: 84px;
        height: 84px;
        font-size: 28px;
        line-height: 84px;
    }

    .quality-item h4 {
        font-size: 24px;
    }

    .quality-item li {
        font-size: 18px;
    }

    .vision-mission-section {
        padding: 34px 0 42px;
    }

    .vm-block h3 {
        font-size: 28px;
    }

    .vm-block li {
        font-size: 18px;
        margin: 10px 0;
    }

    .contact-form-section .contact-form-stack {
        max-width: 100%;
    }

    .contact-form-section .contact-form-hint {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .footer {
        padding: 34px 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 18px;
        text-align: left;
    }
}

@media (max-width: 420px) {
    .logo h1 {
        font-size: 16px;
    }

    .hero h2 {
        font-size: 26px;
    }

    .hero p {
        font-size: 14px;
    }

    .product-categories ul {
        grid-template-columns: 1fr;
    }

    .carousel-image {
        height: 180px;
    }

    .vm-block h3 {
        font-size: 24px;
    }

    .vm-block li {
        font-size: 16px;
    }
}