/* Y Sĩ Thiện Tâm – site additions on top of the original theme. Palette: theme teal #18a096, gold #d2a138. */
:root { --tt-main: #18a096; --tt-dark: #0f6f68; --tt-gold: #d2a138; --tt-bg: #f6faf9; }

/* Text logo */
.site-logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1.1; text-decoration: none !important; }
.site-logo-name { font-family: "Times New Roman", Georgia, serif; font-weight: 700; font-size: 28px; letter-spacing: 1px; color: var(--tt-main); text-transform: uppercase; white-space: nowrap; }
.site-logo-slogan { margin-top: 4px; padding-top: 3px; border-top: 1px solid var(--tt-gold); font-size: 11px; letter-spacing: 3px; color: var(--tt-gold); white-space: nowrap; }
.evo-header-mobile .site-logo-name, .drawer-header .site-logo-name { font-size: 20px; }
.evo-header-mobile .site-logo-slogan, .drawer-header .site-logo-slogan { font-size: 9px; letter-spacing: 2px; }
.evo-header-mobile .evo-flexitem a i { font-size: 22px; color: var(--tt-main); }

/* Slider */
.home-slider .item a.slide-link { position: relative; display: block; }
.home-slider .item img { width: 100%; height: 600px; object-fit: cover; }
.slide-caption { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 20px; color: #fff; background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,.15)); }
.slide-caption strong { font-family: "Times New Roman", Georgia, serif; font-size: 52px; line-height: 1.15; text-transform: uppercase; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.slide-caption span { font-size: 20px; margin-top: 10px; max-width: 760px; }
.slide-caption em { margin-top: 18px; font-style: normal; letter-spacing: 4px; font-weight: 600; color: #fff; border: 1px solid var(--tt-gold); background: rgba(210,161,56,.85); padding: 8px 22px; border-radius: 30px; }
@media (max-width: 767px) {
  .home-slider .item img { height: 320px; }
  .slide-caption strong { font-size: 28px; }
  .slide-caption span { font-size: 14px; }
  .slide-caption em { font-size: 12px; letter-spacing: 2px; padding: 6px 14px; }
}

/* Service boxes and circle images keep a uniform crop */
.evo-box-dich-vu-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.learning-item img { object-fit: cover; }
.instagram-image img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* Why grid */
.why-section { padding: 60px 0; background: var(--tt-bg); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 30px 0; }
.why-item { background: #fff; border-radius: 10px; padding: 24px; box-shadow: 0 4px 18px rgba(15,111,104,.08); border-top: 3px solid var(--tt-main); }
.why-item h3 { font-size: 18px; margin: 8px 0; color: var(--tt-dark); }
.why-item p { margin: 0; color: #555; }
.why-num { font-size: 32px; font-weight: 700; color: var(--tt-gold); }

/* Price table */
.price-section { padding: 60px 0; }
.price-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(440px, 1fr)); gap: 24px; margin-top: 30px; }
.price-group { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 18px rgba(15,111,104,.1); }
.price-group h3 { margin: 0; padding: 14px 18px; background: var(--tt-main); color: #fff; font-size: 18px; text-transform: uppercase; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 10px 14px; border-bottom: 1px solid #eef2f1; text-align: left; vertical-align: top; }
.price-table thead th { background: #f2f8f7; font-size: 13px; color: #666; text-transform: uppercase; }
.price-table small { display: block; color: #888; font-size: 12px; }
.price-duration { white-space: nowrap; color: #666; }
.price-value { white-space: nowrap; font-weight: 700; color: var(--tt-gold); text-align: right !important; }
.price-note { grid-column: 1 / -1; text-align: center; font-style: italic; color: #666; }
.info-table th { width: 30%; background: #f2f8f7; }
@media (max-width: 520px) {
  .price-groups { grid-template-columns: 1fr; }
  .price-table th, .price-table td { padding: 8px; font-size: 13px; }
}

/* Certificates */
.cert-section { padding: 60px 0; background: var(--tt-bg); }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; margin: 30px 0; }
.cert-card { margin: 0; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 18px rgba(15,111,104,.1); }
.cert-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: #f4f4f4; transition: transform .3s; }
.cert-card a:hover img { transform: scale(1.03); }
.cert-card figcaption { padding: 16px; }
.cert-card h3 { font-size: 16px; margin: 0 0 8px; color: var(--tt-dark); }
.cert-card p { margin: 0 0 6px; font-size: 13px; color: #555; }
.cert-issuer { color: var(--tt-gold) !important; font-weight: 600; }

/* About / services */
.doctor-card { display: flex; gap: 24px; align-items: center; margin: 30px 0; padding: 20px; background: var(--tt-bg); border-radius: 10px; }
.doctor-card img { width: 260px; max-width: 40%; border-radius: 10px; object-fit: cover; }
.doctor-card h3 { color: var(--tt-dark); margin-top: 0; }
.service-row { display: flex; gap: 30px; align-items: center; margin-bottom: 40px; }
.service-row-rev { flex-direction: row-reverse; }
.service-row > img { width: 45%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.service-row h2 { color: var(--tt-dark); }
@media (max-width: 767px) {
  .doctor-card, .service-row, .service-row-rev { flex-direction: column; }
  .doctor-card img, .service-row > img { width: 100%; max-width: 100%; }
}
.faq-item { border: 1px solid #e3ecea; border-radius: 8px; margin-bottom: 10px; padding: 12px 16px; }
.faq-item summary { cursor: pointer; font-weight: 600; color: var(--tt-dark); }
.faq-item p { margin: 10px 0 0; }

/* Gallery */
.gallery-group { margin-bottom: 40px; }
.gallery-group h2 { color: var(--tt-dark); border-left: 4px solid var(--tt-gold); padding-left: 12px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; transition: opacity .2s; }
.gallery-grid a:hover img { opacity: .85; }

/* Contact */
.contact-info ul { list-style: none; padding: 0; }
.contact-info li { display: flex; gap: 14px; margin-bottom: 18px; }
.contact-info li i { font-size: 20px; color: var(--tt-main); width: 24px; margin-top: 3px; }
.contact-info li strong { display: block; }
.box-maps iframe { width: 100%; }
.form-done { padding: 40px 20px; }
.form-done i { font-size: 48px; color: var(--tt-main); }

/* Call to action */
.cta-band { padding: 50px 0; background: linear-gradient(135deg, var(--tt-main), var(--tt-dark)); color: #fff; }
.cta-band h2 { color: #fff; margin-top: 0; }
.btn-cta { display: inline-block; margin: 10px 6px 0; padding: 12px 28px; border-radius: 30px; background: var(--tt-gold); color: #fff !important; font-weight: 600; text-decoration: none !important; border: 2px solid var(--tt-gold); }
.btn-cta-outline { background: transparent; border-color: #fff; }
.price-section .btn-cta, .page .btn-cta { color: #fff !important; }

/* Floating contact buttons */
.float-contact { position: fixed; left: 16px; bottom: 80px; z-index: 50; display: flex; flex-direction: column; gap: 10px; }
.float-contact a { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; box-shadow: 0 4px 10px rgba(0,0,0,.2); }
.float-zalo { background: #0a7cff; }
.float-call { background: var(--tt-main); animation: tt-pulse 2s infinite; }
@keyframes tt-pulse { 0% { box-shadow: 0 0 0 0 rgba(24,160,150,.6); } 70% { box-shadow: 0 0 0 14px rgba(24,160,150,0); } 100% { box-shadow: 0 0 0 0 rgba(24,160,150,0); } }

/* NAD author credit (same rule as nad-company) */
.nad-author-credit { display: block; box-sizing: border-box; width: 100%; margin: 0; padding: 10px 16px 14px; text-align: center; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 11px; font-weight: 400; line-height: 1.4; letter-spacing: .02em; color: inherit; opacity: .5; }
@media (max-width: 991px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }
/* Section kickers outside the original theme sections */
.why-section .section_dich_vu_title, .price-section .section_dich_vu_title, .cert-section .section_dich_vu_title, .post-section .section_dich_vu_title { color: var(--tt-gold); font-size: 15px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 6px; }
.why-section .evo_dich_vu_title h4, .price-section .evo_dich_vu_title h4, .cert-section .evo_dich_vu_title h4, .post-section .evo_dich_vu_title h4 { font-size: 30px; color: var(--tt-main); text-transform: uppercase; }
/* Page banner: the theme's banner image was replaced by a clinic photo */
.evo-blog-header { background: linear-gradient(rgba(15,111,104,.72), rgba(15,111,104,.72)), url(/images/ytt-059.webp) center / cover no-repeat; }
.evo-blog-header .evo-blog-header-content h1 { color: #fff; }
/* Replacements for theme images that were removed */
select { -webkit-appearance: menulist; appearance: menulist; background-image: none; }
header.header .evo-top-header { background: #fff; }
header.header .evo-top-header .slogan p { display: inline-block; margin: 0; padding: 6px 22px; border-radius: 0 0 14px 14px; background: var(--tt-main); color: #fff; font-size: 13px; letter-spacing: 1px; }
/* Posts (Chia sẻ hoạt động) */
.post-section { padding: 60px 0; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin: 30px 0; }
.post-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 18px rgba(15,111,104,.1); display: flex; flex-direction: column; }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .3s; }
.post-card a:hover img { transform: scale(1.04); }
.post-card > a { overflow: hidden; display: block; }
.post-card-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 17px; line-height: 1.4; margin: 0 0 10px; }
.post-card h3 a { color: var(--tt-dark); }
.post-card p { color: #555; flex: 1; }
.post-article { max-width: 860px; margin: 0 auto 40px; }
.post-article h1 { font-size: 30px; line-height: 1.3; color: var(--tt-dark); }
.post-lead { font-size: 17px; font-style: italic; color: #555; border-left: 4px solid var(--tt-gold); padding-left: 14px; }
.post-cover { width: 100%; border-radius: 10px; margin: 20px 0; }
.post-article .content-page h2 { color: var(--tt-main); font-size: 22px; margin-top: 28px; }
.post-article .content-page p { font-size: 16px; line-height: 1.8; }
.post-more-title { text-align: center; color: var(--tt-dark); }
.evo-blog-header + .page, .evo-blog-header + .contact { margin-top: 40px; }

/* Header: dropdown highlight, Zalo, booking CTA */
header.header .evo-main-nav #nav > li.current > .nav-link { color: var(--tt-main); }
header.header .evo-top-header .hotline { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.header-zalo { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 20px; background: #0a7cff; color: #fff !important; font-weight: 600; font-size: 13px; }
@media (min-width: 992px) {
  header.header .evo-main-nav #nav > li.nav-cta > .nav-link { background: var(--tt-gold); color: #fff !important; border-radius: 30px; padding-left: 18px; padding-right: 18px; margin-left: 8px; }
  header.header .evo-main-nav #nav > li.nav-cta > .nav-link:hover { background: var(--tt-main); }
}

/* Floating contact: labelled pills on desktop, bottom bar on phones */
.float-contact a { width: auto; height: 44px; border-radius: 30px; padding: 0 16px 0 14px; gap: 8px; font-size: 15px; font-weight: 600; justify-content: flex-start; }
.float-contact a span { font-size: 13px; }
.float-book { background: var(--tt-gold); }
.mobile-cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; background: #fff; box-shadow: 0 -2px 12px rgba(0,0,0,.15); }
.mobile-cta-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 4px; font-size: 13px; font-weight: 700; color: var(--tt-main); }
.mobile-cta-bar .mcta-zalo { background: #0a7cff; color: #fff; }
.mobile-cta-bar .mcta-book { background: var(--tt-gold); color: #fff; }
@media (max-width: 767px) {
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 50px; }
  .back-to-top { bottom: 64px !important; }
  /* Mobile header: logo stacked and centred, slogan bar on one line */
  .evo-header-mobile .site-logo { display: flex !important; flex-direction: column !important; align-items: center; margin: 0 auto; }
  .evo-header-mobile .logo { justify-content: center; }
  header.header .evo-top-header .slogan p { font-size: 11px; padding: 4px 12px; }
  header.header .evo-top-header .slogan .slogan-tagline { display: none; }
}
.btn-cta-zalo { background: #0a7cff; border-color: #0a7cff; }

/* Promo (Trị liệu – Spa – Đào tạo) */
.promo-section { padding: 60px 0; }
.promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 30px; }
.promo-card { position: relative; display: block; border-radius: 12px; overflow: hidden; color: #fff !important; text-decoration: none !important; box-shadow: 0 6px 22px rgba(15,111,104,.18); }
.promo-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.promo-card:hover img { transform: scale(1.05); }
.promo-body { position: absolute; inset: auto 0 0 0; padding: 60px 20px 20px; background: linear-gradient(transparent, rgba(10,70,65,.92)); display: flex; flex-direction: column; gap: 6px; }
.promo-body strong { font-size: 21px; text-transform: uppercase; }
.promo-body em { font-style: normal; color: var(--tt-gold); font-weight: 600; }

/* Spa / training */
.kicker { color: var(--tt-gold); letter-spacing: 2px; text-transform: uppercase; font-weight: 600; margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin: 20px 0 40px; }
.feature-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 18px rgba(15,111,104,.1); }
.feature-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.feature-card h3 { font-size: 18px; color: var(--tt-dark); margin: 16px 18px 6px; }
.feature-card p { margin: 0 18px 18px; color: #555; }
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin: 30px 0; }
.course-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 18px rgba(15,111,104,.1); display: flex; flex-direction: column; }
.course-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.course-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.course-body h3 { margin: 0 0 10px; font-size: 19px; color: var(--tt-dark); }
.course-meta { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; color: #666; font-size: 13px; }
.course-meta i { color: var(--tt-main); }
.course-content { padding-left: 18px; color: #444; flex: 1; }
.course-fee { font-size: 15px; }
.course-fee strong { color: var(--tt-gold); font-size: 20px; }
.course-body .btn-cta { text-align: center; margin: 6px 0 0; }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 30px 0; }
.steps li { counter-increment: s; background: var(--tt-bg); border-radius: 10px; padding: 18px; position: relative; font-weight: 600; color: var(--tt-dark); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-size: 28px; color: var(--tt-gold); }
.why-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 991px) { .why-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .why-grid-4 { grid-template-columns: 1fr; } }
