/* ============================================================
   旭铄科技官网 - 公共样式
   ============================================================ */

/* ── 重置与基础 ── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: #ffffff;
    color: #1e293b;
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 80px 0;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

/* ── 标题系统 ── */
.section-tag {
    display: inline-block;
    background: rgba(30, 90, 125, 0.1);
    color: #1e5a7d;
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 14px;
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, #0f2b3d 0%, #1a4a6f 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1rem;
    color: #475569;
    padding: 0 16px;
    line-height: 1.7;
}

/* ── 按钮 ── */
.btn-primary {
    background: linear-gradient(95deg, #0f2b3d 0%, #1e5a7d 100%);
    color: white;
    border: none;
    padding: 12px 26px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(15, 43, 61, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 35, 55, 0.25);
    background: linear-gradient(95deg, #16445f 0%, #236b91 100%);
}

.btn-primary.btn-light {
    background: white;
    color: #1e5a7d;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.btn-primary.btn-light:hover {
    background: #f0f7ff;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid #2c7da0;
    color: #1e5a7d;
    padding: 10px 22px;
    border-radius: 40px;
    font-weight: 500;
    font-size: 0.88rem;
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
}

.btn-outline:hover {
    background: #eef7ff;
    border-color: #0f4c6b;
    transform: translateY(-2px);
}

/* ── 导航栏 ── */
.navbar {
    padding: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(30, 90, 125, 0.08);
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    transition: box-shadow 0.3s;
}

.navbar.scrolled {
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 68px;
}

.logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0f2b3d, #1e6b92);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.logo span {
    font-size: 0.65rem;
    font-weight: 400;
    color: #7e8ea0;
    letter-spacing: 0.04em;
}

.nav-links {
    display: flex;
    gap: 4px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    font-size: 0.88rem;
    color: #374151;
    padding: 8px 14px;
    border-radius: 10px;
    transition: all 0.2s;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: #1e6b92;
    background: rgba(30, 90, 125, 0.07);
}

.nav-cta {
    margin-left: 8px;
}

/* 汉堡菜单 */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
}

