

/* TEMPLATE 1 — 1 HÌNH LỚN (rất hợp TRUST / pháp lý)

👉 Dùng cho:

giấy phép

mặt tiền

phòng khám

thiết bị lớn

HTML:

<figure class="oreli-image">
    <img 
        src="LINK-ANH.jpg"
        alt="Mô tả ảnh chuẩn SEO"
        loading="lazy"
        width="1600"
        height="900"
    >
    <figcaption>
        Mô tả ngắn giúp khách hàng hiểu rõ hơn về hình ảnh.
    </figcaption>
</figure>

*/


/* TEMPLATE 2 — GRID 2 hoặc 4 HÌNH (template bạn NÊN dùng nhiều)

👉 Dùng cho:

văn bằng

before/after

cơ sở vật chất

đội ngũ

HTML:
<div class="oreli-grid">

    <figure>
        <a class="oreli-lightbox" href=""><img src="" alt="Mô tả ảnh" loading="lazy"></a>
        <figcaption>Mô tả ảnh.</figcaption>
    </figure>

    <figure>
        <a class="oreli-lightbox" href=""><img src="" alt="Mô tả ảnh" loading="lazy"></a>
        <figcaption>Mô tả ảnh.</figcaption>
    </figure>

</div>


/* =====================================================
   ORELI COMPONENTS CSS
   Clean Architecture – Ready To Scale
===================================================== */


/* =====================================================
   BASE
===================================================== */


figure{
    margin-top:10px;
    
}
@media(max-width:768px) {

    figure {
        padding-bottom: 16px;
    }

}

img{
    max-width:100%;
    height:auto;
    display:block;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin: 40px 0 20px;
    color: #b51b75;
}

.lead-text {
    font-size: 18px;
    line-height: 1.8;
}

.highlight {
    color: #b51b75;
    font-weight: 600;
}

.faq-box {
    background: #f6f7f9;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
}

.oreli-internal-box {
    background: #f8f9fb;
    border: 1px solid #e6e8ec;
    border-radius: 14px;
    padding: 20px 24px;
    margin: 30px 0;
}

.oreli-internal-box a {
    display: block;
    text-decoration: none;
    color: #f99e1c;
    
    font-weight: 500;
    margin-bottom: 8px;
    transition: .2s ease;
}

.oreli-internal-box a:hover {
    color: #8e145c;
    padding-left: 4px;
}

.oreli-internal-box a::before {
    content: "›";
    margin-right: 8px;
}
/* Premium Caption dùng toàn site */


figcaption {
    margin: 18px auto 0;
    padding: 12px 18px;
max-width: 780px;
    font-size: 14px;
    line-height: 1.7;
    letter-spacing: .3px;
    color: #4b3c66;

    background: #f4f1f9;
    //border: 1px solid #e6e8eb;
    border: 1px solid #e9edf2;
    border-radius: 8px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, .04);
    text-align: center;
    position: relative;
}

figcaption::before{
    content:"";
    position:absolute;
    top:0;
    left:50%;
    transform:translateX(-50%);
    width:42px;
    height:2px;
    background:linear-gradient(90deg,#c9a96e,#f2e6c9,#c9a96e);
}

@media(max-width:768px) {

    figcaption {
        width: 90%;
        max-width: 420px;
        /* tránh caption quá dài trên màn lớn */
        margin: 14px auto 0;
    }

}


/* =====================================================
   LAYOUT UTILITIES
===================================================== */




/* FULL BLEED — dùng cho ảnh tràn viền */


.oreli-bleed {
    width: 100dvw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.oreli-hero-image figcaption {
    max-width: 1200px;
    margin: 24px auto 0;
    text-align: center;
}
/* Containers */

.container-xl{
    max-width:1200px;
    margin:auto;
}

.container-lg{
    max-width:1100px;
    margin:auto;
}

.container-md{
    max-width:900px;
    margin:auto;
}

/* Section spacing */

.oreli-section{
    margin:120px 0;
}

.section.page-content-first{
    padding-left:0 !important;
    padding-right:0 !important;
}


/* =====================================================
   HERO / FULL IMAGE
===================================================== */

.oreli-hero-image{
    margin:0px;
    margin-left: calc(50% - 50vm) !important;
    width: 100vw;
    max-width: 100vw;
}

.oreli-hero-image img{
    width:100%;
}


/* =====================================================
   IMAGE GRID
===================================================== */


.oreli-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
gap:28px;
margin-top:20px;
}

.oreli-grid figure{
background:#fff;
padding:18px;
border-radius:16px;
box-shadow:0 6px 20px rgba(0,0,0,.05);
margin:0;
}

.oreli-lightbox-link{
display:block;
}

.oreli-lightbox-link img{
width:100%;
height:auto;
display:block;
border-radius:12px;
}
/* FIX gallery images */


/* GRID */

.oreli-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
gap:28px;
margin-top:20px;
}

