/* Style cho trang Về Seryn */

.unset-height {
    height: auto !important;
}

h2.section-title {
    font-weight: 500;
}

/* ==========================================================================
   Section: Giới thiệu (Intro)
   ========================================================================== */
.about-seryn-intro {
    padding: 40px 0;
    background-color: #fff;
}

.about-seryn-intro .section-title.coral {
    color: #ff7866;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 800;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.2;
    margin-bottom: 25px;
    text-align: center;
}

.about-seryn-intro .intro-content {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.about-seryn-intro .intro-content p {
    font-size: 17px;
    line-height: 1.4;
    color: #4a4a4a;
    margin-bottom: 20px;
    font-weight: 400;
}

.about-seryn-intro .intro-principles {
    margin-top: 0;
    font-style: italic;
}

.about-seryn-intro .intro-principles strong {
    display: block;
    margin-top: 0;
    font-size: 19px;
    color: #2d2318;
    font-weight: 700;
    font-style: normal;
}

/* ==========================================================================
   Section: Tầm nhìn & Sứ mệnh (Zigzag 2 cột)
   ========================================================================== */
.about-content-row {
    padding: 0px 0;
    background-color: #fff;
}

.about-content-row:nth-of-type(even) {
    background-color: #fdfdfd;
    margin-top: 20px;
}

.about-content-row .row-inner {
    display: flex;
    align-items: center;
    gap: 0;
}

.about-content-row .content-col,
.about-content-row .image-col {
    flex: 1;
    width: 50%;
}

.about-content-row .image-col img {
    width: 100%;
    height: auto;
    border-radius: 0;
    transition: transform 0.4s ease;
}

.about-content-row .image-col img:hover {
    transform: translateY(-5px);
}

.about-content-row .section-title.left {
    text-align: left;
    margin-bottom: 5px;
    padding: 0px 25px 0px 100px;
}

.about-content-row .section-title.right {
    text-align: left;
    margin-bottom: 5px;
    padding: 0px 100px 0px 25px;
}

.vision-seryn p {
    padding: 0px 25px 0px 100px;
}

.mission-seryn p {
    padding: 0px 130px 0px 25px;
}

.about-content-row .content-col p {
    font-size: 17px;
    line-height: 1.4;
    color: #555;
    margin-bottom: 0;
    text-align: justify;
}

/* ==========================================================================
   Section: Giá trị cốt lõi (Core Values)
   ========================================================================== */
.core-values-seryn {
    padding: 30px 0;
    background-color: #fff;
    overflow: hidden;
}

.core-values-seryn .section-title.dark {
    color: #2d2318;
    margin-bottom: 20px;
    font-weight: 600;
    margin-top: 30px;
}

.core-value-card {
    background: #fff;
    padding: 20px 15px;
    border-radius: 40px;
    text-align: center;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(244, 165, 122, 0.1);
    box-shadow: 0 15px 45px rgba(244, 165, 122, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.core-value-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(244, 165, 122, 0.15);
    background: linear-gradient(180deg, #fff 0%, #fef8f4 100%);
}

.core-value-card .icon {
    width: 160px;
    height: 160px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-value-card .icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.core-value-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2d2318;
    margin-bottom: 15px;
    line-height: 1.4;
    min-height: 56px;
    display: flex;
    align-items: center;
}

.core-value-card p {
    font-size: 1.5rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
    text-align: justify;
}

@media (min-width: 1024px) {
    .core-values-swiper {
        overflow: visible;
    }
    .core-values-swiper .swiper-wrapper {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
        transform: none !important;
        width: 100% !important;
    }
    .core-values-swiper .swiper-slide {
        width: auto !important;
        height: auto !important;
    }
}

/* ==========================================================================
   Section: Hệ thống chuyên khoa (Specialized System)
   ========================================================================== */
.seryn-system {
    padding: 0px 0 0;
    background-color: #fff;
}

.seryn-system .section-title {
    margin-bottom: 30px;
    color: #ff7866;
    margin-top: 30px;
}

.system-row .row-inner {
    display: flex;
    align-items: stretch;
}

.system-row .image-col,
.system-row .content-col {
    flex: 1;
    width: 50%;
}

.system-row .image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.system-row .content-col {
    display: flex;
    align-items: center;
}

.system-row .content-col.bg-dark {
    background-color: #1a2a4c;
    color: #fff;
}

.system-row .content-col.bg-coral {
    background-color: #ff7866;
    color: #fff;
}

.system-row .content-box {
    max-width: 540px;
    width: 100%;
    padding-left: 30px;
}

.system-row .content-box:nth-child(odd) {
    padding-right: 30px;
}

.system-row .content-box.text-left {
    margin-right: auto;
    text-align: left;
}

.system-row .content-box.text-right {
    margin-left: auto;
    text-align: right;
}

.system-row .content-box h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 0;
    color: #fff;
    letter-spacing: 0;
}

.system-row .content-box .chief {
    font-size: 17px;
    font-style: italic;
    margin-bottom: 0;
    opacity: 0.95;
    font-weight: 300;
}

.system-row .content-box hr {
    width: 60px;
    border: none;
    height: 2px;
    background-color: rgba(255,255,255,0.4);
    margin: 10px 0;
}

.system-row .content-box.text-right hr {
    margin-left: auto;
}

.system-row .content-box .desc {
    font-size: 19px;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.5;
    font-style: italic;
}

.system-row .content-box .detail {
    font-size: 15.5px;
    line-height: 1.7;
    opacity: 0.9;
    text-align: justify;
}

.system-row .content-box.text-right .detail {
    text-align-last: right;
}

/* ==========================================================================
   CONSOLIDATED MEDIA QUERIES
   ========================================================================== */

/* Tablet & Smaller (1200px) */
@media (max-width: 1200px) {
    .system-row .content-col {
        padding: 60px 40px;
    }
    .system-row .content-box h3 {
        font-size: 26px;
    }
}

/* Tablet (1024px) */
@media (max-width: 1024px) {
    .about-seryn-intro .intro-content {
        max-width: 90%;
    }
    .about-content-row .row-inner {
        gap: 40px;
    }
}

/* Mobile Swiper (1023px) */
@media (max-width: 1023px) {
    .core-values-seryn {
        padding: 30px 0;
    }
    .core-values-swiper {
        padding: 20px 0 50px;
        overflow: visible;
    }
    .core-value-card {
        padding: 35px 25px;
        border-radius: 30px;
    }
    .core-value-card .icon {
        width: 130px;
        height: 130px;
        margin-bottom: 20px;
    }
    .core-value-card h3 {
        font-size: 17px;
        min-height: auto;
    }
    .core-value-card p {
        font-size: 14px;
    }
    .core-values-seryn .swiper-pagination {
        bottom: 0;
    }
    .core-values-seryn .swiper-pagination-bullet-active {
        background: #ff7866;
    }
}

/* Smartphone (768px) */
@media (max-width: 768px) {
    /* Intro */
    .about-seryn-intro {
        padding: 20px 0;
    }
    .about-seryn-intro .section-title.coral {
        font-size: 28px;
        margin-bottom: 10px;
    }
    .about-seryn-intro .intro-content p {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    .about-seryn-intro .intro-principles strong {
        font-size: 16px;
    }

    /* Vision & Mission - Tối ưu Responsive */
    .about-content-row {
        padding: 20px 0;
    }
    .about-content-row .row-inner {
        flex-direction: column !important;
        gap: 20px;
    }
    .about-content-row .content-col,
    .about-content-row .image-col {
        width: 100%;
    }
    .about-content-row .section-title.left,
    .about-content-row .section-title.right {
        text-align: center;
        padding: 0 15px; /* Reset desktop padding */
        font-size: 24px;
    }
    .vision-seryn p,
    .mission-seryn p,
    .about-content-row .content-col p {
        text-align: center !important;
        padding: 0 15px !important; /* Reset desktop padding */
        font-size: 15px;
        text-align-last: center !important;
    }
    .vision-seryn .row-inner {
        flex-direction: column-reverse !important; /* Ảnh trên, chữ dưới */
    }

    /* Specialized System */
    .system-row .row-inner {
        flex-direction: column !important;
    }
    .system-row .image-col,
    .system-row .content-col {
        width: 100%;
    }
    .system-row .content-col {
        padding: 20px 10px;
    }
    .system-row .content-box {
        max-width: 100%;
        text-align: center !important;
        padding: 0;
    }
    .system-row .content-box hr {
        margin: 20px auto !important;
    }
    .system-row .content-box .detail {
        text-align: center !important;
        text-align-last: center !important;
    }
    .system-row.reversed .row-inner {
        flex-direction: column-reverse !important;
    }
}