.nav-toggle:hover { background: #f1f5f9; }

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #1e293b;
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero Banner 通用 ── */
.page-hero {
    background: linear-gradient(118deg, #f4f9fd 0%, #e8f2f9 60%, #ddedf5 100%);
    padding: 80px 0 70px;
    border-bottom: 1px solid rgba(30, 90, 125, 0.1);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30,90,125,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero-tag {
    display: inline-block;
    background: rgba(30, 90, 125, 0.1);
    color: #1e5a7d;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.72rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.page-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #0c2e40;
    line-height: 1.18;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.page-hero p {
    font-size: 1.05rem;
    color: #3d5566;
    max-width: 600px;
    line-height: 1.75;
    margin-bottom: 32px;
}

/* ── 卡片通用 ── */
.card {
    background: #ffffff;
    border-radius: 28px;
    padding: 28px 24px;
    border: 1px solid #eef2f6;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
    transition: all 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card:hover {
    transform: translateY(-6px);
    border-color: #c4dbe9;
    box-shadow: 0 20px 32px -12px rgba(0, 32, 64, 0.12);
}

.card-icon {
    font-size: 2.2rem;
    color: #1e6b92;
    margin-bottom: 20px;
}

/* ── 标签徽章 ── */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.tech-tag {
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 500;
    color: #2c5a73;
    white-space: nowrap;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
    width: fit-content;
}

.badge-blue { background: #e1f0f9; color: #145c7a; }
.badge-green { background: #e6f9f0; color: #0d6e4a; }
.badge-purple { background: #f0ebff; color: #5b3fad; }
.badge-orange { background: #fff4e5; color: #8a4b00; }

/* ── 页脚 ── */
footer {
    background: #0b202b;
    color: #cddfe8;
    padding: 60px 0 28px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid #1e3a49;
}

.footer-logo h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #e2edf2;
    margin-bottom: 6px;
    background: linear-gradient(135deg, #9ecfdf, #d4ebf5);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.footer-logo span {
    font-size: 0.65rem;
    color: #607d8b;
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 0.85rem;
    color: #8aa5b5;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: #d8eaf2;
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}

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

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

.footer-col ul li a {
    color: #8aa5b5;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: #c8e4f0;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #8aa5b5;
    font-size: 0.84rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

.footer-contact p i {
    color: #4e8fa5;
    margin-top: 2px;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 14px;
    margin-top: 18px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9fc5d5;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s;
}

.social-links a:hover {
    background: rgba(30, 90, 125, 0.4);
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 28px;
    font-size: 0.78rem;
    color: #5a7a89;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #5a7a89;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover { color: #9fc5d5; }

/* ── 进入动画 ── */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ── 数字计数动画 ── */
.count-up { display: inline-block; }

/* ── 进度条 ── */
.progress-bar-wrap {
    background: #e9f0f5;
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
    margin-top: 8px;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, #1e6b92, #2c9fc5);
    width: 0;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── 分隔线 ── */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #dde8ee, transparent);
    margin: 0;
}

/* ── 响应式 ── */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    section { padding: 60px 0; }

    .section-title { font-size: 1.7rem; }

    .page-hero { padding: 60px 0 50px; }
    .page-hero h1 { font-size: 2.1rem; }

    .nav-links { display: none; flex-direction: column; }
    .nav-links.open {
        display: flex;
        position: absolute;
        top: 68px; left: 0; right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(12px);
        padding: 16px 24px 24px;
        border-bottom: 1px solid #e8f0f5;
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        z-index: 999;
    }
    .nav-links.open a { padding: 12px 8px; border-radius: 0; border-bottom: 1px solid #f0f5f9; }
    .nav-cta { margin-left: 0; margin-top: 8px; }
    .nav-toggle { display: flex; }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .section-title { font-size: 1.5rem; }
    .page-hero h1 { font-size: 1.8rem; }
}

/* ── 汉堡菜单按钮 ── */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    border: none;
    background: transparent;
    transition: background 0.2s;
}
.hamburger:hover { background: #f1f5f9; }
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #1e293b;
    border-radius: 2px;
    transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
    .hamburger { display: flex; }
}

/* ── 回到顶部按钮 ── */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f2b3d, #1e6b92);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 900;
}
.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}

/* ── 页脚动态模板适配 ── */
.footer-col h3 {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #9ecfdf, #d4ebf5);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 16px;
}
.footer-col p {
    color: #8aa5b5;
    font-size: 0.84rem;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}
.footer-col p i { color: #4e8fa5; flex-shrink: 0; margin-top: 2px; }
.footer-col p a { color: #8aa5b5; text-decoration: none; transition: color 0.2s; }
.footer-col p a:hover { color: #c8e4f0; }
.copyright {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid #1e3a49;
    margin-top: 32px;
    font-size: 0.76rem;
    color: #5a7a89;
}

/* ── 文章/新闻列表页 ── */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    margin-top: 20px;
}
.news-card {
    background: #fff;
    border-radius: 24px;
    border: 1px solid #eef2f6;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.25s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}
.news-card:hover {
    transform: translateY(-5px);
    border-color: #c4dbe9;
    box-shadow: 0 18px 30px -12px rgba(0,32,64,0.12);
}
.news-card .category-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 30px;
    font-size: 0.68rem;
    font-weight: 600;
    width: fit-content;
}
.news-card .category-badge.insight { background: #e1f0f9; color: #145c7a; }
.news-card .category-badge.news-badge { background: #e6f9f0; color: #0d6e4a; }
.news-card h3 { font-size: 1rem; font-weight: 700; color: #0f2b3d; line-height: 1.4; }
.news-card p { font-size: 0.87rem; color: #475569; line-height: 1.6; flex: 1; }
.news-card .meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; color: #8a99a8; }
.news-card .read-more { color: #1e6b92; font-weight: 500; text-decoration: none; font-size: 0.82rem; }
.news-card .read-more:hover { text-decoration: underline; }

/* ── 文章详情页 ── */
.article-body {
    max-width: 820px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.85;
    color: #1e293b;
}
.article-body h2, .article-body h3 { color: #0f2b3d; margin: 2rem 0 1rem; font-weight: 700; }
.article-body p { margin-bottom: 1.2rem; }
.article-body ul, .article-body ol { padding-left: 2rem; margin-bottom: 1.2rem; }
.article-body li { margin-bottom: 0.5rem; }
.article-body blockquote {
    border-left: 4px solid #1e6b92;
    padding: 12px 20px;
    background: #f0f7ff;
    border-radius: 0 12px 12px 0;
    color: #1e4a6d;
    margin: 1.5rem 0;
}

/* ── 分页 ── */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #e2edf3;
    color: #374151;
    transition: all 0.2s;
}
.pagination a:hover { background: #eef3fa; border-color: #1e6b92; color: #1e6b92; }
.pagination .current { background: #1e6b92; color: white; border-color: #1e6b92; }

/* ── 联系表单 ── */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 500; font-size: 0.88rem; margin-bottom: 8px; color: #374151; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1.5px solid #dde8f0;
    font-size: 0.92rem;
    font-family: inherit;
    color: #1e293b;
    background: #fafcff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #1e6b92;
    box-shadow: 0 0 0 3px rgba(30,107,146,0.12);
    background: #fff;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success { background: #e6f9f0; border: 1px solid #10b981; border-radius: 16px; padding: 16px 20px; color: #0d6e4a; font-weight: 500; margin-bottom: 20px; display: none; }
.form-error { background: #fef2f2; border: 1px solid #f87171; border-radius: 16px; padding: 16px 20px; color: #c0392b; font-weight: 500; margin-bottom: 20px; display: none; }

/* ── 微信二维码 ── */
.wechat-qr {
    position: relative;
    display: inline-block;
    margin-top: 14px;
}
.wechat-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 8px 14px;
    color: #8aa5b5;
    font-size: 0.82rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.wechat-trigger:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.2);
    color: #c0d4e0;
}
.wechat-trigger i.fa-weixin {
    font-size: 1.15rem;
    color: #1dd1a1;
}
.wechat-trigger .wechat-arrow {
    font-size: 0.6rem;
    margin-left: 2px;
    transition: transform 0.25s ease;
    color: #5a7a89;
}
.wechat-trigger.active .wechat-arrow {
    transform: rotate(180deg);
}
.wechat-popup {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    background: #fff;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(0.96);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
    min-width: 140px;
}
.wechat-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.wechat-popup img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}
.wechat-popup span {
    font-size: 0.75rem;
    color: #5a7a89;
    font-weight: 500;
}
.wechat-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 32px;
    border: 7px solid transparent;
    border-top-color: #fff;
}

/* ── 联系我们弹窗 ── */
.contact-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.contact-modal-overlay.active {
    opacity: 1;
}
.contact-modal {
    background: #ffffff;
    border-radius: 24px;
    width: 92%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 36px 32px 28px;
    position: relative;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
    transform: translateY(30px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.contact-modal-overlay.active .contact-modal {
    transform: translateY(0) scale(1);
}
.contact-modal-close {
    position: absolute;
    top: 16px; right: 18px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #94a3b8;
    cursor: pointer;
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.contact-modal-close:hover {
    background: #f1f5f9;
    color: #1e293b;
}
.contact-modal-header {
    margin-bottom: 24px;
}
.contact-modal-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f2b3d;
    margin-bottom: 6px;
}
.contact-modal-header p {
    font-size: 0.9rem;
    color: #64748b;
}
.contact-modal-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.contact-modal-form .form-group {
    margin-bottom: 16px;
}
.contact-modal-form .form-group label {
    display: block;
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 6px;
    color: #374151;
}
.contact-modal-form .required {
    color: #ef4444;
}
.contact-modal-form .form-group input,
.contact-modal-form .form-group select,
.contact-modal-form .form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1.5px solid #dde8f0;
    font-size: 0.9rem;
    font-family: inherit;
    color: #1e293b;
    background: #fafcff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.contact-modal-form .form-group input:focus,
.contact-modal-form .form-group select:focus,
.contact-modal-form .form-group textarea:focus {
    border-color: #1e6b92;
    box-shadow: 0 0 0 3px rgba(30, 107, 146, 0.12);
    background: #fff;
}
.contact-modal-form .form-group textarea {
    resize: vertical;
    min-height: 80px;
}
.contact-modal-submit {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 0.95rem;
    margin-top: 4px;
}
@media (max-width: 600px) {
    .contact-modal {
        padding: 28px 20px 20px;
        border-radius: 20px;
    }
    .contact-modal-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