/* CARD */

.oreli-grid figure{
background:#fff;
padding:18px;
border-radius:16px;
box-shadow:0 6px 20px rgba(0,0,0,.05);
margin:0;
}

/* LINK */

.oreli-lightbox-link{
display:block;
}

/* IMAGE */

.oreli-lightbox-link img{
width:100%;
height:auto;
display:block;
border-radius:12px;
}

/* CAPTION */

.oreli-grid figcaption{
margin-top:16px;
}

/* MOBILE */

@media(max-width:768px){

.oreli-grid{
grid-template-columns:1fr;
gap:18px;
}

}




.oreli-grid img{
display:block !important;
width:100%;
height:auto;
}



.oreli-grid figure img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
	
    /* bo nhẹ, đừng quá tròn */
}

.oreli-grid figure a{
display:block;
width:100%;
}


/* figure rộng tối đa */
.oreli-grid figure {
    padding: 14px;
    background: #fff;
    padding: 18px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .05);
	
margin:0;
}

/* mobile tối ưu */
@media(max-width:768px) {

    .oreli-grid {
        grid-template-columns: 1fr;
        gap: 18px;
                margin-left: -16px;
                    margin-right: -16px;
                    padding-left: 16px;
                    padding-right: 16px;
        /* giảm gap để nhìn dày hơn */
    }

    .oreli-grid figure {
        padding: 0px;
        border-radius: 14px;
    }

    .oreli-grid figure img {
        border-radius: 10px;
    }

}

.oreli-grid-doctor {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.oreli-grid-doctor img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* MOBILE */
@media(max-width:768px) {

    .oreli-grid-doctor {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

}

/* =====================================================
   LIGHTBOX
===================================================== */

.oreli-overlay{
position:fixed;
inset:0;
background:rgba(0,0,0,.75);

display:none;   /* QUAN TRỌNG */

align-items:center;
justify-content:center;

z-index:9999;
cursor:zoom-out;
}

.oreli-overlay.active{
display:flex;
}

.oreli-overlay img{
max-width:90vw;
max-height:90vh;
border-radius:12px;
}


@keyframes oreliZoom{
    from{
        transform:scale(.92);
        opacity:.6;
    }
    to{
        transform:scale(1);
        opacity:1;
    }
}


/* =====================================================
   BUTTON SYSTEM
===================================================== */
.oreli-btn-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 32px 0;
    gap: 10px;
}

.oreli-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;

    padding:10px 28px;
    border-radius:999px;
    font-weight:600;

    border:2px solid #b51b75;
    color:#b51b75;
    background:transparent;

    transition:.25s ease;
     white-space: nowrap;
}
.oreli-btn:hover {
    background: #b51b75;
    color: #fff;
}

.oreli-btn .arrow {
    display: inline-flex;
    align-items: center;
    transition: .25s;
    color: #b51b75;
}

.oreli-btn .arrow::after {
    content: "→";
    font-size: 16px;
}

.oreli-btn:hover .arrow {
    transform: translateX(4px);
    color: #fff;
}

.oreli-btn:hover .arrow {
    transform: translateX(4px);
    color: #fff;
}

@media(max-width:768px) {
    .oreli-btn {
        padding: 10px 18px;
        font-size: 14px;
    }
}



/* Primary Call Button */

.oreli-call{
    background:#b51b75;
    color:#fff;
    border:none;

    height:48px;
    padding:0 26px;

    box-shadow:0 8px 20px rgba(181,27,117,.25);
}

.oreli-call:hover{
    background:#8e145c;
}

.oreli-btn-center{
    display:flex;
    justify-content:center;
    margin:32px 0;
}


/* =====================================================
   STAT BAR
===================================================== */

.oreli-stat{
    padding:0 24px;
}

.oreli-stat-wrap{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:28px;

    padding:48px 36px;
    border-radius:24px;
    background:#faf7fb;
}

.oreli-stat-item{
    text-align:center;
}

.oreli-stat-number{
    font-size:42px;
    font-weight:700;
    color:#b51b75;
    letter-spacing:1px;
}

.oreli-stat-label{
    margin-top:8px;
    font-size:15px;
    color:#555;
}

@media(max-width:1024px){
    .oreli-stat-wrap{
        grid-template-columns:repeat(2,1fr);
        gap:36px;
    }
}

@media(max-width:768px){
    .oreli-stat-wrap{
        grid-template-columns:1fr;
        padding:36px 24px;
    }
}

/* =====================================================
   BRAND STORY
===================================================== */


/* =====================================================
   TRUST LOGO STRIP
===================================================== */

