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

:root {
    --black: #000000;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
}

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

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    min-height: 80px;
    gap: 20px;
}

.logo-container {
    flex: 0 0 auto;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
}

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

#logo {
    height: 40px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hotline-today {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
    padding: 0 15px;
}

.hotline-text {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 12px 28px;
    background: var(--black);
    color: var(--white);
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    animation: hotlinePulse 3s infinite alternate;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    text-align: center;
}

@keyframes hotlinePulse {
    0% { box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
    100% { box-shadow: 0 4px 30px rgba(0,0,0,0.25); }
}

.menu-container {
    position: relative;
    flex: 0 0 auto;
}

.menu-button-icon {
    background: transparent;
    border: 2px solid var(--black);
    color: var(--black);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    font-size: 20px;
    text-decoration: none;
}

.menu-button-icon:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
    transition: left 0.7s;
}

.menu-button-icon:hover:before { left: 100%; }

.menu-button-icon:hover {
    background: var(--black);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
}

footer {
    background: var(--gray-50);
    padding: 60px 0 30px;
    border-top: 1px solid var(--gray-200);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.company-card {
    background: var(--white);
    padding: 30px;
    border-radius: 18px;
    border: 1px solid var(--gray-200);
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.company-card h3,
.footer-about h3 {
    font-size: clamp(22px, 3vw, 26px);
    font-weight: 900;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.company-card h3:after,
.footer-about h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--black);
    border-radius: 2px;
}

.company-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.company-info div {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--gray-700);
    font-size: 15px;
    line-height: 1.5;
}

.company-info i {
    width: 18px;
    color: var(--black);
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-about p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--gray-300);
    color: var(--gray-500);
    font-size: 14px;
}

@media (min-width: 768px) {
    .hf-container { padding: 0 32px; }
    .header-content { padding: 18px 0; }
    .hotline-text { font-size: 22px; padding: 14px 32px; }
    #logo { height: 45px; }
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
}

@media (min-width: 992px) {
    .hf-container { padding: 0 40px; }
    .header-content { padding: 20px 0; }
    .hotline-text { font-size: 24px; padding: 16px 36px; }
    #logo { height: 50px; }
}

@media (max-width: 767px) {
    .header-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        min-height: 70px;
        padding: 12px 0;
    }

    .logo-container { order: 1; flex: 0 0 auto; }
    #logo { height: 42px; }

    .hotline-today {
        order: 2;
        flex: 1;
        display: flex;
        justify-content: center;
        min-width: 0;
        padding: 0 10px;
    }

    .hotline-text {
        font-size: 16px;
        padding: 10px 20px;
        width: 100%;
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .menu-container { order: 3; flex: 0 0 auto; }

    .menu-button-icon {
        display: flex;
        width: 46px;
        height: 46px;
        border: 2px solid var(--black);
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        background: transparent;
        color: var(--black);
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .menu-button-icon:hover {
        background: var(--black);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: 0 6px 25px rgba(0,0,0,0.2);
    }

    .footer-content { gap: 30px; }
    .company-card { padding: 25px; }
    footer { padding: 50px 0 25px; }
}

@media (max-width: 480px) {
    .hf-container { padding: 0 16px; }
    .hotline-text { font-size: 14px; padding: 8px 16px; }
    #logo { height: 38px; }
    .menu-button-icon { width: 42px; height: 42px; font-size: 18px; }
    .company-card { padding: 22px; }
  }
