* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: microsoft yahei ui, microsoft yahei, simsun, sans-serif;
    font-size: 1.25rem;
    /* 变量 */
    --body-content-width: 1500px;
    --navbar-background: rgba(255, 255, 255, 0.85);
    --main-background: rgba(255, 255, 255, 0.85);
    --navbar-height: 66px;
    --flex-section-padding: 8px;
    --price-main-color: rgb(255, 144, 0);
    --link-color: #666;
    --link-hover-color: #D53235;

    /* 让浏览器自动缩放 */
    min-width: var(--body-content-width);
}

.cleafix::before,
.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

.container {
    width: var(--body-content-width);
    margin: 0 auto;
    position: relative;
}

.flex-row {
    display: flex;
    justify-content: space-between;
}

/* region 导航栏 */
.top-nav {
    background: var(--navbar-background);
    position: fixed;
    z-index: 100;
    width: 100%;
    line-height: var(--navbar-height);
    font-size: 1.4em;
}

.top-nav>.container {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.top-nav>.container::before,
.top-nav>.container::after {
    display: none;
}

/* logo */
.top-nav h1 {
    margin: 0;
    padding: 0;
    height: var(--navbar-height);
}

.top-nav h1 a {
    display: inline-block;
    height: 100%;
}

.top-nav h1 img {
    height: 100%;
}

.top-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-nav ul li {
    position: relative;
    transition: all 0.3s;
    color: black;
    background: var(--navbar-background);
}

/* 第一行菜单不需要背景，用父元素的背景即可 */
.top-nav>div>ul>li {
    background: none;
}

.top-nav li>a {
    display: block;
    line-height: var(--navbar-height);
    padding: 0 15px;
    text-decoration: none;
    text-align: center;
    text-wrap: nowrap;
    color: inherit;
}

.top-nav li::after {
    content: '';
    position: absolute;
    bottom: 0;
    height: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    transition: all 0.3s;
}

.top-nav li:hover {
    color: red;
}

.top-nav li:hover::after {
    width: 100%;
    background-color: red;
}

.top-nav li.active {
    background-color: red;
    color: white;
    box-shadow: 0 0 10px #c1000d;
}

/* 子菜单 */
.top-nav li>ul {
    display: none;
    position: absolute;
    padding: 0;
    width: 100%;
}

.top-nav li:hover>ul {
    display: block;
}

/* 右边的联系电话 */
.top-nav .phone {
    color: red;
}

/* endregion */

/* banner */
.banner {
    padding-bottom: 50px;
}

.banner video {
    position: absolute;
    width: 100%;
    z-index: -1;
}

.banner .container {
    padding-top: 66px;
    padding-left: 30px;
}

.banner .container p {
    font-size: 3.4em;
    font-weight: bold;
    line-height: 1.4em;
    margin-top: 60px;
    margin-bottom: 0;
}

/* 立即咨询按钮 */
ul.tags {
    display: flex;
    justify-content: left;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 5px;
}

ul.tags>li {
    margin-right: 35px;
    padding: 5px 10px;
    border-radius: 20px;
    background: rgba(255, 178, 178, 0.75);
}

ul.tags>li>a {
    color: black;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.6rem;
}

/* endregion */

/* 主内容 */
.main {
    background: var(--main-background);
    border-radius: 30px;
    padding: 35px 25px 0;
}

.main>section {
    margin-bottom: 25px;
}

.grey-section {
    background: rgba(0, 0, 0, 0.1);
    padding: 30px 40px;
    border-radius: 25px;
}

/* 主营业务 */
#biz {
    gap: 20px;
    font-weight: bold;
    font-size: 1.05em;
    line-height: 2em;
}

#biz>section {
    flex: 1;
}

#biz h2 {
    margin: 0;
    margin-bottom: 25px;
    font-size: 1.4em;
    text-align: left;
}

#biz h2 span {
    font-size: 0.5em;
    font-weight: normal;
    margin-left: 20px;
    vertical-align: middle;
}

/* 技术服务 */
#biz table {
    margin: 0;
    margin-bottom: 15px;
    padding: 0;
    width: 100%;
}

/* 网络推广 */
#biz p {
    margin: 0;
}

/* 公司简介 */

#company {
    font-size: 1.2em;
}

#company .flex-row {
    gap: 40px;
}

#company .flex-row>div {
    flex: 1;
}

#company h2 {
    margin: 0;
    line-height: 1.2em;
    font-size: 2.2em;
    text-align: left;
}

#company p {
    margin-top: 10px;
    line-height: 1.8em;
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.1em;
}

/* 公司简介 */

/* 视频 */
.video-space {
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
}

.video-space a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
}

.video-space a div.cover {
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgba(0, 0, 0, .2);
    top: 0;
    z-index: 4;
    left: 0;
}

.video-space a .img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s;
}

.video-space a:hover .img-cover {
    transform: scale(1.15);
}

.video-space a span.play {
    display: block;
    width: 100px;
    height: 100px;
    background: url(../js/videoSpace/play.png) no-repeat center;
    position: absolute;
    z-index: 5;
    top: 50%;
    margin-top: -50px;
    margin-left: -50px;
    left: 50%;
}

.video-space a span.title {
    color: white;
    font-size: 0.8em;
    background: red;
    display: block;
    padding: 2px 10px;
    position: absolute;
    bottom: 0;
    width: 100%;
}

