/* ============================================================
   common.css — 亨得利国际全球钟表服务 · 公共样式
   适用路径: /assets/css/common.css
   三个语言版本 (zh-cn / zh-tw / en) 共用
   ============================================================ */

/* ===== 全局重置 & 基础 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none !important;
}

a:focus,
a:focus-visible,
a:active {
    outline: 0 !important;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

a::-moz-focus-inner {
    border: 0 !important;
    padding: 0 !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #1e1e2a;
    background-color: #fafbfc;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== 顶部语言栏 ===== */
.language-bar {
    background: #0b0b16;
    color: #b0b0c0;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.4px;
    border-bottom: 1px solid #28283a;
}

.language-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.language-bar a {
    color: #a0a0b8;
    text-decoration: none;
    padding: 6px 18px;
    border-radius: 30px;
    transition: all 0.2s;
    font-weight: 500;
    cursor: pointer;
    font-size: 14px;
}

.language-bar a:hover {
    color: #fff;
    background: rgba(201, 168, 76, 0.2);
}

.language-bar a.active {
    color: #fff;
    background: #c9a84c;
    box-shadow: 0 2px 12px rgba(201, 168, 76, 0.3);
}

.language-bar .divider {
    color: #3a3a4e;
    user-select: none;
    margin: 0 4px;
}

/* ===== 页眉导航 ===== */
.header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 30px;
    font-weight: 700;
    color: #0b0b16;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: #c9a84c;
    font-weight: 300;
    letter-spacing: 1px;
}

.logo i {
    color: #c9a84c;
    font-size: 28px;
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    gap: 48px;
    list-style: none;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.4px;
}

.nav-menu a {
    text-decoration: none;
    color: #1e1e2a;
    transition: color 0.2s;
    position: relative;
    cursor: pointer;
    padding: 4px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2.5px;
    background: #c9a84c;
    transition: width 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 4px;
}

.nav-menu a:hover {
    color: #c9a84c;
}

.nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px 4px;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2.5px;
    background: #1e1e2a;
    transition: 0.3s;
    border-radius: 4px;
}

/* ===== 主横幅（Hero） ===== */
.hero {
    background: linear-gradient(145deg, #0f0f1e 0%, #1a1a30 100%);
    color: #fff;
    padding: 120px 0 90px;
    margin-bottom: 70px;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid #c9a84c;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.07) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero h1 {
    font-size: 4.2rem;
    font-weight: 600;
    letter-spacing: 5px;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero h1 i {
    color: #c9a84c;
    font-style: normal;
    font-weight: 300;
}

.hero .sub-desc {
    font-size: 1.5rem;
    opacity: 0.8;
    max-width: 760px;
    margin: 0 auto 40px;
    font-weight: 300;
    letter-spacing: 1.5px;
}

.hero-phone {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 22px 52px;
    border-radius: 80px;
    margin-top: 12px;
    transition: all 0.35s;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.hero-phone:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #c9a84c;
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(201, 168, 76, 0.18);
}

.hero-phone .phone-icon {
    font-size: 2.2rem;
    color: #c9a84c;
}

.hero-phone .phone-number {
    font-size: 2.2rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 2px;
    text-decoration: none;
    transition: color 0.2s;
}

.hero-phone .phone-number:hover {
    color: #c9a84c;
}

.hero-phone .phone-label {
    font-size: 0.95rem;
    opacity: 0.65;
    font-weight: 400;
    letter-spacing: 0.6px;
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

/* ===== 通用标题 ===== */
.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 600;
    color: #0b0b16;
    margin: 80px 0 44px;
    position: relative;
    letter-spacing: 1.5px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #c9a84c, #e6d08a);
    margin: 20px auto 0;
    border-radius: 4px;
}

.section-sub {
    text-align: center;
    color: #6b6b7a;
    font-size: 1.2rem;
    margin-top: -24px;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 1px;
}

/* ===== 核心业务 ===== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    margin: 40px 0 20px;
}

.service-card {
    background: #ffffff;
    padding: 44px 28px 36px;
    border-radius: 28px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.03);
    text-align: center;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid #f0f0f5;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.07);
    border-color: #c9a84c;
}

.service-card .service-icon {
    font-size: 3.4rem;
    display: block;
    margin-bottom: 20px;
    color: #c9a84c;
}

.service-card h3 {
    color: #0b0b16;
    margin-bottom: 12px;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.service-card p {
    color: #5e5e6e;
    font-size: 1rem;
    line-height: 1.8;
}

/* ===== 服务流程 ===== */
.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px 48px;
    margin: 40px 0 20px;
    counter-reset: step;
}

.step-item {
    flex: 1 1 220px;
    text-align: center;
    padding: 36px 24px;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.02);
    position: relative;
    counter-increment: step;
    transition: all 0.3s;
    border: 1px solid #f0f0f5;
}