.oreli-trust{
    margin:45px 0;
}

.oreli-trust-inner{
    max-width:1100px;
    margin:auto;
    text-align:center;
}

.oreli-trust-label{
    font-size:14px;
    letter-spacing:1.5px;
    text-transform:uppercase;
    color:#888;
    margin-bottom:32px;
}

.oreli-trust-logos{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:40px;
    align-items:center;
}

.oreli-trust-item img{
    width:100%;
    max-height:160px;
    object-fit:contain;

    filter:grayscale(100%);
    opacity:.75;
    transition:.3s;
}

.oreli-trust-item img:hover{
    filter:none;
    opacity:1;
}

/* Mobile → luôn sáng */
@media(max-width:768px){

    .oreli-trust-logos{
        grid-template-columns:repeat(2,1fr);
        gap:26px;
    }

    .oreli-trust-item img{
        filter:none;
        opacity:1;
    }

}

/* Touch effect */

.oreli-trust-item img:active{
    transform:scale(1.05);
}


/* =====================================================
   TIMELINE
===================================================== */

.oreli-timeline{
    margin:35px 0;
}

.oreli-timeline-inner{
    max-width:1100px;
    margin:auto;
    text-align:center;
}

.oreli-section-title{
    font-size:32px;
    margin-bottom: 50px;
}

.oreli-timeline-line{
    width:100%;
    height:1px;
    background:#eee;
    margin:50px 0;
}

.oreli-timeline-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:40px;
}

.oreli-timeline-item{
    position:relative;
    padding-top:20px;
}

.oreli-timeline-item::before{
    content:"";
    position:absolute;
    top:-10px;
    left:50%;
    transform:translateX(-50%);
    width:12px;
    height:12px;
    background:#b51b75;
    border-radius:50%;
}

.year{
    font-size:28px;
    font-weight:700;
    color:#b51b75;
    margin-bottom:10px;
}

.oreli-timeline-item p{
    font-size:15px;
    color:#666;
    line-height:1.6;
}

@media(max-width:768px){

    .oreli-timeline-grid{
        grid-template-columns:1fr;
        gap:50px;
    }

    .oreli-timeline-line{
        display:none;
    }

}


/* =====================================================
   TEAM BLOCK
===================================================== */

.oreli-team{
    margin:35px 0;
    text-align:center;
}

.oreli-team-inner{
    max-width:900px;
    margin:auto;
}

.oreli-team-sub{
    color:#666;
    font-size:17px;
    margin-bottom:50px;
    text-align: left;
}


.oreli-team-photo img{
    width:100%;
}


/* =====================================================
   DIRECTOR
===================================================== */

.oreli-director{
    margin:50px auto;
    max-width:1200px;
}

.oreli-director-grid {
    display: grid;
    grid-template-columns: 520px 1fr;
    /* tăng mạnh */
    gap: 80px;
    align-items: center;
}

.oreli-director img{
    border-radius:18px;
}

@media(max-width:768px){
    .oreli-director-grid{
        grid-template-columns:1fr;
        gap: 28px;
    }
}
@media(max-width:768px) {

    .oreli-director {
        margin: 60px auto;
       
    }

}

/* =====================================================
   WHY SECTION
===================================================== */

.oreli-why{
    max-width:1100px;
    margin:50px auto;
    text-align:center;
}

.oreli-why-grid{
    margin-top:40px;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:36px;
}

.oreli-why h2 {
    color: #b51b75;

}

@media(max-width:768px){
    .oreli-why-grid{
        grid-template-columns:1fr;
    }
}

/* =====================================================
   VISION SECTION
===================================================== */

.oreli-vision p{
    text-align: justify;
}
.oreli-vision h2 {
    color: #b51b75;
    text-align: center;

}

/* =====================================================
   FINAL CTA
===================================================== */

.oreli-final-cta{
    text-align:center;
    padding:40px 20px;
}
/* =============================
   ZALO FLOAT PREMIUM
============================= */

.oreli-zalo-float {
    position: fixed;
  right: 23px;
  bottom: 170px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  //border-radius: 50%;
  //box-shadow: 0 10px 25px rgba(0,0,0,.2);
}

.oreli-zalo-float a {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 56px;
}

/* icon */

.oreli-zalo-float img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  //box-shadow: 0 10px 25px rgba(0,0,0,.18);
  //background: #fff;
}

/* pulse animation */

.zalo-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0,136,255,.25);
  animation: oreliZaloPulse 2s infinite;
  z-index: -1;
}

@keyframes oreliZaloPulse {
  0% {
    transform: scale(.9);
    opacity: .8;
  }
  70% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* mobile safe */

@media (max-width: 768px) {
  .oreli-zalo-float {
    bottom: 90px;
    left: 18px;
  }
}