/* 网络推广服务定价 */
h2 {
    font-size: 3.5em;
    text-align: center;
}

#price h3 {
    font-size: 2em;
    margin-bottom: 25px;
}

#price>.price-package-list {
    gap: 30px;
    margin-bottom: 25px;
}

.price-package {
    border: 1px solid #bfbfbf;
    transition: all 0.3s;
    flex: 1;
}

.price-package:hover {
    border: 1px solid #FF6B00;
}

.price-package-header {
    height: 100px;
    padding: 24px 50px 0;
    background: url(../images/price-top.jpg) no-repeat center center/cover;
    font-weight: bold;
}

.price-package-header h4,
.price-package-header p {
    margin: 0;
}

.price-package-header p {
    margin-top: 7px;
}

.price-package-header img {
    vertical-align: middle;
}

.price-package>div {
    padding-left: 50px;
    padding-right: 50px;
}

.price-package-content dl {
    margin: 0;
    margin-top: 15px;
    line-height: 1.5em;
}

.price-package-content dl::after {
    content: '';
    display: block;
    border-bottom: 1px dotted #bfbfbf;
    margin-top: 15px;
    position: relative;
    width: 105%;
    left: -2%;
}

.price-package-content dl:last-child::after {
    display: none;
}

.price-package-content dt {
    font-weight: bold;
    font-style: italic;
}


.price-package-content dd {
    margin: 0;
    font-family: 'Times New Roman', Times, serif;
}

.price-package-footer {
    font-weight: bold;
    line-height: 1.5em;
}

.price-package-footer .price-package-footer-price {
    margin: 0;
    color: var(--price-main-color);
    font-size: 1.05em;
}

.price-package-footer .price-package-footer-price-renewal {
    font-size: 0.8em;
}

.price-btn-group {
    font-size: 0.85em;
}

.price-package-footer-a-coupon {
    color: white;
    background: var(--price-main-color);
    text-decoration: none;
    padding: 1px 3px;
}

.price-package-footer-a-submit {
    color: black;
    background: white;
    border: 1px solid var(--price-main-color);
    text-decoration: none;
    padding: 1px 3px;
}

.price-package-footer-comment {
    margin: 0;
    font-size: 0.85em;
}

/* SEO运营服务费 */
.price-table {
    border-collapse: collapse;
    width: 100%;
}

.price-table th,
.price-table td {
    border: 1px solid black;
    padding: 30px 20px;
}

.price-table thead th {
    text-align: center;
}

/* 网络推广适用行业 */

#biz-domain table {
    font-size: 1.3em;
    font-family: 'Times New Roman', Times, serif;
}

/* SEO案例欣赏 */
#case {
    position: relative;
    padding-bottom: 50px;
}

#case::after {
    content: '';
    display: block;
    position: absolute;
    background: rgb(230, 230, 230);
    height: 50%;
    width: 100%;
    bottom: 0;
    z-index: -1;
}

#case .flex-row {
    gap: 10px;
}

#case .flex-row>div {
    flex: 1;
}

#case .comment {
    margin: 30px 0;
    font-family: 'Times New Roman', Times, serif;
}

/* 合作保障 */
#ensurance>.flex-row {
    gap: 10px;
}

#ensurance>.flex-row>section {
    flex: 1;
}

#ensurance p {
    margin: 10px 0;
    line-height: 1.8em;
}

/* 品牌实力 */
#brand-ability h3 {
    font-size: 2.2em;
}

#brand-ability .flex-row {
    gap: 20px;
}

#brand-ability .flex-row>a {
    flex: 1;
    display: block;
    height: 100px;
    overflow: hidden;
    transition: all 0.3s;
}

#brand-ability .flex-row>a img {
    width: 100%;
    height: 100%;
    background: white;
    object-fit: contain;
}

#brand-ability .flex-row>a:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

/* 联系方式 */
#contact {
    color: var(--link-color);
}

#contact h2 {
    color: black;
}

#contact a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

#contact a:hover {
    color: #D53235;
}

#contact .flex-row {
    font-size: 1.2em;
}

/* 公司资讯 专家观点 行业资讯 */
.tabs>ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tabs>ul>li>a {
    color: #D53235;
    text-align: center;
    display: inline-block;
    margin-right: 20px;
    text-decoration: none;
    padding: 15px 25px;
}

#contact .tabs>ul>li>a:hover,
#contact .tabs>ul>li.active>a {
    background-color: #D53235;
    color: #fff;
    text-decoration: none;
}

.tab-content {
    line-height: 2em;
    display: none;
}

.tab-content.active {
    display: block;
}

.news-list {
    margin: 0;
    padding: 0;
    line-height: 2.35em;
}

.news-list>li a {
    display: inline-block;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
    max-width: 550px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.news-list>li a:hover {
    color: #D53235;
    text-decoration: underline;
}

.news-list>li {
    display: flex;
    justify-content: space-between;
    padding-left: 25px;
    background: url(../images/tabs_li.png) no-repeat left center;
}

.news-list>li>span {
    color: #666;
    display: inline-block;
    margin-left: 15px;
}

/* 页脚 */
footer {
    background-color: rgb(25, 23, 26);
    color: rgb(98, 95, 100);
    font-size: 0.9em;
}

footer p {
    margin: 0;
    line-height: 3em;
}

footer a {
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}

footer a:hover {
    color: #8b8b8b;
}
