@charset "utf-8";
*, *::before, *::after {margin:0; padding:0; box-sizing: border-box;}
body {background-color:#FFFFFF; position:relative;}
ul { list-style:none;}
:root { 
  --background-color: #ffffff; 
  --default-color: #4f4f4f; 
  --heading-color: #036dda; 
  --accent-color: #F45600; 
  --surface-color: #ffffff; 
  --contrast-color: #ff0000; 
  --light-color: #EBEBFF; 
  --light-accent: #FFF6EE;
}

h1 {font-size:32px;color:var(--heading-color);line-height:1.5;}
h2 {font-size:30px;color:var(--heading-color);line-height:1.5;}
h3 {font-size:24px;color:var(--heading-color);line-height:1.5;}
h4 {font-size:20px;color:var(--heading-color);line-height:1.5;}
h5 {font-size:18px;color:var(--surface-color);line-height:1.5;}
p {font-size:15px;line-height:1.8;padding-bottom: 5px;}
@media (max-width:992px){
h1 {font-size:24px;}
h2 {font-size:24px;}
h3 {font-size:20px;}
h4 {font-size:16px;}
h5 {font-size:16px;}
p {font-size:15px;}
}
.note{padding:0 5px; color: var(--accent-color); font-weight: 600}
a {text-decoration: none;}
a.list:link { color:var(--default-color); }
a.more_a:link {color: var(--surface-color);}
a:link {color: var(--heading-color);}
a.more_a:visited {color: var(--surface-color);}
a:visited{color: var(--heading-color);}
a:hover, a:active, a.list:hover, a.more_a:hover{color: var(--accent-color);}

.section {width: 100%; padding: 20px 0;scroll-margin-top: 46px;}
.section-title {
  text-align: center;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 30px auto 10px;
  padding-bottom: 10px;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 100px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.container{--bs-gutter-x:1.5rem;--bs-gutter-y:0;width:100%;padding-right:calc(var(--bs-gutter-x)*.5);padding-left:calc(var(--bs-gutter-x)*.5);margin-right:auto;margin-left:auto}
@media (min-width:576px){.container{max-width:540px}}
@media (min-width:768px){.container{max-width:720px}}
@media (min-width:992px){.container{max-width:960px}}
@media (min-width:1200px){.container{max-width:1140px}}
@media (min-width:1400px){.container{max-width:1440px}}

.light-bg {background-color:#EBEBFF;}
.dark-bg{background-color:#FCFCFC;}
.white-bg{background-color:#FFFFFF;}
.color-bg{background: linear-gradient(135deg, #036dda 0%, #555FF1 55%, #7aa5ff 100%); color: var(--surface-color);}
.heading-bg{background-color:var(--heading-color); color: var(--surface-color);}
.heading-bg a,.heading-bg a:visited{color: var(--surface-color);}
.box-shadow {box-shadow: 2px 2px 10px rgba(0,0,0,0.2);}
.border-radius{border-radius: 15px;}


table {border: 2px solid var(--light-color);margin:0px auto 10px auto;border-spacing:2px;}
caption {display:table-caption;text-align:center;vertical-align:middle;font-size:15px;font-weight:600;padding-bottom:5px;}
table th {display:table-cell;font-size:15px;text-align:center;vertical-align:middle;background-color:var(--light-color);border: 1px solid var(--light-color);padding:3px;}
table td {display:table-cell;font-size:14px;text-align:left;vertical-align:middle;background-color:var(--light-accent);border: 1px solid var(--light-color);padding:10px 15px;}

.header {display: flex;align-items: center;gap: 20px;flex-wrap: nowrap;padding: 12px 15px;margin: 0 auto;}
.header-logo{height: 90px;width: 90px; display:block; background:url("../images/logo.webp") no-repeat center / contain;border-radius: 50%;box-shadow: 2px 2px 10px rgba(0,0,0,0.5); flex-shrink: 0;}
.header-logo:hover{background-image:url("../images/alvin.webp");}
.header-name {text-align: left;}
@media (max-width: 768px) {.header {gap: 10px;padding: 12px 5px}}

.nav {
	position: sticky;
  top: 0; 
  width: 100%;
  background-color: var(--heading-color);
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
  z-index: 999;
}
.nav.fixed {
  position: fixed;
  top: 0;
  left: 0;
}
.nav ul {
  list-style: none;
  margin: 0;
  padding: 3px;
  display: flex;
  justify-content: center;
	gap:3px;
}

.nav li {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	flex: 1;
	max-width: 200px;
	height: 40px;
	border-radius: 8px;
	transition: transform 0.3s ease;
}

.nav li a {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 20px;
	font-weight: bold;
	text-decoration: none;
	color: var(--surface-color);
	text-shadow: 1px 1px 1px rgba(0,0,0,0.8);
	transition: opacity 0.2s ease;
}

.nav li:hover a {
  color: var(--accent-color);
}

.nav li.active a {
  color: var(--heading-color);
	text-shadow: 1px 1px 1px rgba(255,255,255,0.8);
}
.nav li.active {
  background-color: var(--surface-color);
	transform: scale(0.9);
}

@media (max-width: 768px) {
	.nav li {
		height: 50px;
	}
  .nav li a {
    font-size: 16px;
    white-space: pre-wrap;
    line-height: 1.4;
  }
}

.content_title{
	display: flex;
	flex-wrap: wrap;
	width:100%;
	gap:20px;
	margin-bottom: 15px;
}
.as{align-items: stretch}
.ac{align-items: center;}
.jc{justify-content: center}
.tc{text-align: center;}
.sticky{position:sticky; top: 80px;}
.big{width: 100%; padding: 10px 30px;}
.mid{width: calc((100% - 20px) / 2); padding: 20px 10px;}
.small{width: 100%; padding: 10px 25px;}
@media (max-width:992px){.big, .mid{width: 100%;margin: auto 0;padding: 10px;}}
.big img,.mid img { display: block; width: 100%; height: auto;}
.stats {
	display: flex;
	align-items: center;
	justify-content:space-evenly;
	margin: 0 auto;
	padding: 15px 0;
	width: 100%;
}
.stats-item {
  align-items: center;
  text-align: center;
}
.stats-num {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.1;
}
@media (max-width:768px){.stats-num {font-size: 16px;}}
.stats-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--accent-color);
  line-height: 1.2;
  margin-top:8px;
}
.tag {
  display: flex;
  align-items: center;
  gap: 15px;
}
.tag img {
	width: 70px;
	height: 70px;
	object-fit: cover;
	border-radius: 50%;
}
.tag img.weixin {
	width: 100px;
	height: 100px;
	border-radius: 0;
}
.tag .tag-p {
  display: flex;
  text-align:left;
  flex-direction: column; 
}
.view {
	display: inline-block;
	align-items: center;
	background-color: var(--heading-color);
	color: var(--surface-color);
	border-radius: 10px;
	padding: 10px 15px;
	margin: 0 5px;
	box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}
.view:hover {
	background-color: var(--accent-color);
}

/* ========== 套餐卡片 ========== */
.pkg-card {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(31, 35, 82, .10);
  display: flex;
	height: 100%;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.pkg-card:hover { transform: translateY(-6px); box-shadow: 0 32px 70px rgba(31, 35, 82, .16);}

/* 卡片头部渐变 */
.pkg-head {
  position: relative;
  padding: 25px 28px 5px;
  background: linear-gradient(135deg, #036dda 0%, #555FF1 55%, #7aa5ff 100%);
  color: #fff;
}
.pkg-badge {
  display: inline-block;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.5);
  font-size: 14px; font-weight: 600;
  padding: 2px 12px; border-radius: 20px;
  white-space: nowrap;
}
.pkg-head h3 { color: var(--surface-color);  font-weight: 700; letter-spacing: 1px; display: flex; align-items: center; gap: 10px; }
.pkg-head .intro { margin-top: 5px; font-size: 13px; line-height: 1.7; opacity: .92; }

/* 课程清单 */
.pkg-body { padding: 10px 28px; flex: 1; }
.pkg-list { list-style: none; }
.pkg-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 0;
  border-bottom: 1px dashed #ece9f8;
  font-size: 14.5px; color: #343a66;
}
.pkg-list li:last-child { border-bottom: none; }
.pkg-list .ico {
  flex: 0 0 22px; width: 22px; height: 22px;
  border-radius: 50%;
  background: #efeaff; color: var(--accent-color);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.pkg-list .txt { flex: 1; color:var(--default-color);}
.pkg-list .dur {
  flex: 0 0 auto;
  font-size: 12px; color: var(--heading-color);
  background: var(--light-color);
  padding: 3px 10px; border-radius: 20px;
  font-weight: 600;
  white-space: nowrap;
}

/* 自购说明提示框 */
.pkg-note {
  margin: 0 28px;
  padding: 5px 14px;
  background: #fff7e8;
  border-left: 4px solid #ffb03a;
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--contrast-color);
  line-height: 1.7;
}

/* 价格 + CTA */
.pkg-foot {
  padding: 10px 28px;
	text-align: center;
}
.price {
  display: block;
  margin: 10px auto;
  padding: 10px;
  border: none; cursor: pointer;
  width: 50%;
  font-size: 16px; font-weight: 700; letter-spacing: 4px;
  color: var(--surface-color);
  background: linear-gradient(135deg, #6c5ce7, #7aa5ff);
  border-radius: 40px;
  transition: opacity .2s, transform .2s;
  text-decoration: none;
}
.price .num {
  font-size: 20px; font-weight: 800;
  font-family: "Times New Roman";
}
.price:hover { opacity: .9; transform: translateY(-2px); }

.carousel-wrapper {
    position: relative;
    overflow: hidden;
	padding-bottom: 20px;
	border: solid 2px color-mix(in srgb, var(--default-color), transparent 80%);
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-images img {
	display: block;
    width: 100%;
	height: auto;
    position: relative;
}
.carousel-item {
	position: relative;
	flex: 0 0 100%; 
	width: 100%;
	overflow: hidden;
}
.carousel-images .text-1,
.carousel-images .text-4{
	position: absolute;
	text-align: center;
	font-size: 18px;
	font-weight: 500;
	color: var(--surface-color);
	background-color:color-mix(in srgb, var(--heading-color), transparent 30%);
	padding: 3px 20px;
	border-radius: 10px;
}
@media (max-width: 768px) {
.carousel-images .text-1,
.carousel-images .text-4{
	font-size: 0.8rem;
  }
}
.carousel-images .text-1{
	bottom: 2%;
	left: 50%;
	transform: translateX(-50%);
	max-width: 90%;
	white-space: nowrap;
}
.carousel-images .text-4 {
	top: 47%;
	left: 11%;
}
.carousel-buttons {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 10px;
}

.carousel-button {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--heading-color);
    cursor: pointer;
}

.carousel-button.active{
    background-color:var(--accent-color);
}

.prev-button, .next-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
	border-radius: 50%;
    background-color: color-mix(in srgb, var(--default-color), transparent 60%);
    color: white;
	font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.prev-button {left: 1%;}
.next-button {right: 1%;}
.prev-button:hover, .next-button:hover{
    background-color:color-mix(in srgb, var(--accent-color), transparent 50%);
}

.title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 40px;
	background-color: var(--heading-color);
}
.title h2{
	padding-left: 20px;
	font-weight: 600;
}
.more_a{
	font-size: 16px;
	line-height: 36px;
	margin-right: 5px;	
}
.news-item {
	width: 100%;
	padding: 20px 30px;
	margin-top: 15px;
	border-radius: 15px;
	transition: transform 0.2s ease;
}
.news-item:hover {
  transform: translateY(-3px);
}
.news-date {
  font-size: 13px;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 10px;
}

.content_bottle{
	width: 100%;
	margin: 0px auto;
	padding:15px 0;
	display: flex;
    flex-wrap: wrap;
	align-items: stretch;
}
.pro-list{
	display: flex;
	flex-direction: column;
	align-items: center;
	width:calc(100%/8);
	height: auto;
	box-sizing: border-box;
	transition: all 0.3s;
	margin-bottom: 10px;
}
@media(max-width:992px){
	.pro-list{
		width:calc(100%/5);
	}
}
@media(max-width:768px){
	.pro-list{
	width:calc(100%/4);
	}
}
.pro-list a{
	width:100%;
}
.img-box{
	display: flex;	
	width: 80px;
	aspect-ratio: 1 / 1;
	box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
	border-radius: 20px;
	margin: 10px auto;
	justify-content: center;
	align-items: center;
	background: linear-gradient(135deg, #036dda 0%, #555FF1 55%, #7aa5ff 100%); 
	transition: transform 0.3s ease;
}
.pro-list:hover .img-box{
	transform: scale(1.1);
}
.img-box h2{
	text-align: center;
	color: var(--surface-color);
	font-size: 18px;
}
.pro-list p{
	width:80%;
	text-align: center;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	margin: 0 auto;
}

.filter-bar {
  margin-bottom:10px;
  display:flex;
  gap:10px;
  flex-wrap:nowrap;
	justify-content:center;
}
.filter-btn {
  padding:8px 18px;
  border:1px solid var(--heading-color);
  background:var(--surface-color);
  color:var(--heading-color);
  border-radius:6px;
	box-shadow: 1px 1px 5px rgba(0,0,0,0.2);
  cursor:pointer;
  font-size:16px;
	font-weight: 500;
}
.filter-btn.active {
  background:var(--accent-color);
  color:var(--surface-color);
	border:1px solid var(--accent-color);
}
@media(max-width:768px){.filter-btn {padding:8px 15px;font-size:14px;}}
.pro-list.hide-item{
  display:none;
}
.content{
	display: flex;
	width:100%;
	margin-top: 10px;
	gap:15px;
}

.content_left {
	flex: 0 0 20%;
	box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.content_right{
	flex: 1;
	box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}


@media (max-width: 1199.9px) {
  .content_left {
    display: none;
  }
}

.content_left ul{
	width: 100%;
	padding:10px;
	margin:0;
	display: flex;
	flex-direction: column;
	row-gap: 10px;
	list-style: none;
}
.content_left ul li {
	margin: 0;
	padding: 0;
}
.content_left ul li h3{
	width: 100%;
	padding: 5px 10px 0;
	font-size: 15px;
	font-weight: 800;
	color: var(--default-color);
	margin:0;
	margin-block-start:0;
	margin-block-end:0;
}
.content_left ul li.small{
	display: flex;
	width: 100%;
	align-items: center;
	font-size: 14px;
	font-weight: 500;
	background: var(--light-color);
	box-sizing: border-box;
}
.content_left ul li.small a.list{
	flex: 1;
	display: block;
	padding: 8px 10px;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}
.content_left .ps{
	width: 90%;
	margin: 0 auto;
	font-size: 15px;
	font-weight: 400;
	text-align: center;
}
.content_left img{
	display: block;
	width: 90%;
	height: auto;
	margin: 10px auto 20px;
}

img.small {
	display: block;
	width: 100%;
	height: auto;
	max-width: 500px;
	padding:5px;
	margin: 0 auto;
	border-radius: 20px;
}
.form {
	width: 100%;
	padding: 5px;
	margin: 0 auto;
	display: flex;
	gap:15px;
	flex-direction: column;
	align-items: center;
	border-radius: 8px;
}
.form .input{
	font-size: 16px; 
	width: 100%;
}

.form input {
	width: 100%;
	height: 38px;
	padding: 0 8px;
	border: 1px solid #ccc;
}
.form textarea {
	font-size: 16px; 
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #ccc;
}

.form input[type="submit"] {
	width: 120px;
	height: 40px;
	font-weight: 600;
	font-size:18px;
	border-radius: 4px;
	background-color: var(--heading-color);
	color: #fff;
	border:0px solid #787878;
	cursor: pointer;
}
.form input[type="submit"]:hover {opacity: 0.9; background-color: var(--accent-color);}
.form input[type="submit"]:active {transform: scale(0.98);}

.float-form-container {
    position: fixed; 
    right: 15px; 
    bottom: 100px;
    z-index: 9997; 
}
.toggle-form-btn {
    padding: 12px;
    background-color:color-mix(in srgb, var(--accent-color), transparent 20%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
	font-weight: 600;
    width: 100%;
}
.toggle-form-btn:hover, 
.toggle-form-btn:active {
	transform: scale(1.02);
	background-color: var(--accent-color);
}
.form-wrapper {
    display: none; 
	width: 90%;
	padding: 20px;
    max-width: 500px;
	box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
	border-radius: 15px;
	background-color: var(--light-accent);
}

.whatsapp-float {
    position: fixed;
    bottom: 180px;
    right: 15px;
    z-index: 9998;
}
.whatsapp{
	display: flex;
	align-items: center;
	text-align: left;
	gap: 8px;
	padding: 5px 0;
	cursor: pointer;
}
img.app{
	display: block;
	width:40px;
	height: 40px;
	border-radius: 8px;
}
.app-box{
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	align-items: center;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	padding: 10px 5px;
	gap: 8px;
	background-color: rgba(255, 255, 255, 0.6);
}
.app-box p{
	font-size: 13px;
	line-height: 1.2;
	text-align: center;
}
.whatsapp:hover img,
.app-box:hover img{
    transform: scale(1.3);
}
.whatsapp:hover,
.app-box:hover {
    color: var(--accent-color);
}
#backToTop {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 40px;
    height: 40px;
    background: var(--heading-color);
    color: #fff;
    border-radius: 15%; 
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    cursor: pointer;
    display: none;
    z-index: 9999; 
    transition: transform 0.3s ease;
}

#backToTop:hover {
    background: var(--accent-color); 
    transform: scale(1.1); 
}
.footer {
	margin-bottom:0;
	padding: 20px;
	width: 100%;
	background-color:#252525;
}
.footer .foot{
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
}
.footer .foot .foot-list {
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	width: 50%;
	padding:10px 25px;
	gap:5px;
}
@media (max-width: 768px) {
  .footer .foot .foot-list {
    width: 100%;
  }
}
.foot .foot-list p{
	width: 100%;
	font-family: "Times New Roman", Times, serif;
	line-height: 1;
	font-size: 15px;
	color: var(--surface-color);
}
.footer .foot-list a{
	text-decoration: none;
	color: var(--surface-color);
}
.footer .foot-list a:hover{
	color: var(--accent-color);
}
.disation{width:100%;margin:0px auto;padding:0 10px 10px;}
.product {display: flex;flex-wrap: wrap;width: 100%;box-sizing: border-box;margin:0;padding-bottom:20px;gap:0 50px;align-items: flex-start;}
.box-left{flex:0 0 40%;max-width: 500px;}
.box-right{flex: 1;display: flex;flex-direction: column;gap:10px;}
@media(max-width:768px){.box-left,.box-right {flex:0 0 100%;}}

.tb-booth {position: relative;width: 100%;padding-top: 100%;box-shadow: 2px 2px 5px rgba(0,0,0,0.3);background-color:black;}
.main-img, .main-video{position: absolute;top: 0;left: 0;width: 100%;height: 100%;object-fit: contain;object-position: center;display: block;}
.tb-thumb {display: flex;flex-wrap: nowrap;overflow-x: auto;margin-top: 10px;padding: 2px 0; list-style: none;}
.tb-thumb li {display: inline-block;width: 15%;min-width: 60px;margin-right: 5px;border: 2px solid transparent;cursor: pointer;flex-shrink: 0;box-shadow: 1px 1px 5px rgba(0,0,0,0.2);}
.tb-thumb li img{display: block;width: 100%;height: auto; vertical-align: top;}
.tb-thumb li.tb-selected {border-color:var(--accent-color);}

.img-zoom{
    cursor: zoom-in;
}
.zoom-mask{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.85);
    z-index:99999;
    display:none;
    align-items:center;
    justify-content:center;
    padding:15px;
    box-sizing:border-box;
    cursor:zoom-out;
}
.zoom-mask img{
    max-width:100%;
    max-height:100%;
}
.tip-toast{
    position:fixed;
    left:50%;
    top:40%;
    transform:translate(-50%,-50%);
    background:rgba(0,0,0,0.75);
    color:#fff;
    padding:12px 24px;
    border-radius:6px;
    z-index:9999;
    display:none;
}
.up{transition: transform .25s ease;}
.up:hover { transform: translateY(-6px); box-shadow: 0 10px 40px rgba(31, 35, 82, .16);}
.fd{transition: transform .25s ease;}
.fd:hover { transform: scale(1.2);}

/* ========== 联系表单 AJAX 提交提示（contact_us / contact-float 共用）========== */
.form-msg {
    display: none;
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
}
.form-msg.msg-success {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}
.form-msg.msg-error {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}