/* Company and production photography: edge-to-edge, original images retained. */
#aboutus, #production, #acquisition, #acquisition2 { scroll-margin-top: 90px; }
body.site-modern #aboutus.company-fullwidth,
body.site-modern .patient-reviews.production-fullwidth {
    padding: 0 !important;
    margin: 0 !important;
    position: relative;
    background: #eef7f1 !important;
}
body.site-modern #aboutus.company-fullwidth > .container,
body.site-modern .patient-reviews.production-fullwidth > .container {
    width: 100% !important;
    max-width: none !important;
    padding: 0;
}
body.site-modern #aboutus.company-fullwidth .container > .row,
body.site-modern .patient-reviews.production-fullwidth .container > .row {
    display: grid;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    min-height: 0;
    overflow: hidden;
}
body.site-modern #aboutus.company-fullwidth .container > .row {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}
body.site-modern .patient-reviews.production-fullwidth .container > .row {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
}
body.site-modern #aboutus.company-fullwidth .container > .row > *,
body.site-modern .patient-reviews.production-fullwidth .container > .row > * {
    min-width: 0;
    width: auto !important;
    max-width: none !important;
    padding: 0;
}
body.site-modern #aboutus.company-fullwidth .company-media,
body.site-modern .patient-reviews.production-fullwidth .production-media {
    position: relative;
    min-height: clamp(560px, 43vw, 880px);
    background: #234c40;
    overflow: hidden;
}
body.site-modern #aboutus.company-fullwidth .company-media::before,
body.site-modern #aboutus.company-fullwidth .company-media::after,
body.site-modern .patient-reviews.production-fullwidth::before,
body.site-modern .patient-reviews.production-fullwidth::after {
    content: none !important;
}
.company-photo, .production-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 1.2s ease;
}
.company-fullwidth .photo-caption,
.production-fullwidth .photo-caption {
    position: absolute;
    left: clamp(24px, 4vw, 80px);
    bottom: 36px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 14px;
    color: #fff;
    background: rgba(13, 51, 41, .82);
    backdrop-filter: blur(10px);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.5;
}
.photo-caption-en {
    display: block;
    font: 500 .65rem/1.5 'Poppins', sans-serif;
    letter-spacing: .15em;
    color: #c5efc1;
    margin-top: 4px;
}
.photo-dot {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #c1e76b;
    box-shadow: 0 0 0 7px rgba(193,231,107,.15);
    animation: companyPulse 3s ease-in-out infinite;
}
body.site-modern #aboutus.company-fullwidth .about-overview {
    padding: clamp(36px, 4.4vw, 100px) !important;
    background: linear-gradient(135deg, #fff 45%, #f2f8e7) !important;
}
body.site-modern #aboutus.company-fullwidth .about-title {
    font-size: clamp(2.4rem, 3.2vw, 4rem);
    line-height: 1.2;
}
body.site-modern #aboutus.company-fullwidth .about-lead,
body.site-modern #aboutus.company-fullwidth .about-copy {
    font-size: clamp(1rem, 1.1vw, 1.18rem);
    line-height: 1.9;
}
body.site-modern #aboutus.company-fullwidth .about-metrics {
    margin-left: 0;
    margin-right: 0;
}
body.site-modern #aboutus.company-fullwidth .about-metrics > div:nth-child(2) .counter {
    background: #eef5db;
}
body.site-modern #aboutus.company-fullwidth .about-certificates img {
    height: clamp(145px, 10vw, 220px);
    object-fit: contain;
}
body.site-modern .patient-reviews.production-fullwidth .section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    height: 100%;
    min-height: 0;
    padding: clamp(36px, 4.8vw, 100px) !important;
    background: #e9f3dc !important;
    position: relative;
}
.production-kicker {
    color: #387345;
    font: 700 .75rem/1.6 'Poppins', sans-serif;
    letter-spacing: .14em;
    margin: 0 0 20px;
}
body.site-modern .patient-reviews.production-fullwidth #production-title {
    color: #194b39;
    font-size: clamp(2rem, 2.6vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.4;
    margin: 0 0 24px;
}
.production-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 30px;
}
.production-tags span {
    padding: 7px 15px;
    border-radius: 30px;
    border: 1px solid #c4d7b0;
    color: #335d41;
    background: rgba(255,255,255,.5);
    font-size: .83rem;
}
body.site-modern .patient-reviews.production-fullwidth .owl-carousel {
    min-width: 0;
    max-width: 100%;
    width: 100%;
}
body.site-modern .patient-reviews.production-fullwidth .owl-stage-outer .owl-item {
    padding: 0;
}
body.site-modern .patient-reviews.production-fullwidth .owl-item > div {
    min-height: 200px;
    padding: 0;
    text-align: left !important;
    align-content: start;
    justify-content: flex-start !important;
}
body.site-modern .patient-reviews.production-fullwidth .review-quotes {
    text-align: left !important;
    margin: 0 0 18px;
}
body.site-modern .patient-reviews.production-fullwidth .review-quotes i {
    color: #4d9866 !important;
}
body.site-modern .patient-reviews.production-fullwidth .lead {
    width: 100%;
    font-size: clamp(1rem, 1.15vw, 1.25rem) !important;
    line-height: 1.9;
    color: #355447 !important;
}
body.site-modern .patient-reviews.production-fullwidth .review-signature {
    font-size: .8rem;
    line-height: 1.5;
    letter-spacing: .16em;
}
body.site-modern .patient-reviews.production-fullwidth .owl-nav {
    position: static;
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    width: auto;
    margin: 12px 0 0;
    transform: none;
}
body.site-modern .patient-reviews.production-fullwidth .owl-nav button {
    position: static;
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    margin: 0 !important;
    inset: auto !important;
    transform: none !important;
    width: 44px;
    height: 44px;
    border: 1px solid #adc69b !important;
    background: #fff !important;
}
body.site-modern .patient-reviews.production-fullwidth .owl-next::before { content: '\f061' !important; }
body.site-modern .patient-reviews.production-fullwidth .owl-dots {
    text-align: left;
    margin-top: 16px !important;
}
body.site-modern .patient-reviews.production-fullwidth .owl-dot span { background: #bad0ad !important; }
body.site-modern .patient-reviews.production-fullwidth .owl-dot.active span { background: #238660 !important; }
body.site-modern .patient-reviews.production-fullwidth button:focus-visible {
    outline: 3px solid #238660;
    outline-offset: 4px;
}
/* Visible arrows independent of the missing Bootstrap Icons font. */
body.site-modern #acquisition .flow-arrow::before,
body.site-modern #acquisition2 .flow-arrow::before {
    content: '\2193';
    font: 400 28px/1 Arial, sans-serif !important;
    display: block;
    transform: none;
}
body.site-modern #acquisition .flow-box:hover,
body.site-modern #acquisition2 .flow-box:hover { transform: none; }
body.site-modern #acquisition2 .branch-item { position: relative; }
body.site-modern #acquisition2 .branch-container {
    max-width: 600px;
    padding-top: 26px;
    margin-top: 0;
    --bs-gutter-y: 0;
}
body.site-modern #acquisition2 .branch-container::before {
    left: 25%;
    width: 50%;
    transform: none;
}
body.site-modern #acquisition2 .branch-item::before { top: -26px; height: 26px; }
@keyframes companyPulse {
    50% { box-shadow: 0 0 0 12px rgba(193,231,107,0); }
}
@media (hover: hover) and (pointer: fine) {
    .company-media:hover .company-photo, .production-media:hover .production-photo { transform: scale(1.035); }
    .production-tags span { transition: transform .25s, background .25s; }
    .production-tags span:hover { transform: translateY(-3px); background: #d7ebaf; }
}
@media (max-width: 1100px) {
    body.site-modern #aboutus.company-fullwidth .container > .row,
    body.site-modern .patient-reviews.production-fullwidth .container > .row { grid-template-columns: minmax(0, 1fr); }
    body.site-modern #aboutus.company-fullwidth .company-media,
    body.site-modern .patient-reviews.production-fullwidth .production-media { min-height: 0; aspect-ratio: 4/3; }
    body.site-modern .patient-reviews.production-fullwidth .production-media { grid-row: 1; aspect-ratio: 16/10; }
    body.site-modern #aboutus.company-fullwidth .about-overview,
    body.site-modern .patient-reviews.production-fullwidth .section { padding: 40px clamp(24px, 6vw, 64px) !important; }
    body.site-modern .patient-reviews.production-fullwidth .owl-item > div { min-height: 185px; }
}
@media (max-width: 575px) {
    body.site-modern #aboutus.company-fullwidth .about-certificates img { height: 155px; }
    .company-fullwidth .photo-caption, .production-fullwidth .photo-caption {
        bottom: 18px; left: 18px; padding: 12px 16px; font-size: .95rem;
    }
    .photo-caption-en { font-size: .55rem; letter-spacing: .1em; }
    body.site-modern #acquisition .flowchart-container,
    body.site-modern #acquisition2 .flowchart-container { padding: 28px 12px !important; }
    body.site-modern #acquisition .flow-box { min-width: 0; width: 58%; padding: 16px 8px; }
    body.site-modern #acquisition2 .branch-item .flow-box { min-width: 0; width: 100%; padding: 16px 4px; }
    body.site-modern #acquisition2 .branch-container { --bs-gutter-x: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .photo-dot { animation: none; }
    .company-photo, .production-photo { transition: none; }
}

/* The factory photo is already darkened; keep the extra green tint light. */
body.site-modern #services::before {
    background: linear-gradient(135deg, rgba(17, 52, 43, .18), rgba(25, 81, 63, .08));
}
body.site-modern #services .text-color-light {
    text-shadow: 0 2px 6px rgba(0, 0, 0, .45);
}
/* Give the direction heading enough line height for wrapped Chinese text. */
body.site-modern .our-blog > .container > .row:first-child > .col > p:first-child {
    line-height: 1.6;
    margin-bottom: 12px !important;
}
body.site-modern .our-blog .direction-title {
    line-height: 1.5;
    margin: 0 auto 24px !important;
    letter-spacing: 0;
}
body.site-modern .our-blog > .container > .row:first-child > .col > p:last-child {
    max-width: 900px;
    margin: 0 auto 36px !important;
    font-size: 16px;
    line-height: 2;
}
@media (max-width: 767px) {
    body.site-modern .our-blog > .container { padding-left: 24px; padding-right: 24px; }
    body.site-modern .our-blog > .container > .row:first-child .direction-title { font-size: clamp(21px, 5.7vw, 28px); }
    body.site-modern .our-blog .direction-title span { display: block; }
    body.site-modern .our-blog > .container > .row:first-child > .col > p:last-child { text-align: left !important; }
}
/* Keep square service icons square: the demo's 20px image padding squashed them. */
body.site-modern .custom-cards .cards-container .card .card-body img {
    display: block;
    width: 70px;
    height: 70px;
    padding: 0;
    object-fit: contain;
    flex-shrink: 0;
}
@media (max-width: 767px) {
    body.site-modern .custom-cards .cards-container .card .card-body {
        padding: 24px 12px;
    }
    body.site-modern .custom-cards .cards-container .card .card-body img {
        width: 56px;
        height: 56px;
    }
}
/* 2026-10-08: equal-height product cards and restrained home carousel. */
body.site-modern #products .product-grid { align-items: stretch; row-gap: 24px; margin-top: 32px; }
body.site-modern #products > .container > .row:first-child p { line-height: 1.6; margin-bottom: 8px !important; }
body.site-modern #products > .container > .row:first-child h3 { line-height: 1.35; }
body.site-modern #products .product-grid > div { display: flex; margin-bottom: 0 !important; }
body.site-modern #products article { display: flex; width: 100%; min-width: 0; }
body.site-modern #products article .card { width: 100%; height: auto; }
body.site-modern #products article .card-body.p-4 { height: auto; display: flex; flex-direction: column; }
body.site-modern #products article .card-body.p-0 { flex: 1 1 auto; }
body.site-modern #products article .card-img-top { display: block; height: auto; aspect-ratio: 4 / 3; }
body.site-modern #products article .card-text { line-height: 1.9; overflow-wrap: anywhere; margin-bottom: 0 !important; }
body.site-modern .home-hero .background-image-wrapper { animation: none !important; transform: none !important; }
body.site-modern .home-hero .background-image-wrapper::after { background: linear-gradient(90deg, rgba(12,35,28,.72), rgba(12,35,28,.25) 65%, rgba(12,35,28,.08)); }
body.site-modern .home-hero .hero-title { max-width: 760px; font-size: clamp(2.2rem, 3.6vw, 3.6rem); line-height: 1.35; letter-spacing: .01em; }
body.site-modern .home-hero .hero-description { max-width: 580px; font-size: clamp(1rem, 1.35vw, 1.15rem); line-height: 1.9; }
body.site-modern .home-hero .hero-slide-light .background-image-wrapper::after { background: linear-gradient(90deg, rgba(255,255,255,.63), rgba(255,255,255,.12) 65%, transparent); }
body.site-modern .home-hero .hero-slide-light .hero-title,
body.site-modern .home-hero .hero-slide-light .hero-description { color: #163f30 !important; text-shadow: none; }
body.site-modern .home-hero .hero-slide-light .home-hero-kicker { color: #28573c; }
body.site-modern .home-hero .hero-slide-light .btn-outline-light { color: #163f30; border-color: #28573c; background: rgba(255,255,255,.55); }
body.site-modern .home-hero .hero-slide-light .btn-outline-light:hover { background: #fff; }
body.site-modern .home-hero .shape-divider { pointer-events: none; }
body.site-modern .home-hero .owl-dots { position: absolute; bottom: 150px !important; top: auto !important; width: 100%; opacity: 1 !important; margin: 0 !important; z-index: 5; }
body.site-modern .home-hero .owl-dot { width: 36px; height: 36px; border: 0; background: transparent; }
body.site-modern .home-hero .owl-dot span { display: block; margin: auto; width: 10px; height: 10px; background: #fff !important; border: 1px solid #28573c; }
body.site-modern .home-hero .owl-dot.active span { background: #238660 !important; }
.hero-controls { position: absolute; bottom: 100px; left: 50%; transform: translateX(-50%); z-index: 6; display: flex; gap: 8px; }
.hero-controls button { min-width: 44px; height: 40px; padding: 0 14px; border: 1px solid rgba(35,134,96,.25); border-radius: 22px; background: rgba(255,255,255,.94); color: #194b39; font-size: 15px; cursor: pointer; }
.hero-controls button:hover { background: #e9f3dc; }
.hero-controls button:focus-visible, .home-hero .owl-dot:focus-visible { outline: 3px solid #238660; outline-offset: 3px; }
@media (max-width: 767px) {
    body.site-modern .home-hero .owl-carousel > .owl-dots { height: auto !important; bottom: 110px !important; }
    body.site-modern .home-hero .hero-title { font-size: clamp(1.8rem, 6.8vw, 2.6rem); }
    body.site-modern .home-hero .home-hero-copy { padding-bottom: 100px !important; }
    body.site-modern .home-hero .hero-slide-light .background-image-wrapper::after { background: rgba(255,255,255,.68); }
    body.site-modern .home-hero .hero-slide-light .background-image-wrapper { background-position: 78% center !important; }
    .hero-controls { bottom: 64px; }
}