.step-item:hover {
    transform: translateY(-6px);
    border-color: #c9a84c;
}

.step-item::before {
    content: counter(step);
    display: block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c9a84c, #dbb86a);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.25);
}

.step-item h4 {
    color: #0b0b16;
    margin-bottom: 10px;
    font-size: 1.25rem;
    font-weight: 600;
}

.step-item p {
    color: #6b6b7a;
    font-size: 1rem;
    line-height: 1.7;
}

/* ===== 预约方式 ===== */
.booking-section {
    background: #fff;
    padding: 64px 56px;
    border-radius: 32px;
    box-shadow: 0 8px 36px rgba(0, 0, 0, 0.02);
    margin: 50px 0 30px;
    border: 1px solid #f0f0f5;
}

.booking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 48px;
    margin-top: 28px;
}

.booking-method {
    text-align: center;
    padding: 20px 12px;
}

.booking-method .method-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 18px;
    color: #c9a84c;
}

.booking-method h4 {
    color: #0b0b16;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.booking-method p {
    color: #5e5e6e;
    font-size: 1rem;
}

.booking-method .highlight {
    color: #c9a84c;
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    margin-top: 8px;
}

/* ===== 关于区域 ===== */
.about-section {
    background: #fff;
    padding: 64px 56px;
    border-radius: 32px;
    box-shadow: 0 8px 36px rgba(0, 0, 0, 0.02);
    margin: 50px 0 30px;
    text-align: center;
    border: 1px solid #f0f0f5;
}

.about-section p {
    max-width: 820px;
    margin: 0 auto 22px;
    color: #3d3d4a;
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.9;
}

.about-section .about-tagline {
    font-size: 1.1rem;
    color: #c9a84c;
    font-weight: 500;
    letter-spacing: 2.5px;
    margin-top: 16px;
}

/* ===== 页脚 ===== */
.footer {
    background: #0b0b16;
    color: #b0b0c0;
    padding: 56px 0 44px;
    margin-top: 70px;
    border-top: 3px solid #c9a84c;
}

.footer .container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #b0b0c0;
    text-decoration: none;
    transition: color 0.2s;
    cursor: pointer;
    font-size: 15px;
    letter-spacing: 0.4px;
}

.footer-links a:hover {
    color: #c9a84c;
}

.copyright {
    opacity: 0.6;
    font-size: 14px;
    letter-spacing: 0.6px;
}

/* ===== Font Awesome 电话图标镜像修复 ===== */
.fa-phone-alt:before,
.fa-phone-flip:before {
    content: "\f879";
    display: inline-block !important;
    transform: scaleX(-1) !important;
}

/* ============================================================
   响应式设计
   ============================================================ */

/* 平板 (≤ 992px) */
@media (max-width: 992px) {
    .container {
        padding: 0 28px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .hero {
        padding: 90px 0 70px;
    }
}

/* 手机横屏 / 小平板 (≤ 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
	.phone-icon-bot{display:none!important;}
	.fa-phone-alt-bot{font-size: 1rem!important;}

    .hero {
        padding: 70px 0 56px;
        margin-bottom: 50px;
    }

    .hero h1 {
        font-size: 2.4rem;
        letter-spacing: 2px;
    }

    .hero .sub-desc {
        font-size: 1.05rem;
        padding: 0 6px;
        margin-bottom: 30px;
    }

    .hero-phone {
        padding: 16px 28px;
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
        border-radius: 60px;
    }

    .hero-phone .phone-number {
        font-size: 1.6rem;
    }

    .hero-phone .phone-label {
        border-left: none;
        padding-left: 0;
        width: 100%;
        text-align: center;
        opacity: 0.7;
        font-size: 0.85rem;
    }

    /* 导航菜单切换 */
    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 28px 0 16px;
        border-top: 1px solid #eaeaef;
        margin-top: 18px;
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .language-bar .container {
        justify-content: center;
        flex-wrap: wrap;
        gap: 4px;
    }

    .header .container {
        flex-wrap: wrap;
    }

    .logo {
        flex: 1;
        font-size: 24px;
    }

    .logo i {
        font-size: 22px;
    }

    .section-title {
        font-size: 2rem;
        margin: 56px 0 32px;
    }

    .section-title::after {
        width: 60px;
        margin-top: 14px;
    }

    .section-sub {
        font-size: 1rem;
        margin-top: -16px;
        margin-bottom: 28px;
    }

    .booking-section,
    .about-section {
        padding: 36px 24px;
        border-radius: 24px;
        margin: 30px 0 20px;
    }

    .steps {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .step-item {
        width: 100%;
        max-width: 380px;
        padding: 28px 20px;
    }

    .service-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 28px 16px 24px;
        border-radius: 20px;
    }

    .service-card .service-icon {
        font-size: 2.6rem;
        margin-bottom: 14px;
    }

    .service-card h3 {
        font-size: 1.15rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .booking-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer {
        padding: 40px 0 30px;
        margin-top: 50px;
    }

    .footer-links {
        gap: 28px;
    }
}

/* 手机竖屏 (≤ 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero h1 {
        font-size: 1.9rem;
        letter-spacing: 1px;
    }

    .hero .sub-desc {
        font-size: 0.95rem;
    }

    .hero-phone {
        padding: 14px 18px;
        gap: 10px;
        border-radius: 40px;
    }

    .hero-phone .phone-number {
        font-size: 1.3rem;
    }

    .hero-phone .phone-icon {
        font-size: 1.4rem;
    }

    .hero-phone .phone-label {
        font-size: 0.75rem;
    }

    .service-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .service-card {
        padding: 20px 12px 16px;
    }

    .service-card .service-icon {
        font-size: 2rem;
    }

    .service-card h3 {
        font-size: 1rem;
    }

    .service-card p {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .section-title {
        font-size: 1.7rem;
        margin: 40px 0 24px;
    }

    .section-sub {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .step-item::before {
        width: 48px;
        height: 48px;
        line-height: 48px;
        font-size: 1.2rem;
    }

    .step-item h4 {
        font-size: 1.05rem;
    }

    .step-item p {
        font-size: 0.9rem;
    }

    .booking-section,
    .about-section {
        padding: 28px 16px;
    }

    .about-section p {
        font-size: 1rem;
    }

    .about-section .about-tagline {
        font-size: 0.95rem;
    }

    .language-bar a {
        padding: 4px 12px;
        font-size: 12px;
    }

    .language-bar .divider {
        margin: 0 2px;
    }

    .footer-links {
        gap: 20px;
    }

    .footer-links a {
        font-size: 13px;
    }
	.phone-icon-bot{display:none!important;}
	.phone-number-bot{font-size: 1rem!important;}
}
.phone-number-bot{color:#c9a84c!important;}
.hero-phone-bot{margin:60px!important;    background: rgba(255, 255, 255, 0.12);
    border-color: #c9a84c;
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(201, 168, 76, 0.18);}