@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
/*
 * Nha Khoa Ivy Main Theme Style
 * Defined according to ai_docs/DESIGN_SYSTEM.md
 */

/* CSS variables */
:root {
    --nki-primary: #0B74B8;
    --nki-primary-dark: #075985;
    --nki-secondary-light: #E6F7FB;
    --nki-bg-main: #FFFFFF;
    --nki-bg-soft: #F5F9FC;
    --nki-accent: #F6B44B;
    --nki-text-primary: #1F2937;
    --nki-text-secondary: #64748B;
    --nki-border: #DDEAF2;
    --nki-font: 'Open Sans', 'Google Sans', sans-serif;
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--nki-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--nki-text-primary);
    background-color: var(--nki-bg-main);
}

a {
    color: var(--nki-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--nki-primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--nki-primary-dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Container */
.nki-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.nki-btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nki-btn-primary {
    background-color: var(--nki-primary);
    color: var(--nki-bg-main);
}

.nki-btn-primary:hover {
    background-color: var(--nki-primary-dark);
    color: var(--nki-bg-main);
}

.nki-btn-outline {
    background-color: transparent;
    color: var(--nki-primary);
    border-color: var(--nki-primary);
}

.nki-btn-outline:hover {
    background-color: var(--nki-primary);
    color: var(--nki-bg-main);
}

.nki-btn-accent {
    background-color: var(--nki-accent);
    color: var(--nki-text-primary);
}

.nki-btn-accent:hover {
    background-color: #e59e37;
    color: var(--nki-text-primary);
}

.nki-btn-outline-white {
    background-color: transparent;
    color: var(--nki-bg-main);
    border-color: var(--nki-bg-main);
}

.nki-btn-outline-white:hover {
    background-color: var(--nki-bg-main);
    color: var(--nki-primary);
}

/* Topbar */
.nki-topbar {
    background-color: var(--nki-secondary-light);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid var(--nki-border);
}

.nki-topbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.topbar-info {
    color: var(--nki-text-primary);
}

.topbar-cta {
    font-weight: 700;
    color: var(--nki-primary);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Header */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Header Top Row */
.nki-header-top-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 100px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.site-branding {
    /* Branding layout */
}

.site-branding .custom-logo-link img,
.site-branding .fallback-logo {
    max-height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.site-branding a:hover img {
    transform: scale(1.02);
}

.site-title-link {
    font-size: 24px;
    font-weight: 700;
    color: var(--nki-primary);
}

.header-contact-cta {
    display: flex;
    align-items: center;
    gap: 40px; /* Increased gap for breathing room */
}

.header-contact-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px 20px 8px 8px;
    border-radius: 50px; /* Pill shape container */
    background: #f8fbff;
    border: 1px solid rgba(11, 73, 155, 0.1);
    transition: all 0.3s ease;
}

.header-contact-info:hover {
    box-shadow: 0 4px 15px rgba(11, 73, 155, 0.1);
    transform: translateY(-2px);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0b499b, #2275d7);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(11, 73, 155, 0.3);
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-label {
    font-size: 12px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 0px;
    letter-spacing: 0.5px;
}

.contact-number {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(90deg, #0b499b, #1a65c2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.header-cta-btn {
    padding: 14px 30px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 50px; /* Pill button */
    background: linear-gradient(135deg, #0b499b, #1a65c2);
    color: #fff;
    box-shadow: 0 4px 15px rgba(11, 73, 155, 0.3);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.header-cta-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shine 4s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.header-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(11, 73, 155, 0.4);
    background: linear-gradient(135deg, #1a65c2, #0b499b);
}

/* Header Bottom Row (Blue Menu) */
.nki-header-bottom {
    background: linear-gradient(90deg, #0b499b, #1a65c2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu {
    display: flex;
    width: 100%;
    justify-content: center; /* Center the menu items */
    gap: 15px; 
}

.nav-menu > li {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-menu a {
    color: #ffffff; /* White text for blue background */
    font-weight: 600;
    font-size: 15px;
    display: block;
    padding: 20px 15px; 
    transition: all 0.3s ease;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

/* Animated Underline for Menu Items */
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 3px 3px 0 0;
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item > a::after,
.nav-menu .current-menu-ancestor > a::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current-menu-ancestor > a {
    color: #ffffff;
    background-color: transparent; /* Remove the old block highlight */
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3); /* Subtle text glow */
}

/* Dropdown Sub-menu */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 240px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    display: flex;
    flex-direction: column;
    padding: 10px 0;
}

.nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.nav-menu .sub-menu li {
    width: 100%;
}

.nav-menu .sub-menu a {
    color: var(--nki-text-primary) !important; /* Force dark text instead of white */
    padding: 12px 25px;
    font-size: 15px;
    font-weight: 500;
    text-transform: none; /* Turn off uppercase for submenu */
    letter-spacing: normal;
    transition: all 0.2s ease;
}

/* Remove animated underline for sub-menu */
.nav-menu .sub-menu a::after {
    display: none !important;
}

.nav-menu .sub-menu a:hover,
.nav-menu .sub-menu .current-menu-item > a {
    background-color: #f8fbff;
    color: var(--nki-primary) !important;
    text-shadow: none; /* Remove glow from parent */
    padding-left: 30px; /* Refined indent effect */
}

/* Menu items with children indicator */
.nav-menu .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    border-top: 5px solid currentColor;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 44px;
    height: 44px;
    border-radius: 4px;
    align-items: center;
    justify-content: center;
}

.menu-toggle-icon,
.menu-toggle-icon::before,
.menu-toggle-icon::after {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--nki-text-primary);
    position: relative;
    transition: all 0.3s ease;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
    content: '';
    position: absolute;
    left: 0;
}

.menu-toggle-icon::before {
    top: -8px;
}

.menu-toggle-icon::after {
    bottom: -8px;
}

/* Mobile Expanded Menu state */
.menu-toggle[aria-expanded="true"] .menu-toggle-icon {
    background-color: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* Hero Section */
.nki-hero-section {
    background-color: var(--nki-bg-soft);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.nki-hero-container {
    display: flex;
    align-items: center;
    min-height: 450px;
}

.nki-hero-content {
    max-width: 650px;
}

.nki-hero-subtitle {
    display: block;
    color: var(--nki-primary);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.nki-hero-title {
    font-size: 48px;
    color: var(--nki-primary-dark);
    margin-bottom: 20px;
}

.nki-hero-text {
    font-size: 18px;
    color: var(--nki-text-secondary);
    margin-bottom: 30px;
}

.nki-hero-actions {
    display: flex;
    gap: 15px;
}

/* Related posts / Cards */
.nki-related-posts-container {
    padding: 60px 0;
}

.nki-related-posts-title {
    font-size: 28px;
    color: var(--nki-primary-dark);
    margin-bottom: 30px;
    text-align: center;
}

.nki-related-posts-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
}

@media (max-width: 1100px) {
    .nki-related-posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .nki-related-posts-grid {
        grid-template-columns: 1fr;
    }
}

.blog-container {
    padding-top: 56px;
    padding-bottom: 72px;
}

.nki-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.nki-post-card {
    background: var(--nki-bg-main);
    border: 1px solid rgba(11, 116, 184, 0.12);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(15, 57, 84, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.nki-post-card:hover {
    transform: translateY(-5px);
    border-color: rgba(11, 116, 184, 0.28);
    box-shadow: 0 18px 42px rgba(11, 116, 184, 0.14);
}

.nki-post-card-thumb {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e6f7fb;
}

.nki-post-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.nki-post-card:hover .nki-post-card-thumb img {
    transform: scale(1.05);
}

.nki-post-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.nki-post-card-date {
    font-size: 13px;
    color: var(--nki-text-secondary);
    margin-bottom: 8px;
}

.nki-post-card-title {
    font-size: 19px;
    line-height: 1.35;
    margin-bottom: 12px;
}

.nki-post-card-title a {
    color: var(--nki-primary-dark);
}

.nki-post-card-excerpt {
    font-size: 15px;
    line-height: 1.7;
    color: var(--nki-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.nki-post-card-link {
    font-weight: 600;
    color: var(--nki-primary);
}

.nki-pagination {
    margin-top: 44px;
}

.nki-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.nki-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--nki-border);
    border-radius: 8px;
    background: #ffffff;
    color: var(--nki-primary-dark);
    font-weight: 700;
    line-height: 1;
}

.nki-pagination .page-numbers.current,
.nki-pagination .page-numbers:hover {
    border-color: var(--nki-primary);
    background: var(--nki-primary);
    color: #ffffff;
}

.nki-pagination .page-numbers.dots {
    border-color: transparent;
    background: transparent;
    color: var(--nki-text-secondary);
}

/* CTA Block */
.nki-consult-cta {
    background-color: var(--nki-primary-dark);
    padding: 60px 0;
    color: var(--nki-bg-main);
}

.nki-consult-cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.nki-consult-cta-content {
    max-width: 700px;
}

.nki-consult-cta-title {
    color: var(--nki-bg-main);
    font-size: 32px;
    margin-bottom: 12px;
}

.nki-consult-cta-text {
    font-size: 16px;
    opacity: 0.9;
}

.nki-consult-cta-actions {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

/* Footer */
.site-footer {
    --nki-footer-watermark-opacity: 0.05;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 34%),
        linear-gradient(135deg, #064761 0%, #075273 52%, #053047 100%);
    color: #ffffff;
    padding: 52px 0 0;
    border-top: 4px solid #f4c15d;
}

.site-footer::before {
    content: '';
    position: absolute;
    right: max(32px, calc((100vw - 1380px) / 2));
    bottom: 46px;
    width: min(190px, 28vw);
    aspect-ratio: 1 / 1;
    background-image: var(--nki-footer-watermark);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    opacity: calc(var(--nki-footer-watermark-opacity) * 0.45);
    pointer-events: none;
}

.nki-footer-container {
    position: relative;
    z-index: 1;
    max-width: 1380px;
}

.nki-footer-main {
    display: grid;
    grid-template-columns: minmax(240px, 1.12fr) repeat(2, minmax(210px, 1fr)) minmax(190px, 0.82fr);
    gap: clamp(28px, 3vw, 46px);
    align-items: start;
    padding-bottom: 38px;
}

.footer-widget-col {
    min-width: 0;
}

.footer-widget-title {
    color: #f8c66a;
    font-size: 13px;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.045em;
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
}

.footer-logo {
    max-width: 220px;
    max-height: 78px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.footer-logo-invert {
    filter: none;
}

.footer-tagline {
    color: #f8c66a;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 12px;
}

.footer-desc {
    max-width: 280px;
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.84);
    margin-bottom: 20px;
}

.footer-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
}

.footer-menu {
    list-style: none;
    display: grid;
    gap: 10px;
}

.footer-menu li {
    margin-bottom: 0;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.45;
}

.footer-menu a:hover {
    color: #f8c66a;
}

.footer-license {
    display: inline-grid;
    gap: 3px;
    margin: 0;
    padding: 9px 12px;
    border-left: 2px solid #f8c66a;
    background: rgba(255, 255, 255, 0.045);
}

.footer-license span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.footer-license strong {
    color: #ffffff;
    font-size: 14px;
}

.footer-branch {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 13px;
    row-gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-branch__phone,
.footer-contact-meta a,
.footer-contact-meta div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-branch__icon {
    grid-row: 1 / span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(145, 195, 255, 0.28);
    border-radius: 50%;
    background: rgba(145, 195, 255, 0.08);
}

.footer-branch svg,
.footer-contact-meta svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: none;
    stroke: #91c3ff;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-branch__address {
    grid-column: 2;
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
    line-height: 1.65;
}

.footer-branch__phone {
    grid-column: 2;
    width: fit-content;
    color: #a9ceff;
    font-size: 14px;
    font-weight: 700;
}

.footer-branch__address:hover,
.footer-branch__phone:hover,
.footer-contact-meta a:hover {
    color: #f8c66a;
}

.footer-contact-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 26px;
}

.footer-contact-meta a,
.footer-contact-meta div {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.55;
}

.footer-cta-button {
    width: 100%;
    margin-top: 20px;
    padding: 12px 16px;
    color: #083344;
    background: #f8c66a;
    box-shadow: 0 12px 28px rgba(248, 198, 106, 0.18);
}

.footer-cta-button:hover {
    color: #ffffff;
    background: #0fb5a8;
    box-shadow: 0 14px 30px rgba(15, 181, 168, 0.22);
    transform: translateY(-2px);
}

.nki-mobile-sticky-cta {
    display: none;
}

.site-info {
    padding: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
    text-align: right;
}

.site-info p {
    margin: 0;
}

.site-info a {
    color: #ffffff;
    font-weight: 800;
}

.site-info a:hover {
    color: #f8c66a;
}

.footer-utility {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.nki-floating-contact {
    position: fixed;
    z-index: 999;
    right: 20px;
    bottom: 28px;
    display: grid;
    gap: 10px;
}

.nki-floating-contact__item {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(3, 27, 54, 0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nki-floating-contact__item::before {
    content: attr(data-label);
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    padding: 7px 10px;
    border-radius: 6px;
    color: #ffffff;
    background: #153e75;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translate(6px, -50%);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.nki-floating-contact__item:hover,
.nki-floating-contact__item:focus-visible {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(3, 27, 54, 0.32);
}

.nki-floating-contact__item:hover::before,
.nki-floating-contact__item:focus-visible::before {
    opacity: 1;
    transform: translate(0, -50%);
}

.nki-floating-contact__item svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nki-floating-contact__item--phone {
    background: #0ec28b;
}

.nki-floating-contact__item--zalo {
    background: #0877f9;
}

.nki-floating-contact__item--zalo span {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: -0.4px;
}

.nki-floating-contact__item--messenger {
    background: #1199ee;
}

.nki-floating-contact__item--messenger svg {
    fill: #ffffff;
    stroke: none;
}

.nki-floating-contact__item--messenger .nki-floating-contact__messenger-mark {
    fill: #1199ee;
}

.nki-floating-contact__item--booking {
    background: #2f6df6;
}

/* Blog & Archive specific */
.blog-main, .archive-main {
    padding: 0 0 60px;
}

.nki-archive-header, .nki-page-header, .nki-post-header {
    background-color: var(--nki-bg-soft);
    padding: 40px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--nki-border);
}

.nki-archive-header {
    margin-bottom: 0;
}

.blog-container {
    padding-top: 40px;
}

.nki-archive-title, .nki-page-title, .nki-post-title {
    margin-bottom: 0;
}

.nki-post-meta {
    font-size: 14px;
    color: var(--nki-text-secondary);
    margin-bottom: 10px;
}

.nki-post-content-container {
    max-width: 800px;
    padding-bottom: 60px;
}

.nki-post-featured-image {
    margin-bottom: 30px;
}

.nki-post-featured-image img {
    border-radius: 8px;
    width: 100%;
}

.nki-post-text-content {
    font-size: 17px;
    line-height: 1.8;
}

.nki-post-text-content p {
    margin-bottom: 1.5rem;
}

.nki-post-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--nki-border);
}

/* 404 Error page */
.error-404-main {
    padding: 100px 0;
    text-align: center;
}

.error-404-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-title {
    font-size: 120px;
    color: var(--nki-primary);
    line-height: 1;
    margin-bottom: 10px;
}

.error-subtitle {
    font-size: 28px;
    margin-bottom: 20px;
}

.error-text {
    color: var(--nki-text-secondary);
    margin-bottom: 30px;
}

.error-actions {
    margin-top: 20px;
}

/* Responsive Mobile Styles */
@media (max-width: 991px) {
    .nki-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
    .nki-footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 28px;
    }
    .nki-consult-cta-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .nki-consult-cta-actions {
        width: 100%;
        flex-direction: column;
    }
    .nki-consult-cta-actions .nki-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .blog-container {
        padding-top: 36px;
        padding-bottom: 52px;
    }
    .nki-blog-grid {
        grid-template-columns: 1fr;
    }
    .nki-post-card-content {
        padding: 20px;
    }
    .nki-pagination .page-numbers {
        min-width: 38px;
        height: 38px;
        padding: 0 12px;
    }
    .site-footer {
        padding-top: 44px;
    }
    .site-footer::before {
        right: -24px;
        bottom: 84px;
        width: 150px;
    }
    .nki-footer-main {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 32px;
    }
    .footer-branch {
        padding-top: 14px;
    }
    .footer-logo {
        max-width: 210px;
    }
    .footer-tagline {
        font-size: 18px;
    }
    .footer-cta-button {
        width: 100%;
    }
    .footer-utility {
        align-items: flex-start;
        flex-direction: column;
        min-height: 0;
        padding: 20px 0;
    }
    .footer-contact-meta {
        display: grid;
        gap: 12px;
    }
    .site-info {
        text-align: left;
    }
    .nki-floating-contact {
        display: none;
    }
    .nki-header-top-container {
        min-height: 74px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .site-branding .custom-logo-link img,
    .site-branding .fallback-logo {
        max-height: 48px;
    }
    .header-contact-cta {
        gap: 12px;
    }
    .header-contact-info {
        gap: 10px;
        padding: 6px 12px 6px 6px;
    }
    .contact-icon {
        width: 36px;
        height: 36px;
    }
    .contact-label {
        display: none;
    }
    .contact-number {
        font-size: 17px;
        line-height: 1;
    }
    .nki-header-bottom {
        position: relative;
    }
    .main-navigation {
        justify-content: flex-end;
        min-height: 52px;
    }
    .menu-toggle {
        display: inline-flex;
    }
    .primary-menu-container {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--nki-bg-main);
        border-bottom: 1px solid var(--nki-border);
        box-shadow: 0 14px 28px rgba(11, 73, 155, 0.16);
        padding: 10px 20px 16px;
        max-height: calc(100vh - 126px);
        overflow-y: auto;
        z-index: 1001;
    }
    .primary-menu-container.active {
        display: block;
    }
    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }
    .nav-menu > li {
        display: block;
        border-bottom: 1px solid var(--nki-border);
    }
    .nav-menu > li:last-child {
        border-bottom: 0;
    }
    .nav-menu a {
        color: var(--nki-text-primary);
        padding: 13px 0;
        white-space: normal;
        line-height: 1.35;
    }
    .nav-menu a::after {
        display: none;
    }
    .nav-menu a:hover,
    .nav-menu .current-menu-item > a,
    .nav-menu .current-menu-ancestor > a {
        color: var(--nki-primary);
        text-shadow: none;
    }
    .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: flex;
        min-width: 0;
        width: 100%;
        padding: 0 0 8px 14px;
        margin-top: -4px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .nav-menu li:hover > .sub-menu {
        transform: none;
    }
    .nav-menu .sub-menu a {
        padding: 8px 0;
        font-size: 14px;
    }
    .nav-menu .sub-menu a:hover,
    .nav-menu .sub-menu .current-menu-item > a {
        background-color: transparent;
        padding-left: 0;
    }
    .header-cta {
        display: none;
    }
    .nki-hero-title {
        font-size: 32px;
    }
    .nki-hero-text {
        font-size: 16px;
    }
    .nki-hero-actions {
        flex-direction: column;
        gap: 10px;
    }
    .nki-hero-actions .nki-btn {
        width: 100%;
    }
}

@media (max-width: 767px) {
    body {
        padding-bottom: calc(92px + env(safe-area-inset-bottom));
    }

    .nki-mobile-sticky-cta {
        position: fixed;
        right: 14px;
        bottom: calc(14px + env(safe-area-inset-bottom));
        left: 14px;
        z-index: 1200;
        display: grid;
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 10px;
        pointer-events: none;
    }

    .nki-mobile-sticky-cta__button {
        pointer-events: auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 58px;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.4);
        color: #ffffff;
        font-size: 15px;
        font-weight: 800;
        line-height: 1;
        text-decoration: none;
        box-shadow: 0 16px 34px rgba(8, 51, 68, 0.22);
        -webkit-tap-highlight-color: transparent;
    }

    .nki-mobile-sticky-cta__button--call {
        background: #0fb5a8;
    }

    .nki-mobile-sticky-cta__button--booking {
        gap: 8px;
        background: #b51f2d;
    }

    .nki-mobile-sticky-cta__icon {
        width: 23px;
        height: 23px;
        flex: 0 0 auto;
        fill: none;
        stroke: currentColor;
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .nki-mobile-sticky-cta__button:active {
        transform: translateY(1px);
    }
}

/* Homepage Slideshow Component - Scoped under .nki-home-slideshow */
.nki-home-slideshow {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 800;
    min-height: 250px;
    overflow: hidden;
    background-color: #075985;
}

.nki-home-slideshow * {
    box-sizing: border-box;
}

.nki-home-slideshow .nki-slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.nki-home-slideshow .nki-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
}

.nki-home-slideshow .nki-slide.active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}

.nki-home-slideshow .nki-slide-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.nki-home-slideshow .nki-slide-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.nki-home-slideshow .nki-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(7, 89, 133, 0.85) 0%, rgba(7, 89, 133, 0.65) 40%, rgba(7, 89, 133, 0) 80%);
    z-index: 2;
}

.nki-home-slideshow .nki-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nki-home-slideshow .nki-slide-content {
    max-width: 650px;
    color: #ffffff;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.6s ease, opacity 0.6s ease;
    transition-delay: 0.2s;
}

.nki-home-slideshow .nki-slide.active .nki-slide-content {
    opacity: 1;
    transform: translateY(0);
}

.nki-home-slideshow .nki-slide-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--nki-accent);
    margin-bottom: 15px;
    border-left: 3px solid var(--nki-accent);
    padding-left: 10px;
    line-height: 1;
}

.nki-home-slideshow .nki-slide-title {
    font-size: 44px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.nki-home-slideshow .nki-slide-text {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.nki-home-slideshow .nki-slide-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.nki-home-slideshow .nki-slide-actions .nki-btn {
    padding: 14px 30px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Arrows Navigation */
.nki-home-slideshow .nki-slideshow-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.nki-home-slideshow .nki-slideshow-arrow:hover,
.nki-home-slideshow .nki-slideshow-arrow:focus-visible {
    background-color: var(--nki-primary);
    border-color: var(--nki-primary);
    outline: none;
    box-shadow: 0 0 15px rgba(11, 116, 184, 0.4);
}

.nki-home-slideshow .nki-slideshow-prev {
    left: 25px;
}

.nki-home-slideshow .nki-slideshow-next {
    right: 25px;
}

/* Dots Navigation */
.nki-home-slideshow .nki-slideshow-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 4;
}

.nki-home-slideshow .nki-slideshow-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.35);
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.nki-home-slideshow .nki-slideshow-dot:hover,
.nki-home-slideshow .nki-slideshow-dot:focus-visible {
    background-color: #ffffff;
    outline: none;
}

.nki-home-slideshow .nki-slideshow-dot.active {
    background-color: var(--nki-accent);
    transform: scale(1.2);
    border-color: #ffffff;
}

/* prefers-reduced-motion compatibility */
@media (prefers-reduced-motion: reduce) {
    .nki-home-slideshow .nki-slide {
        transition: none !important;
    }
    .nki-home-slideshow .nki-slide-content {
        transition: none !important;
        transform: none !important;
    }
    .nki-home-slideshow .nki-slideshow-dot {
        transition: none !important;
    }
}

/* Responsive adaptation */
@media (max-width: 991px) {
    .nki-home-slideshow {
        height: 500px;
    }
    .nki-home-slideshow .nki-slide-title {
        font-size: 34px;
    }
    .nki-home-slideshow .nki-slide-text {
        font-size: 16px;
        margin-bottom: 25px;
    }
}

@media (max-width: 768px) {
    .nki-home-slideshow {
        height: auto;
        min-height: 0;
        aspect-ratio: 1920 / 800;
        max-height: none;
    }
    
    .nki-home-slideshow .nki-slide-overlay {
        background: linear-gradient(90deg, rgba(7, 89, 133, 0.55) 0%, rgba(7, 89, 133, 0.2) 55%, rgba(7, 89, 133, 0) 100%);
    }
    
    .nki-home-slideshow .nki-slide {
        align-items: flex-end;
        padding-bottom: 0;
    }
    
    .nki-home-slideshow .nki-slide-content {
        max-width: 100%;
        text-align: center;
        transform: translateY(15px);
    }
    
    .nki-home-slideshow .nki-slide-subtitle {
        border-left: none;
        padding-left: 0;
        margin-bottom: 8px;
    }
    
    .nki-home-slideshow .nki-slide-title {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .nki-home-slideshow .nki-slide-text {
        font-size: 15px;
        margin-bottom: 20px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .nki-home-slideshow .nki-slide-actions {
        justify-content: center;
        gap: 10px;
    }
    
    .nki-home-slideshow .nki-slide-actions .nki-btn {
        padding: 10px 14px;
        font-size: 13px;
        flex: 1;
        min-width: 130px;
        line-height: 1.25;
    }
    
    .nki-home-slideshow .nki-slideshow-arrow {
        width: 38px;
        height: 38px;
        background-color: rgba(7, 89, 133, 0.6);
        border-color: rgba(255, 255, 255, 0.2);
    }
    
    .nki-home-slideshow .nki-slideshow-prev {
        left: 10px;
    }
    
    .nki-home-slideshow .nki-slideshow-next {
        right: 10px;
    }
    
    .nki-home-slideshow .nki-slideshow-dots {
        bottom: 10px;
        gap: 8px;
    }
    
    .nki-home-slideshow .nki-slideshow-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .nki-container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .nki-header-top-container {
        min-height: 66px;
        gap: 8px;
    }
    .site-branding .custom-logo-link img,
    .site-branding .fallback-logo {
        max-height: 42px;
        max-width: 138px;
    }
    .header-contact-info {
        padding: 6px;
        border-radius: 999px;
    }
    .contact-icon {
        display: none;
    }
    .contact-number {
        font-size: 15px;
        white-space: nowrap;
    }
    .main-navigation {
        min-height: 48px;
    }
    .primary-menu-container {
        padding-left: 15px;
        padding-right: 15px;
        max-height: calc(100vh - 114px);
    }
    .nki-home-slideshow {
        min-height: 0;
        aspect-ratio: 1920 / 800;
        max-height: none;
    }
    .nki-home-slideshow .nki-container {
        padding-left: 16px;
        padding-right: 16px;
    }
    .nki-home-slideshow .nki-slide {
        padding-bottom: 0;
    }
    .nki-home-slideshow .nki-slide-subtitle {
        font-size: 11px;
        letter-spacing: 1px;
    }
    .nki-home-slideshow .nki-slide-title {
        font-size: 20px;
        line-height: 1.25;
    }
    .nki-home-slideshow .nki-slide-text {
        font-size: 14px;
        line-height: 1.45;
        margin-bottom: 14px;
        -webkit-line-clamp: 2;
    }
    .nki-home-slideshow .nki-slide-actions {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }
    .nki-home-slideshow .nki-slide-actions .nki-btn {
        width: 100%;
        margin-bottom: 5px;
        min-width: 0;
    }
    .nki-home-slideshow .nki-slideshow-arrow {
        display: none;
    }
    .nki-home-slideshow .nki-slideshow-dots {
        bottom: 7px;
    }
    .nki-home-slideshow .nki-slideshow-dot {
        width: 8px;
        height: 8px;
    }
}

/* Prevent duplicate old homepage slideshow */
.nki-trang-chu-block-1-slideshow {
    display: none !important;
}

/* ==========================================================================
   Block 2: Dá»‹ch Vá»¥ Nha Khoa Ná»•i Báº­t (.nki-home-services)
   ========================================================================== */
.nki-home-services {
    padding: 80px 0;
    background-color: var(--nki-bg-main);
}

.nki-home-services .nki-section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.nki-home-services .nki-section-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--nki-primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    min-height: 48px;
    width: 100%;
    margin: 0 auto 12px;
    padding: 10px 54px;
    border: 1px solid var(--nki-border);
    border-radius: 999px;
    background-color: var(--nki-secondary-light);
    line-height: 1.2;
}

.nki-home-services .nki-section-subtitle svg {
    position: absolute;
    left: 18px;
    top: 50%;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    flex: 0 0 auto;
}

.nki-home-services .nki-section-title {
    font-size: 38px;
    color: var(--nki-primary-dark);
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 15px;
    text-transform: uppercase;
    text-align: center;
}

.nki-home-services .nki-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--nki-accent);
    border-radius: 2px;
}

.nki-home-services .nki-section-desc {
    display: none;
}

.nki-home-services .nki-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.nki-home-services .nki-service-card {
    background-color: var(--nki-bg-main);
    border: 1px solid var(--nki-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.nki-home-services .nki-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(11, 116, 184, 0.1);
}

.nki-home-services .nki-service-thumb {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.nki-home-services .nki-service-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.nki-home-services .nki-service-card:hover .nki-service-thumb img {
    transform: scale(1.06);
}

.nki-home-services .nki-service-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.nki-home-services .nki-service-title {
    font-size: 20px;
    color: var(--nki-primary-dark);
    margin-bottom: 12px;
}

.nki-home-services .nki-service-text {
    font-size: 15px;
    color: var(--nki-text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.nki-home-services .nki-service-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--nki-primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nki-home-services .nki-service-link .arrow {
    transition: transform 0.3s ease;
}

.nki-home-services .nki-service-card:hover .nki-service-link {
    color: var(--nki-primary-dark);
}

.nki-home-services .nki-service-card:hover .nki-service-link .arrow {
    transform: translateX(5px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .nki-home-services .nki-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .nki-home-services .nki-section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .nki-home-services {
        padding: 60px 0;
    }
    
    .nki-home-services .nki-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 480px;
        margin: 0 auto;
    }
    
    .nki-home-services .nki-section-header {
        margin-bottom: 35px;
    }
    
    .nki-home-services .nki-section-title {
        font-size: 28px;
    }
    
    .nki-home-services .nki-section-desc {
        font-size: 16px;
    }
}

/* ==========================================================================
   Block 3: Giá»›i Thiá»‡u Nha Khoa Ivy (.nki-home-about)
   ========================================================================== */
.nki-home-about {
    padding: 80px 0;
    background-color: var(--nki-bg-soft);
    overflow: hidden;
}

.nki-home-about .nki-about-wrapper {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.nki-home-about .nki-about-content {
    display: flex;
    flex-direction: column;
}

.nki-home-about .nki-about-subtitle {
    display: block;
    color: var(--nki-primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.nki-home-about .nki-about-title {
    font-size: 36px;
    color: var(--nki-primary-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.nki-home-about .nki-about-body {
    margin-bottom: 30px;
}

.nki-home-about .nki-about-body p {
    font-size: 16px;
    color: var(--nki-text-primary);
    line-height: 1.7;
    margin-bottom: 15px;
}

.nki-home-about .nki-about-body p:last-child {
    margin-bottom: 0;
}

.nki-home-about .nki-about-body strong {
    color: var(--nki-primary-dark);
}

.nki-home-about .nki-about-actions {
    display: flex;
}

.nki-home-about .nki-about-actions .nki-btn {
    box-shadow: 0 4px 12px rgba(11, 116, 184, 0.15);
    transition: all 0.3s ease;
}

.nki-home-about .nki-about-actions .nki-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 116, 184, 0.25);
}

.nki-home-about .nki-about-media {
    position: relative;
    width: 100%;
}

.nki-home-about .nki-about-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border: 4px solid #ffffff;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.nki-home-about .nki-about-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(11, 116, 184, 0.1);
    border-radius: 8px;
    pointer-events: none;
}

.nki-home-about .nki-about-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Hover effects */
.nki-home-about .nki-about-image-wrapper:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 20px 40px rgba(11, 116, 184, 0.15);
}

.nki-home-about .nki-about-image-wrapper:hover img {
    transform: scale(1.03);
}

/* Responsive Adaptation */
@media (max-width: 1024px) {
    .nki-home-about {
        padding: 60px 0;
    }
    
    .nki-home-about .nki-about-wrapper {
        gap: 30px;
        grid-template-columns: 1.1fr 0.9fr;
    }
    
    .nki-home-about .nki-about-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .nki-home-about .nki-about-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .nki-home-about .nki-about-content {
        order: 1;
    }
    
    .nki-home-about .nki-about-media {
        order: 2;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .nki-home-about .nki-about-title {
        font-size: 26px;
    }
    
    .nki-home-about .nki-about-actions {
        justify-content: center;
    }
    
    .nki-home-about .nki-about-actions .nki-btn {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .nki-home-about {
        padding: 50px 0;
    }
    
    .nki-home-about .nki-about-title {
        font-size: 22px;
    }
    
    .nki-home-about .nki-about-body p {
        font-size: 15px;
    }
}

/* Homepage Quick Appointment */
.nki-home-quick-appointment {
    padding: 82px 0;
    background: linear-gradient(135deg, var(--nki-primary-dark), var(--nki-primary));
    color: #ffffff;
}

.nki-quick-appointment-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
    gap: 44px;
    align-items: center;
}

.nki-home-quick-appointment .nki-section-subtitle,
.nki-home-final-cta .nki-section-subtitle {
    color: var(--nki-accent);
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.nki-quick-appointment-content h2,
.nki-final-cta-copy h2 {
    color: #ffffff;
    font-size: 38px;
    margin-bottom: 14px;
}

.nki-quick-appointment-lead {
    color: #e6f7fb;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.nki-quick-appointment-content p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 17px;
    max-width: 760px;
}

.nki-quick-appointment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.nki-quick-appointment-panel {
    display: grid;
    gap: 14px;
}

.nki-quick-stat {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    padding: 18px;
}

.nki-quick-stat strong {
    color: #ffffff;
    display: block;
    font-size: 20px;
    line-height: 1.25;
}

.nki-quick-stat span {
    color: rgba(255, 255, 255, 0.82);
    display: block;
    font-size: 14px;
    margin-top: 4px;
}

/* Homepage Testimonials */
.nki-home-testimonials {
    background: var(--nki-bg-main);
    padding: 82px 0;
}

.nki-testimonials-grid,
.nki-blog-preview-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nki-testimonial-card,
.nki-blog-preview-card {
    background: #ffffff;
    border: 1px solid var(--nki-border);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(7, 89, 133, 0.08);
    padding: 26px;
}

.nki-testimonial-rating {
    color: var(--nki-accent);
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.nki-testimonial-quote {
    color: var(--nki-text-primary);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 22px;
}

.nki-testimonial-author strong,
.nki-testimonial-author span {
    display: block;
}

.nki-testimonial-author strong {
    color: var(--nki-primary-dark);
    font-size: 17px;
}

.nki-testimonial-author span {
    color: var(--nki-text-secondary);
    font-size: 14px;
    margin-top: 4px;
}

/* Homepage Blog Preview */
.nki-home-blog-preview {
    background: var(--nki-bg-soft);
    padding: 82px 0;
}

.nki-blog-preview-card h3 {
    color: var(--nki-primary-dark);
    font-size: 20px;
    margin-bottom: 12px;
}

.nki-blog-preview-card p {
    color: var(--nki-text-secondary);
    line-height: 1.65;
    margin-bottom: 18px;
}

.nki-blog-preview-tag {
    background: var(--nki-secondary-light);
    border-radius: 999px;
    color: var(--nki-primary);
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
    padding: 6px 12px;
}

/* Homepage Final CTA */
.nki-home-final-cta {
    background: var(--nki-primary-dark);
    color: #ffffff;
    padding: 82px 0;
}

.nki-final-cta-grid {
    display: grid;
    gap: 40px;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    align-items: start;
}

.nki-final-cta-copy p,
.nki-final-cta-list {
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
}

.nki-final-cta-list {
    display: grid;
    gap: 10px;
    list-style: none;
    margin-top: 22px;
}

.nki-final-cta-list li {
    border-left: 3px solid var(--nki-accent);
    padding-left: 12px;
}

.nki-final-cta-form {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
    color: var(--nki-text-primary);
    padding: 24px;
}

@media (max-width: 900px) {
    .nki-quick-appointment-inner,
    .nki-final-cta-grid {
        grid-template-columns: 1fr;
    }

    .nki-testimonials-grid,
    .nki-blog-preview-grid {
        grid-template-columns: 1fr;
    }

    .nki-quick-appointment-content h2,
    .nki-final-cta-copy h2 {
        font-size: 30px;
    }
}

@media (max-width: 520px) {
    .nki-home-quick-appointment,
    .nki-home-testimonials,
    .nki-home-blog-preview,
    .nki-home-final-cta {
        padding: 58px 0;
    }

    .nki-quick-appointment-actions .nki-btn {
        width: 100%;
    }

    .nki-testimonial-card,
    .nki-blog-preview-card,
    .nki-final-cta-form {
        padding: 20px;
    }
}

/* ==========================================================================
   Block: Æ¯u ÄÃ£i Äá»™ng (.nki-home-promotions)
   ========================================================================== */
.nki-home-promotions {
    padding: 82px 0;
    background-color: var(--nki-bg-main);
    position: relative;
}

.nki-home-promotions .nki-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.nki-home-promotions .nki-section-title {
    font-size: 38px;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    color: var(--nki-primary-dark);
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 18px;
    margin-bottom: 0;
}

.nki-home-promotions .nki-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, var(--nki-primary), var(--nki-accent));
    border-radius: 2px;
}

.nki-promotions-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nki-promo-card {
    background: #ffffff;
    border: 1px solid var(--nki-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(7, 89, 133, 0.04);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.nki-promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(11, 116, 184, 0.12);
}

.nki-promo-thumb {
    position: relative;
    height: 195px;
    overflow: hidden;
    background-color: var(--nki-secondary-light);
}

.nki-promo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nki-promo-card:hover .nki-promo-thumb img {
    transform: scale(1.08);
}

.nki-promo-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--nki-accent), #f39c12);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(246, 180, 75, 0.4);
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 2;
}

.nki-promo-content {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.nki-promo-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
}

.nki-promo-title a {
    color: var(--nki-primary-dark);
    transition: color 0.3s ease;
}

.nki-promo-title a:hover {
    color: var(--nki-primary);
}

.nki-promo-excerpt {
    color: var(--nki-text-secondary);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 14px;
    flex-grow: 1;
}

.nki-promo-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--nki-border);
    padding-top: 18px;
    margin-top: auto;
}

.nki-promo-status {
    color: #2ecc71;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Pulse animation for 'Äang diá»…n ra' status */
.status-pulse {
    width: 8px;
    height: 8px;
    background-color: #2ecc71;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.status-pulse::after {
    content: '';
    width: 100%;
    height: 100%;
    background-color: #2ecc71;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    animation: status-pulse-anim 1.8s infinite ease-in-out;
}

@keyframes status-pulse-anim {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(2.8);
        opacity: 0;
    }
}

.nki-promo-btn {
    font-size: 14px;
    font-weight: 700;
    color: var(--nki-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.nki-promo-btn .arrow {
    transition: transform 0.3s ease;
}

.nki-promo-card:hover .nki-promo-btn {
    color: var(--nki-primary-dark);
}

.nki-promo-card:hover .nki-promo-btn .arrow {
    transform: translateX(4px);
}

/* Empty promotions block placeholder */
.nki-promotions-placeholder {
    background-color: var(--nki-bg-soft);
    border: 2px dashed var(--nki-border);
    border-radius: 12px;
    padding: 50px 30px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.nki-placeholder-icon {
    color: var(--nki-primary);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    opacity: 0.8;
}

.nki-promotions-placeholder p {
    color: var(--nki-text-secondary);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.nki-placeholder-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* ==========================================================================
   NÃ¢ng cáº¥p Visual Hierarchy cho Block Dá»‹ch Vá»¥ (.nki-home-services)
   ========================================================================== */
.nki-home-services .nki-services-grid {
    gap: 30px;
}

/* Highlight card style */
.nki-service-card.highlight-card {
    border-top: 4px solid var(--nki-primary);
    box-shadow: 0 15px 35px rgba(11, 116, 184, 0.08);
}

.nki-service-card.highlight-card .nki-service-title {
    font-weight: 800;
}

.nki-service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--nki-accent);
    color: var(--nki-text-primary);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(246, 180, 75, 0.2);
    z-index: 2;
}

/* ==========================================================================
   Stats Counters Grid (náº±m trong Block Giá»›i Thiá»‡u)
   ========================================================================== */
.nki-about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    border-top: 1px solid var(--nki-border);
    padding-top: 30px;
}

.nki-stat-item {
    text-align: center;
    background: #ffffff;
    padding: 20px 15px;
    border-radius: 8px;
    border: 1px solid var(--nki-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.nki-stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(11, 116, 184, 0.05);
    border-color: var(--nki-primary);
}

.nki-stat-num {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--nki-primary-dark);
    margin-bottom: 6px;
    line-height: 1;
}

.nki-stat-label {
    display: block;
    font-size: 13px;
    color: var(--nki-text-secondary);
    font-weight: 600;
}

/* ==========================================================================
   Timeline 3 BÆ°á»›c KhÃ¡m Nhanh (.nki-appointment-steps)
   ========================================================================== */
.nki-appointment-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
    position: relative;
}

.nki-appointment-steps::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.nki-step-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 24px 20px;
    text-align: center;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.nki-step-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.nki-step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--nki-accent);
    color: var(--nki-text-primary);
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 0 15px rgba(246, 180, 75, 0.4);
}

.nki-step-card h3 {
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.nki-step-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1200px) {
    .nki-promotions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .nki-promotions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
    
    .nki-about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .nki-appointment-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .nki-appointment-steps::before {
        display: none;
    }
}

@media (max-width: 580px) {
    .nki-promotions-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
    
    .nki-placeholder-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .nki-placeholder-actions .nki-btn {
        width: 100%;
    }
    
    .nki-about-stats {
        grid-template-columns: 1fr;
    }
}



/* ==========================================================================
   PAGE: IMPLANT (BLOCK 1 TO 8)
   ========================================================================== */

/* --- BLOCK 1 --- */
/* 
 * NHA KHOA IVY - IMPLANT HERO BANNER 
 * Scoped Class: .nki-implant-hero
 */

.nki-implant-hero {
    position: relative;
    width: 100%;
    min-height: 85vh;
    display: flex;
    align-items: center;
    font-family: var(--nki-font);
    overflow: hidden;
    color: #ffffff;
    background-color: #333333;
}

.nki-implant-hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.nki-implant-hero__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.nki-implant-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient tá»« mÃ u Teal sang xÃ¡m áº¥m (Warm Gray) Ä‘á»ƒ lÃ m ná»•i báº­t text */
    background: linear-gradient(
        90deg, 
        rgba(0, 96, 100, 0.92) 0%, 
        rgba(0, 77, 64, 0.75) 45%, 
        rgba(84, 84, 84, 0.2) 100%
    );
}

.nki-implant-hero__container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

.nki-implant-hero__content {
    max-width: 650px;
    animation: nkiFadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.nki-implant-hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nki-implant-hero__subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    color: #b2dfdb; /* Xanh Teal nháº¡t táº¡o tÆ°Æ¡ng pháº£n */
}

.nki-implant-hero__description {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: #f5f5f5;
    font-weight: 400;
}

.nki-implant-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.nki-implant-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.nki-implant-hero__btn--primary {
    background-color: #00bfa5; /* Teal sÃ¡ng */
    color: #ffffff;
    border: 2px solid #00bfa5;
    box-shadow: 0 4px 15px rgba(0, 191, 165, 0.3);
}

.nki-implant-hero__btn--primary:hover {
    background-color: #009688;
    border-color: #009688;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 191, 165, 0.45);
}

.nki-implant-hero__btn--secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.nki-implant-hero__btn--secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

/* --- ANIMATION --- */
@keyframes nkiFadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .nki-implant-hero__title {
        font-size: 3rem;
    }
    .nki-implant-hero__subtitle {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .nki-implant-hero {
        min-height: 75vh;
    }
    .nki-implant-hero__content {
        max-width: 100%;
        text-align: center;
    }
    .nki-implant-hero__overlay {
        background: linear-gradient(
            180deg, 
            rgba(0, 96, 100, 0.85) 0%, 
            rgba(0, 77, 64, 0.9) 60%, 
            rgba(84, 84, 84, 0.95) 100%
        );
    }
    .nki-implant-hero__actions {
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
    }
    .nki-implant-hero__title {
        font-size: 2.25rem;
    }
}


/* --- BLOCK 2 --- */
.nki-implant-structure {
  --nki-primary: #0d9488;
  --nki-primary-light: #ccfbf1;
  --nki-text-main: #1e293b;
  --nki-text-muted: #475569;
  --nki-bg-light: #f8fafc;
  
  padding: 80px 20px;
  background-color: #ffffff;
  font-family: var(--nki-font);
  color: var(--nki-text-main);
  line-height: 1.6;
}

.nki-implant-structure__container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 992px) {
  .nki-implant-structure__container {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.nki-implant-structure__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.nki-implant-structure__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--nki-text-main);
  margin: 0;
  line-height: 1.3;
  position: relative;
  padding-bottom: 16px;
}

@media (min-width: 768px) {
  .nki-implant-structure__title {
    font-size: 40px;
  }
}

.nki-implant-structure__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background-color: var(--nki-primary);
  border-radius: 2px;
}

.nki-implant-structure__desc {
  font-size: 16px;
  color: var(--nki-text-muted);
  margin: 0 0 16px 0;
}

.nki-implant-structure__parts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nki-implant-structure__part {
  display: flex;
  gap: 20px;
  background-color: var(--nki-bg-light);
  padding: 24px;
  border-radius: 16px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.nki-implant-structure__part:hover {
  transform: translateY(-4px);
  background-color: #ffffff;
  border-color: var(--nki-primary-light);
  box-shadow: 0 12px 24px -8px rgba(13, 148, 136, 0.15);
}

.nki-implant-structure__part-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background-color: var(--nki-primary-light);
  color: var(--nki-primary);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.nki-implant-structure__part:hover .nki-implant-structure__part-number {
  background-color: var(--nki-primary);
  color: #ffffff;
}

.nki-implant-structure__part-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nki-implant-structure__part-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: var(--nki-text-main);
}

.nki-implant-structure__part-desc {
  font-size: 15px;
  color: var(--nki-text-muted);
  margin: 0;
}

.nki-implant-structure__visual {
  position: relative;
  width: 100%;
}

.nki-implant-structure__image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 48px -12px rgba(13, 148, 136, 0.2);
}

.nki-implant-structure__image-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.4));
  z-index: 1;
  pointer-events: none;
}

.nki-implant-structure__image {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.nki-implant-structure__image-wrapper:hover .nki-implant-structure__image {
  transform: scale(1.05);
}

.nki-implant-structure__badge {
  position: absolute;
  z-index: 2;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 12px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  color: var(--nki-primary);
  box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: nki-implant-float 6s ease-in-out infinite;
}

.nki-implant-structure__badge::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  background-color: var(--nki-primary);
  border-radius: 50%;
}

.nki-implant-structure__badge--1 {
  top: 20%;
  left: -20px;
  animation-delay: 0s;
}

.nki-implant-structure__badge--2 {
  bottom: 30%;
  right: -20px;
  animation-delay: 2s;
}

@keyframes nki-implant-float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

@media (max-width: 767px) {
  .nki-implant-structure__badge {
    left: 20px;
    right: auto;
  }
  .nki-implant-structure__badge--2 {
    bottom: 20px;
    right: 20px;
    left: auto;
  }
}


/* --- BLOCK 3 --- */
/* ==========================================================================
   BLOCK 3: NHá»®NG Lá»¢I ÃCH Cá»¦A PHÆ¯Æ NG PHÃP IMPLANT
   ========================================================================== */

.nki-implant-benefits {
  background-color: #f7fbfa; /* MÃ u ná»n xÃ¡m/xanh siÃªu nháº¡t, sáº¡ch sáº½ */
  padding: 80px 20px;
  font-family: var(--nki-font);
}

.nki-implant-benefits .nki-container {
  max-width: 1200px;
  margin: 0 auto;
}

.nki-implant-benefits__header {
  text-align: center;
  margin-bottom: 60px;
}

.nki-implant-benefits__title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0d3b3c; /* Xanh Teal tráº§m - Medical feel */
  margin: 0 0 15px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nki-implant-benefits__subtitle {
  font-size: 1.1rem;
  color: #666;
  margin: 0 auto;
  max-width: 600px;
  line-height: 1.5;
}

/* ÄÆ°á»ng line gradient lÃ m Ä‘iá»ƒm nháº¥n dÆ°á»›i tiÃªu Ä‘á» */
.nki-implant-benefits__title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #008080 0%, #20c997 100%);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* Sá»­ dá»¥ng flex-wrap Ä‘á»ƒ tá»± Ä‘á»™ng canh giá»¯a náº¿u láº» item (5 items) */
.nki-implant-benefits__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  counter-reset: nki-implant-benefit;
}

/* Styling cho tá»«ng Ã´ lá»£i Ã­ch (Card) */
.nki-implant-benefits__item {
  flex: 1 1 340px;
  max-width: 380px;
  background: #ffffff;
  border-radius: 24px;
  padding: 40px 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 128, 128, 0.06);
  z-index: 1;
  counter-increment: nki-implant-benefit;
}

/* Hiá»‡u á»©ng ná»•i bá»“ng bá»nh vÃ  phÃ¡t sÃ¡ng nháº¹ khi Hover */
.nki-implant-benefits__item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 128, 128, 0.12);
  border-color: rgba(0, 128, 128, 0.15);
}

/* Lá»›p phá»§ gradient áº©n, xuáº¥t hiá»‡n mÆ°á»£t mÃ  khi hover */
.nki-implant-benefits__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(32, 201, 151, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.nki-implant-benefits__item:hover::before {
  opacity: 1;
}

/* Bá»c ngoÃ i Icon */
.nki-implant-benefits__icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(0, 128, 128, 0.12), rgba(32, 201, 151, 0.18));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: #00796f;
  font-weight: 800;
  letter-spacing: 0;
  transition: all 0.4s ease;
}

.nki-implant-benefits__icon::before {
  content: counter(nki-implant-benefit, decimal-leading-zero);
  font-size: 1.15rem;
  line-height: 1;
}

/* Hiá»‡u á»©ng morphing cho Icon khi hover item */
.nki-implant-benefits__item:hover .nki-implant-benefits__icon {
  background: #008080;
  color: #ffffff;
  transform: scale(1.05) rotate(5deg);
  border-radius: 24px;
}

.nki-implant-benefits__icon svg {
  display: none;
}

.nki-implant-benefits__item-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.nki-implant-benefits__item-desc {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* Responsive cho thiáº¿t bá»‹ di Ä‘á»™ng */
@media (max-width: 768px) {
  .nki-implant-benefits {
    padding: 60px 15px;
  }
  
  .nki-implant-benefits__title {
    font-size: 1.8rem;
  }
  
  .nki-implant-benefits__grid {
    gap: 20px;
  }
  
  .nki-implant-benefits__item {
    padding: 30px 20px;
  }
}


/* --- BLOCK 4 --- */
/* ========================================================
   BLOCK 4: AI NÃŠN THá»°C HIá»†N Cáº¤Y GHÃ‰P IMPLANT
   Wrapper: .nki-implant-candidates
======================================================== */
.nki-implant-candidates {
    --nki-primary: #0F766E;
    --nki-primary-light: #CCFBF1;
    --nki-text-main: #111827;
    --nki-text-muted: #4B5563;
    --nki-white: #FFFFFF;
    --nki-border: #E5E7EB;
    --nki-radius-lg: 24px;
    --nki-radius-md: 16px;
    --nki-shadow-soft: 0 10px 40px -10px rgba(0,0,0,0.08);
    --nki-shadow-hover: 0 20px 40px -10px rgba(15, 118, 110, 0.12);
    
    background-color: var(--nki-white);
    padding: 100px 20px;
    font-family: var(--nki-font);
    color: var(--nki-text-main);
    overflow: hidden;
}

.nki-implant-candidates * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.nki-implant-candidates .nki-ic-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* --- Visual Section --- */
.nki-implant-candidates .nki-ic-visual {
    position: relative;
    padding: 20px;
}

.nki-implant-candidates .nki-ic-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 90%;
    background-color: var(--nki-primary-light);
    border-radius: var(--nki-radius-lg);
    z-index: 0;
    transform: rotate(-3deg);
    transition: transform 0.5s ease;
}

.nki-implant-candidates .nki-ic-visual:hover::before {
    transform: rotate(0deg);
}

.nki-implant-candidates .nki-ic-image-wrapper {
    position: relative;
    z-index: 1;
    border-radius: var(--nki-radius-lg);
    overflow: hidden;
    box-shadow: var(--nki-shadow-soft);
    aspect-ratio: 4/5;
    background-color: #f3f4f6;
}

.nki-implant-candidates .nki-ic-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.nki-implant-candidates .nki-ic-image-wrapper:hover .nki-ic-img {
    transform: scale(1.05);
}

.nki-implant-candidates .nki-ic-badge {
    position: absolute;
    bottom: 40px;
    right: -20px;
    background: var(--nki-white);
    padding: 16px 24px;
    border-radius: var(--nki-radius-md);
    box-shadow: var(--nki-shadow-soft);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
    animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.nki-implant-candidates .nki-ic-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: var(--nki-primary-light);
    color: var(--nki-primary);
    border-radius: 50%;
}

.nki-implant-candidates .nki-ic-badge-icon svg {
    width: 24px;
    height: 24px;
}

.nki-implant-candidates .nki-ic-badge-text {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--nki-primary);
    white-space: nowrap;
}

/* --- Content Section --- */
.nki-implant-candidates .nki-ic-content {
    display: flex;
    flex-direction: column;
}

.nki-implant-candidates .nki-ic-tag {
    display: inline-block;
    align-self: flex-start;
    background-color: var(--nki-primary-light);
    color: var(--nki-primary);
    padding: 8px 16px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.nki-implant-candidates .nki-ic-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--nki-text-main);
    letter-spacing: -0.02em;
}

.nki-implant-candidates .nki-ic-desc {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--nki-text-muted);
    margin-bottom: 40px;
}

.nki-implant-candidates .nki-ic-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nki-implant-candidates .nki-ic-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--nki-white);
    padding: 24px;
    border-radius: var(--nki-radius-md);
    border: 1px solid var(--nki-border);
    transition: all 0.3s ease;
    cursor: default;
}

.nki-implant-candidates .nki-ic-item:hover {
    border-color: var(--nki-primary-light);
    background-color: var(--nki-white);
    box-shadow: var(--nki-shadow-hover);
    transform: translateX(8px);
}

.nki-implant-candidates .nki-ic-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--nki-primary-light);
    color: var(--nki-primary);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.nki-implant-candidates .nki-ic-item:hover .nki-ic-icon {
    transform: scale(1.1);
    background-color: var(--nki-primary);
    color: var(--nki-white);
}

.nki-implant-candidates .nki-ic-icon svg {
    width: 24px;
    height: 24px;
}

.nki-implant-candidates .nki-ic-text {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--nki-text-muted);
    padding-top: 4px;
}

.nki-implant-candidates .nki-ic-text strong {
    color: var(--nki-text-main);
    font-weight: 700;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .nki-implant-candidates .nki-ic-container {
        gap: 50px;
    }
    
    .nki-implant-candidates .nki-ic-title {
        font-size: 2.25rem;
    }
    
    .nki-implant-candidates .nki-ic-badge {
        right: 0;
    }
}

@media (max-width: 768px) {
    .nki-implant-candidates {
        padding: 80px 20px;
    }

    .nki-implant-candidates .nki-ic-container {
        grid-template-columns: 1fr;
    }
    
    .nki-implant-candidates .nki-ic-visual {
        max-width: 500px;
        margin: 0 auto;
        padding: 10px;
    }
    
    .nki-implant-candidates .nki-ic-content {
        padding-top: 20px;
    }
}

@media (max-width: 576px) {
    .nki-implant-candidates {
        padding: 60px 16px;
    }
    
    .nki-implant-candidates .nki-ic-title {
        font-size: 1.875rem;
    }
    
    .nki-implant-candidates .nki-ic-item {
        padding: 20px 16px;
        gap: 16px;
    }
    
    .nki-implant-candidates .nki-ic-item:hover {
        transform: translateY(-4px);
    }
    
    .nki-implant-candidates .nki-ic-icon {
        width: 40px;
        height: 40px;
    }
    
    .nki-implant-candidates .nki-ic-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .nki-implant-candidates .nki-ic-text {
        font-size: 1rem;
    }
    
    .nki-implant-candidates .nki-ic-badge {
        bottom: 20px;
        right: 10px;
        padding: 12px 16px;
    }
    
    .nki-implant-candidates .nki-ic-badge-icon {
        width: 36px;
        height: 36px;
    }
    
    .nki-implant-candidates .nki-ic-badge-text {
        font-size: 1rem;
    }
}


/* --- BLOCK 5 --- */
.nki-implant-process {
  padding: 80px 0;
  background-color: #f8fafc;
  font-family: var(--nki-font);
}

.nki-implant-process .nki-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nki-implant-process__header {
  text-align: center;
  margin-bottom: 60px;
}

.nki-implant-process__title {
  font-size: 2.25rem;
  color: #0f4c5c;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  line-height: 1.3;
}

.nki-implant-process__divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #0f4c5c, #2995a3);
  margin: 0 auto;
  border-radius: 2px;
}

.nki-implant-process__timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.nki-implant-process__timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: #cbd5e1;
}

.nki-implant-process .nki-process-step {
  position: relative;
  width: 50%;
  padding-right: 50px;
  margin-bottom: 40px;
}

.nki-implant-process .nki-process-step:nth-child(even) {
  align-self: flex-end;
  padding-right: 0;
  padding-left: 50px;
}

.nki-implant-process .nki-process-step:last-child {
  margin-bottom: 0;
}

.nki-implant-process .nki-process-step__indicator {
  position: absolute;
  top: 0;
  right: -24px;
  width: 48px;
  height: 48px;
  background: #ffffff;
  border: 3px solid #0f4c5c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(15, 76, 92, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nki-implant-process .nki-process-step:nth-child(even) .nki-process-step__indicator {
  left: -24px;
  right: auto;
}

.nki-implant-process .nki-process-step:hover .nki-process-step__indicator {
  background: #0f4c5c;
  transform: scale(1.15);
  box-shadow: 0 6px 15px rgba(15, 76, 92, 0.3);
}

.nki-implant-process .nki-process-step__number {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f4c5c;
  transition: color 0.4s ease;
}

.nki-implant-process .nki-process-step:hover .nki-process-step__number {
  color: #ffffff;
}

.nki-implant-process .nki-process-step__content {
  background: #ffffff;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  position: relative;
  border: 1px solid #e2e8f0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.nki-implant-process .nki-process-step:hover .nki-process-step__content {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(15, 76, 92, 0.08);
  border-color: #cbd5e1;
}

.nki-implant-process .nki-process-step__content::before {
  content: '';
  position: absolute;
  top: 18px;
  right: -10px;
  width: 20px;
  height: 20px;
  background: #ffffff;
  transform: rotate(45deg);
  border-top: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  z-index: 1;
  transition: border-color 0.4s ease;
}

.nki-implant-process .nki-process-step:nth-child(even) .nki-process-step__content::before {
  right: auto;
  left: -10px;
  border-top: none;
  border-right: none;
  border-bottom: 1px solid #e2e8f0;
  border-left: 1px solid #e2e8f0;
}

.nki-implant-process .nki-process-step:hover .nki-process-step__content::before {
  border-color: #cbd5e1;
}

.nki-implant-process .nki-process-step__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 0;
  margin-bottom: 12px;
  line-height: 1.5;
}

.nki-implant-process .nki-process-step__desc {
  font-size: 1rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

.nki-implant-process .nki-process-step__desc strong {
  color: #334155;
}

/* Responsive */
@media (max-width: 768px) {
  .nki-implant-process {
    padding: 60px 0;
  }

  .nki-implant-process__title {
    font-size: 1.75rem;
  }

  .nki-implant-process__timeline::before {
    left: 24px;
    transform: none;
  }

  .nki-implant-process .nki-process-step {
    width: 100%;
    padding-left: 70px;
    padding-right: 0;
  }

  .nki-implant-process .nki-process-step:nth-child(even) {
    align-self: flex-start;
    padding-left: 70px;
  }

  .nki-implant-process .nki-process-step__indicator {
    left: 0;
    right: auto;
  }

  .nki-implant-process .nki-process-step:nth-child(even) .nki-process-step__indicator {
    left: 0;
  }

  .nki-implant-process .nki-process-step__content::before {
    right: auto;
    left: -10px;
    border-top: none;
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
    border-left: 1px solid #e2e8f0;
  }

  .nki-implant-process .nki-process-step__content {
    padding: 24px;
  }
}


/* --- BLOCK 6 --- */
.nki-implant-pricing {
  padding: 80px 20px;
  background-color: #f8fafc;
  font-family: var(--nki-font);
  color: #1e293b;
}

.nki-implant-pricing__container {
  max-width: 1000px;
  margin: 0 auto;
}

.nki-implant-pricing__header {
  text-align: center;
  margin-bottom: 48px;
}

.nki-implant-pricing__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0f766e;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.nki-implant-pricing__note {
  font-size: 1rem;
  color: #64748b;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.nki-implant-pricing__table-wrapper {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px -5px rgba(15, 118, 110, 0.05), 0 4px 6px -2px rgba(15, 118, 110, 0.025);
  overflow-x: auto;
  border: 1px solid #e2e8f0;
}

.nki-implant-pricing__table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 600px; /* Äáº£m báº£o báº£ng khÃ´ng bá»‹ vá»¡ trÃªn thiáº¿t bá»‹ di Ä‘á»™ng */
}

.nki-implant-pricing__table th {
  background-color: #0f766e;
  color: #ffffff;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 20px 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.nki-implant-pricing__table td {
  padding: 20px 24px;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
  font-size: 1.05rem;
  transition: background-color 0.3s ease;
}

.nki-implant-pricing__table tbody tr:last-child td {
  border-bottom: none;
}

.nki-implant-pricing__table tbody tr:hover td {
  background-color: #f1f5f9;
}

.nki-implant-pricing__table tbody td:first-child {
  font-weight: 600;
  color: #0f766e;
}

.nki-implant-pricing__table tbody td:last-child {
  color: #ef4444;
}

/* Responsive */
@media (max-width: 768px) {
  .nki-implant-pricing {
    padding: 60px 16px;
  }

  .nki-implant-pricing__title {
    font-size: 2rem;
  }

  .nki-implant-pricing__table th,
  .nki-implant-pricing__table td {
    padding: 16px;
    font-size: 0.95rem;
  }
}


/* --- BLOCK 7 --- */
.nki-implant-stories {
    padding: 80px 0;
    background-color: #f8fafc;
    font-family: var(--nki-font);
    color: #334155;
}

.nki-implant-stories .nki-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nki-implant-stories .nki-stories-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #0f766e;
    margin-bottom: 50px;
    position: relative;
    text-transform: uppercase;
}

.nki-implant-stories .nki-stories-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #14b8a6;
    border-radius: 2px;
}

.nki-implant-stories .nki-stories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .nki-implant-stories .nki-stories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.nki-implant-stories .nki-story-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.nki-implant-stories .nki-story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 118, 110, 0.1);
}

.nki-implant-stories .nki-story-video {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* Tá»· lá»‡ 16:9 */
    background: #e2e8f0;
    overflow: hidden;
}

.nki-implant-stories .nki-story-video img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.nki-implant-stories .nki-story-card:hover .nki-story-video img {
    transform: scale(1.05);
}

.nki-implant-stories .nki-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #0f766e;
    transition: all 0.3s ease;
}

.nki-implant-stories .nki-play-btn:hover {
    background: #0f766e;
    color: #ffffff;
    transform: translate(-50%, -50%) scale(1.1);
}

.nki-implant-stories .nki-play-btn svg {
    width: 28px;
    height: 28px;
    margin-left: 4px;
}

.nki-implant-stories .nki-story-content {
    padding: 40px 30px 30px;
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.nki-implant-stories .nki-quote-icon {
    width: 48px;
    height: 48px;
    color: #ccfbf1;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 0;
}

.nki-implant-stories .nki-story-quote {
    font-size: 16px;
    line-height: 1.7;
    color: #475569;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.nki-implant-stories .nki-story-author {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
}

.nki-implant-stories .nki-author-name {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px 0;
}

.nki-implant-stories .nki-author-info {
    font-size: 14px;
    color: #64748b;
}

@media (max-width: 768px) {
    .nki-implant-stories {
        padding: 50px 0;
    }
    .nki-implant-stories .nki-stories-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
}


/* --- BLOCK 8 --- */
.nki-implant-lead-form {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f4f9f9 0%, #ffffff 100%);
  font-family: var(--nki-font);
  color: #333333;
}

.nki-implant-lead-form * {
  box-sizing: border-box;
}

.nki-implant-lead-form .nki-ilf-container {
  max-width: 1100px;
  margin: 0 auto;
}

.nki-implant-lead-form .nki-ilf-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 24px 50px rgba(0, 124, 137, 0.08), 0 4px 15px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.nki-implant-lead-form .nki-ilf-text {
  background: linear-gradient(145deg, #007c89 0%, #00606b 100%);
  color: #ffffff;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.nki-implant-lead-form .nki-ilf-text::after {
  content: '';
  position: absolute;
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.nki-implant-lead-form .nki-ilf-title {
  font-size: 32px;
  line-height: 1.4;
  font-weight: 700;
  margin: 0 0 30px 0;
  position: relative;
  z-index: 2;
}

.nki-implant-lead-form .nki-ilf-note {
  background: rgba(255, 255, 255, 0.12);
  padding: 24px;
  border-radius: 16px;
  border-left: 5px solid #f2a900;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  backdrop-filter: blur(10px);
}

.nki-implant-lead-form .nki-ilf-note svg {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  fill: #f2a900;
}

.nki-implant-lead-form .nki-ilf-note p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.nki-implant-lead-form .nki-ilf-form {
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
}

.nki-implant-lead-form .nki-ilf-form .nki-lead-form-container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.nki-implant-lead-form .nki-ilf-form .nki-lead-form-header {
  display: none;
}

.nki-implant-lead-form .nki-ilf-form .nki-form-group {
  margin-bottom: 18px;
}

.nki-implant-lead-form .nki-ilf-form .nki-form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #29435c;
}

.nki-implant-lead-form .nki-ilf-form .nki-form-group input,
.nki-implant-lead-form .nki-ilf-form .nki-form-group select,
.nki-implant-lead-form .nki-ilf-form .nki-form-group textarea {
  width: 100%;
  min-height: 50px;
  padding: 14px 16px;
  border: 1px solid #d9e6ef;
  border-radius: 12px;
  background: #f8fafc;
  color: #1f2937;
  font-size: 16px;
}

.nki-implant-lead-form .nki-ilf-form .nki-form-group textarea {
  min-height: 108px;
  resize: vertical;
}

.nki-implant-lead-form .nki-ilf-form .nki-form-group input:focus,
.nki-implant-lead-form .nki-ilf-form .nki-form-group select:focus,
.nki-implant-lead-form .nki-ilf-form .nki-form-group textarea:focus {
  outline: none;
  border-color: #007c89;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 124, 137, 0.1);
}

.nki-implant-lead-form .nki-ilf-form .nki-form-submit .nki-btn,
.nki-implant-lead-form .nki-ilf-form .nki-btn-block {
  width: 100%;
  min-height: 56px;
  border-radius: 14px;
  background: #f2a900;
  color: #ffffff;
  border: 0;
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
}

.nki-implant-lead-form .nki-ilf-form .nki-form-notice {
  margin-top: 14px;
}

.nki-implant-lead-form .nki-ilf-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nki-implant-lead-form .nki-ilf-group label {
  font-size: 15px;
  font-weight: 600;
  color: #4a5568;
}

.nki-implant-lead-form .nki-ilf-group input,
.nki-implant-lead-form .nki-ilf-group select,
.nki-implant-lead-form .nki-ilf-group textarea {
  width: 100%;
  padding: 16px 18px;
  font-size: 16px;
  color: #2d3748;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background-color: #f8fafc;
  transition: all 0.3s ease;
  font-family: inherit;
}

.nki-implant-lead-form .nki-ilf-group input::placeholder,
.nki-implant-lead-form .nki-ilf-group textarea::placeholder {
  color: #a0aec0;
}

.nki-implant-lead-form .nki-ilf-group input:focus,
.nki-implant-lead-form .nki-ilf-group select:focus,
.nki-implant-lead-form .nki-ilf-group textarea:focus {
  outline: none;
  border-color: #007c89;
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 124, 137, 0.1);
}

.nki-implant-lead-form .nki-ilf-submit {
  margin-top: 16px;
  padding: 18px 36px;
  background-color: #f2a900;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s;
}

.nki-implant-lead-form .nki-ilf-submit:hover {
  background-color: #e59f00;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(229, 159, 0, 0.3);
}

@media (max-width: 992px) {
  .nki-implant-lead-form .nki-ilf-content {
    grid-template-columns: 1fr;
  }
  .nki-implant-lead-form .nki-ilf-text {
    padding: 50px 30px;
  }
  .nki-implant-lead-form .nki-ilf-form {
    padding: 50px 30px;
  }
}

@media (max-width: 576px) {
  .nki-implant-lead-form {
    padding: 40px 15px;
  }
  .nki-implant-lead-form .nki-ilf-title {
    font-size: 26px;
  }
  .nki-implant-lead-form .nki-ilf-text,
  .nki-implant-lead-form .nki-ilf-form {
    padding: 40px 20px;
  }
  .nki-implant-lead-form .nki-ilf-submit {
    font-size: 16px;
    padding: 16px 24px;
  }
}



/* --- AI Generated Block Styles --- */
/* ==========================================================================
   SERVICES SECTION - MODERN GLASSMORPHISM
   ========================================================================== */

.glass-services {
    padding: 80px 0;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative background elements for glassmorphism to show through */
.glass-services::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.15) 0%, rgba(52, 152, 219, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.glass-services::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.1) 0%, rgba(46, 204, 113, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.glass-services .nki-container {
    position: relative;
    z-index: 1;
}

.glass-services .nki-section-header {
    margin-bottom: 50px;
    text-align: center;
}

.glass-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* Glass Card Styles */
.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.4s ease, 
                border-color 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.glass-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.8);
}

.glass-card .nki-service-thumb {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.glass-card .nki-service-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.6s ease;
}

/* Hover interactions: scale up, image glow */
.glass-card:hover .nki-service-thumb img {
    transform: scale(1.08);
    filter: brightness(1.1) contrast(1.05);
}

/* Glow effect overlay on hover */
.glass-card .nki-service-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.glass-card:hover .nki-service-thumb::after {
    opacity: 1;
}

.glass-card .nki-service-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #e74c3c;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Specific styling for highlight card badge */
.glass-card.highlight-card .nki-service-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5253);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(238, 82, 83, 0.4);
}

.glass-card .nki-service-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.glass-card .nki-service-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.glass-card:hover .nki-service-title {
    color: #0984e3;
}

.glass-card .nki-service-text {
    color: #636e72;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.glass-card .nki-service-link {
    display: inline-flex;
    align-items: center;
    color: #0984e3;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    margin-top: auto;
    padding-bottom: 5px;
    position: relative;
    align-self: flex-start;
}

.glass-card .nki-service-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #0984e3;
    transition: width 0.3s ease;
}

.glass-card .nki-service-link:hover::after {
    width: 100%;
}

.glass-card .nki-service-link .arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.glass-card .nki-service-link:hover .arrow {
    transform: translateX(6px);
}

@media (max-width: 768px) {
    .glass-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   ABOUT SECTION - OVERLAPPING & GLASSMORPHISM STATS
   ========================================================================== */

.overlapping-about {
    padding: 120px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.overlapping-about .nki-about-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.nki-about-media-col {
    width: 55%;
    position: relative;
    z-index: 1;
}

.nki-about-image-wrapper {
    position: relative;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.nki-about-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 30px;
    object-fit: cover;
    aspect-ratio: 4/3;
}

/* Glassmorphism Stats overlapping the image */
.nki-about-stats-glass {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    z-index: 2;
    animation: float-stats 6s ease-in-out infinite;
}

@keyframes float-stats {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.nki-stat-item-glass {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    animation: stat-pulse 2s infinite alternate;
}

/* Staggered animation delays for a cascading effect */
.nki-stat-item-glass:nth-child(1) { animation-delay: 0s; }
.nki-stat-item-glass:nth-child(2) { animation-delay: 0.5s; }
.nki-stat-item-glass:nth-child(3) { animation-delay: 1s; }
.nki-stat-item-glass:nth-child(4) { animation-delay: 1.5s; }

.nki-stat-num-glass {
    font-size: 38px;
    font-weight: 800;
    background: linear-gradient(135deg, #0984e3 0%, #00b894 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    margin-bottom: 5px;
}

.nki-stat-label-glass {
    font-size: 13px;
    font-weight: 700;
    color: #2d3436;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nki-about-content-col {
    width: 50%;
    margin-left: -5%; /* Creates the overlapping layout */
    z-index: 2;
}

.nki-about-content-inner {
    background: #ffffff;
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.08);
}

.nki-about-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: #0984e3;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 50px;
}

.nki-about-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 2px;
    background: #0984e3;
}

.nki-about-title {
    font-size: 36px;
    font-weight: 800;
    color: #2d3436;
    line-height: 1.3;
    margin-bottom: 25px;
}

.nki-about-body {
    color: #636e72;
    font-size: 16px;
    line-height: 1.8;
}

.nki-about-body p {
    margin-bottom: 20px;
}

.nki-about-body strong {
    color: #2d3436;
}

.nki-about-actions {
    margin-top: 40px;
}

.animated-btn {
    display: inline-block;
    background: linear-gradient(135deg, #0984e3 0%, #00cec9 100%);
    color: white;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(9, 132, 227, 0.3);
    transition: all 0.3s ease;
    border: none;
}

.animated-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(9, 132, 227, 0.4);
    color: white;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .nki-about-media-col {
        width: 100%;
        margin-bottom: 60px;
    }
    
    .nki-about-content-col {
        width: 100%;
        margin-left: 0;
        margin-top: -80px; /* Overlap vertically on smaller screens */
    }
    
    .overlapping-about .nki-about-wrapper {
        flex-direction: column;
    }
    
    .nki-about-stats-glass {
        bottom: -20px;
        right: 50%;
        transform: translateX(50%);
        width: 90%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .nki-about-content-inner {
        padding: 40px 30px;
    }
    
    .nki-about-title {
        font-size: 28px;
    }
    
    .nki-about-stats-glass {
        grid-template-columns: 1fr 1fr;
        padding: 20px;
        gap: 20px;
    }
    
    .nki-stat-num-glass {
        font-size: 28px;
    }
}

/* QUICK APPOINTMENT SECTION */
.nki-home-quick-appointment {
	padding: 80px 0;
	background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 100%);
	position: relative;
	overflow: hidden;
}

.nki-home-quick-appointment::before {
	content: '';
	position: absolute;
	top: -10%;
	right: -5%;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(14,165,233,0.1) 0%, rgba(255,255,255,0) 70%);
	border-radius: 50%;
	z-index: 0;
}

.nki-quick-appointment-inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	position: relative;
	z-index: 1;
}

@media (min-width: 992px) {
	.nki-quick-appointment-inner {
		grid-template-columns: 2fr 1fr;
		align-items: center;
	}
}

.nki-quick-appointment-content {
	padding-right: 0;
}

@media (min-width: 992px) {
	.nki-quick-appointment-content {
		padding-right: 50px;
	}
}

.nki-home-quick-appointment .nki-section-subtitle {
	display: inline-block;
	color: #0ea5e9;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 10px;
	font-size: 14px;
}

.nki-home-quick-appointment h2 {
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 800;
	color: #0f172a;
	margin-bottom: 15px;
	line-height: 1.2;
}

.nki-quick-appointment-lead {
	font-size: 18px;
	color: #475569;
	margin-bottom: 40px;
}

/* TIMELINE DESIGN */
.nki-appointment-timeline {
	position: relative;
	margin-bottom: 40px;
	padding-left: 30px;
}

.nki-appointment-timeline::before {
	content: '';
	position: absolute;
	left: 9px;
	top: 10px;
	bottom: 20px;
	width: 2px;
	background: linear-gradient(to bottom, #0ea5e9 0%, #38bdf8 50%, transparent 100%);
}

.nki-timeline-step {
	position: relative;
	margin-bottom: 30px;
	padding-left: 20px;
}

.nki-timeline-step:last-child {
	margin-bottom: 0;
}

.nki-timeline-marker {
	position: absolute;
	left: -26px;
	top: 25px;
	width: 14px;
	height: 14px;
	background: #fff;
	border: 3px solid #0ea5e9;
	border-radius: 50%;
	z-index: 2;
	box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.2);
	transition: all 0.3s ease;
}

.nki-timeline-step:hover .nki-timeline-marker {
	background: #0ea5e9;
	box-shadow: 0 0 0 6px rgba(14, 165, 233, 0.3);
}

.nki-timeline-content {
	background: #ffffff;
	padding: 25px 30px;
	border-radius: 16px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
	position: relative;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid rgba(226, 232, 240, 0.5);
}

.nki-timeline-step:hover .nki-timeline-content {
	transform: translateY(-5px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
	border-color: rgba(14, 165, 233, 0.3);
}

.nki-timeline-content::before {
	content: attr(data-step);
	position: absolute;
	top: -15px;
	right: -5px;
	font-size: 120px;
	font-weight: 900;
	color: rgba(14, 165, 233, 0.05);
	line-height: 1;
	font-family: var(--nki-font);
	pointer-events: none;
	transition: color 0.3s ease, transform 0.3s ease;
}

.nki-timeline-step:hover .nki-timeline-content::before {
	color: rgba(14, 165, 233, 0.1);
	transform: scale(1.05);
}

.nki-timeline-content h3 {
	font-size: 20px;
	color: #0f172a;
	margin-bottom: 10px;
	font-weight: 700;
	position: relative;
	z-index: 1;
}

.nki-timeline-content p {
	font-size: 15px;
	color: #64748b;
	line-height: 1.6;
	margin: 0;
	position: relative;
	z-index: 1;
}

.nki-quick-appointment-actions {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

.nki-quick-appointment-actions .nki-btn {
	padding: 14px 28px;
	border-radius: 50px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
	display: inline-block;
}

.nki-quick-appointment-actions .nki-btn-accent {
	background: #0ea5e9;
	color: #fff;
	box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.nki-quick-appointment-actions .nki-btn-accent:hover {
	background: #0284c7;
	box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
	transform: translateY(-2px);
}

.nki-quick-appointment-actions .nki-btn-outline-white {
	background: #fff;
	color: #0ea5e9;
	border: 2px solid #0ea5e9;
}

.nki-quick-appointment-actions .nki-btn-outline-white:hover {
	background: #f0f9ff;
	transform: translateY(-2px);
}

/* INFO PANEL */
.nki-quick-appointment-panel {
	background: #0f172a;
	border-radius: 24px;
	padding: 40px;
	color: #fff;
	display: flex;
	flex-direction: column;
	gap: 30px;
	position: relative;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
}

.nki-quick-appointment-panel::after {
	content: '';
	position: absolute;
	bottom: -50px;
	right: -50px;
	width: 200px;
	height: 200px;
	background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, transparent 70%);
	border-radius: 50%;
}

.nki-quick-stat {
	display: flex;
	flex-direction: column;
	gap: 5px;
	border-left: 3px solid #0ea5e9;
	padding-left: 20px;
	position: relative;
	z-index: 1;
}

.nki-quick-stat strong {
	font-size: 24px;
	font-weight: 700;
	color: #e0f2fe;
}

.nki-quick-stat span {
	font-size: 14px;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* TESTIMONIALS SECTION - SCROLL SNAP SLIDER */
.nki-home-testimonials {
	padding: 80px 0;
	background: #f8fafc;
	overflow: hidden;
}

.nki-home-testimonials .nki-section-header {
	text-align: center;
	margin-bottom: 50px;
}

.nki-home-testimonials .nki-section-subtitle {
	color: #0ea5e9;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	display: block;
	margin-bottom: 10px;
	font-size: 14px;
}

.nki-home-testimonials .nki-section-title {
	font-size: clamp(28px, 4vw, 36px);
	font-weight: 800;
	color: #0f172a;
	margin-bottom: 15px;
}

.nki-home-testimonials .nki-section-desc {
	color: #64748b;
	font-size: 16px;
	max-width: 600px;
	margin: 0 auto;
}

.nki-testimonials-slider-wrapper {
	position: relative;
	width: 100%;
}

.nki-testimonials-slider {
	display: flex;
	gap: 30px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 20px 20px 40px 20px;
	-ms-overflow-style: none; /* IE and Edge */
	scrollbar-width: none; /* Firefox */
	scroll-behavior: smooth;
}

.nki-testimonials-slider::-webkit-scrollbar {
	display: none;
}

.nki-testimonial-card {
	flex: 0 0 100%;
	scroll-snap-align: center;
	background: #ffffff;
	border-radius: 20px;
	padding: 40px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.04);
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	border: 1px solid rgba(226, 232, 240, 0.8);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 768px) {
	.nki-testimonial-card {
		flex: 0 0 calc(50% - 15px);
	}
}

@media (min-width: 1024px) {
	.nki-testimonial-card {
		flex: 0 0 calc(33.333% - 20px);
	}
}

.nki-testimonial-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 40px rgba(14, 165, 233, 0.08);
	border-color: #bae6fd;
}

.nki-testimonial-quote-icon {
	position: absolute;
	top: 15px;
	right: 25px;
	font-size: 80px;
	font-family: Georgia, serif;
	line-height: 1;
	color: rgba(14, 165, 233, 0.1);
	pointer-events: none;
}

.nki-testimonial-quote {
	font-size: 16px;
	color: #334155;
	line-height: 1.7;
	font-style: italic;
	margin-bottom: 30px;
	position: relative;
	z-index: 1;
}

.nki-testimonial-author {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-top: auto;
}

.nki-testimonial-avatar {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #e0f2fe;
}

.nki-testimonial-author-info {
	display: flex;
	flex-direction: column;
}

.nki-testimonial-author-info strong {
	display: block;
	font-size: 16px;
	color: #0f172a;
	margin-bottom: 4px;
}

.nki-testimonial-rating {
	color: #f59e0b;
	font-size: 14px;
	letter-spacing: 2px;
}

.nki-testimonials-scroll-hint {
	text-align: center;
	color: #94a3b8;
	font-size: 14px;
	margin-top: -10px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.nki-testimonials-scroll-hint span {
	animation: pulseHint 2s infinite;
	background: rgba(226, 232, 240, 0.5);
	padding: 5px 15px;
	border-radius: 20px;
}

@keyframes pulseHint {
	0%, 100% { opacity: 0.5; }
	50% { opacity: 1; }
}

/* Blog Preview Section Styles */
.nki-home-blog-preview {
    padding: 80px 0;
    background-color: #f8fafc;
}

.nki-blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.nki-blog-preview-card {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    border: 1px solid #f1f5f9;
}

.nki-blog-preview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.nki-blog-preview-content {
    z-index: 1;
    transition: opacity 0.3s ease;
}

.nki-blog-preview-tag {
    display: inline-block;
    padding: 6px 12px;
    background: #e0f2fe;
    color: #0284c7;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nki-blog-preview-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.5;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.nki-blog-preview-card:hover h3 {
    color: #0284c7;
}

.nki-blog-preview-card p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
}

.nki-blog-preview-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 132, 199, 0.95), rgba(2, 132, 199, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    transform: translateY(20px);
}

.nki-blog-preview-card:hover .nki-blog-preview-overlay {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nki-blog-preview-overlay .nki-service-link {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    padding: 12px 24px;
    border: 2px solid #ffffff;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.nki-blog-preview-overlay .nki-service-link:hover {
    background: #ffffff;
    color: #0284c7;
}

.nki-blog-preview-overlay .nki-service-link .arrow {
    transition: transform 0.3s ease;
}

.nki-blog-preview-overlay .nki-service-link:hover .arrow {
    transform: translateX(4px);
}

/* Final CTA Section Styles */
.nki-home-final-cta {
    background: linear-gradient(135deg, #0B74B8 0%, #075985 100%);
    padding: 80px 0;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.nki-home-final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
    pointer-events: none;
}

.nki-final-cta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 992px) {
    .nki-final-cta-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.nki-final-cta-copy .cta-subtitle {
    color: #bae6fd;
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    margin-bottom: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nki-final-cta-copy h2 {
    color: #ffffff;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 24px;
}

.nki-final-cta-copy p {
    color: #e0f2fe;
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.nki-final-cta-list {
    display: grid;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nki-final-cta-list li {
    position: relative;
    display: block;
    min-height: 0;
    margin: 0;
    padding-left: 0;
    border-left: 0;
    color: #f0f9ff;
    font-size: 1.05rem;
    line-height: 1.55;
}

.nki-final-cta-list li::before,
.nki-final-cta-list li::after {
    content: none;
    display: none;
}

.nki-final-cta-form {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    color: #334155;
}



/* --- HOTFIXES --- */
/* Fix Font Family */
.glass-services *, .overlapping-about *, .nki-home-quick-appointment *, .nki-home-testimonials *, .nki-home-blog-preview *, .nki-home-final-cta * {
    font-family: inherit;
}
.nki-testimonial-quote-icon {
    font-family: Georgia, serif !important;
}

/* Pricing remake prototype */
.nki-price-consult-hero,
.nki-price-consult-table,
.nki-price-consult-policy,
.nki-price-consult-cta,
.nki-price-confirm-note,
.nki-price-hub-grid-wrap,
.nki-price-child-hero,
.nki-price-placeholder,
.nki-price-child-cta {
    font-family: var(--nki-font);
}

.nki-price-consult-hero,
.nki-price-child-hero {
    background: linear-gradient(135deg, #f5f9fc 0%, #e6f7fb 100%);
    padding: 80px 0 64px;
}

.nki-price-eyebrow {
    color: var(--nki-accent);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.nki-price-consult-hero h1,
.nki-price-consult-hero h2,
.nki-price-child-hero h1 {
    color: var(--nki-primary-dark);
    font-size: 44px;
    line-height: 1.15;
    max-width: 760px;
}

.nki-price-consult-hero p,
.nki-price-child-hero p,
.nki-price-placeholder p,
.nki-price-child-cta p {
    color: var(--nki-text-secondary);
    font-size: 1.05rem;
    max-width: 780px;
}

.nki-price-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.nki-price-btn {
    align-items: center;
    background: var(--nki-primary);
    border: 2px solid var(--nki-primary);
    border-radius: 6px;
    color: #fff;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    text-align: center;
}

.nki-price-btn:hover {
    background: var(--nki-primary-dark);
    border-color: var(--nki-primary-dark);
    color: #fff;
}

.nki-price-btn--ghost {
    background: #fff;
    color: var(--nki-primary-dark);
}

.nki-price-btn--ghost:hover {
    background: var(--nki-secondary-light);
    color: var(--nki-primary-dark);
}

.nki-price-consult-table,
.nki-price-hub-grid-wrap,
.nki-price-placeholder,
.nki-price-child-cta {
    background: #fff;
    padding: 64px 0;
}

.nki-price-consult-table--xray {
    background: var(--nki-bg-soft);
}

.nki-price-section-head {
    margin-bottom: 28px;
    max-width: 780px;
}

.nki-price-section-head h2 {
    color: var(--nki-primary-dark);
    font-size: 32px;
}

.nki-price-section-head p {
    color: var(--nki-text-secondary);
}

.nki-price-table-card {
    background: #fff;
    border: 1px solid var(--nki-border);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(7, 89, 133, 0.08);
    overflow: hidden;
}

.nki-price-table {
    border-collapse: collapse;
    width: 100%;
}

.nki-price-table th {
    background: var(--nki-primary-dark);
    color: #fff;
    font-size: 0.95rem;
    padding: 18px 20px;
    text-align: left;
}

.nki-price-table td {
    border-bottom: 1px solid var(--nki-border);
    color: var(--nki-text-primary);
    padding: 18px 20px;
    vertical-align: top;
}

.nki-price-table tbody tr:last-child td {
    border-bottom: 0;
}

.nki-price-table .nki-price-cell {
    color: var(--nki-primary-dark);
    font-weight: 800;
    white-space: nowrap;
}

.nki-price-table td[data-status="needs_confirm"]::after {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    color: #9a3412;
    content: "cần xác nhận";
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 800;
    margin-left: 10px;
    padding: 3px 8px;
    vertical-align: middle;
}

.nki-price-consult-policy {
    background: linear-gradient(135deg, #075985 0%, #0b74b8 100%);
    color: #fff;
    padding: 64px 0;
}

.nki-price-policy-grid {
    display: grid;
    gap: 36px;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.nki-price-policy-grid h2 {
    color: #fff;
    font-size: 32px;
}

.nki-price-policy-grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nki-price-policy-grid li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    color: #eff6ff;
    padding: 14px 0 14px 28px;
    position: relative;
}

.nki-price-policy-grid li::before {
    background: var(--nki-accent);
    border-radius: 999px;
    content: "";
    height: 8px;
    left: 2px;
    position: absolute;
    top: 23px;
    width: 8px;
}

.nki-price-consult-cta {
    background: #fff;
    padding: 64px 0 80px;
}

.nki-price-confirm-note {
    background: #fffbeb;
    border-block: 1px solid #fde68a;
    padding: 20px 0;
}

.nki-price-confirm-note p {
    color: #92400e;
    margin: 0;
}

.nki-price-hub-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.nki-price-hub-card {
    background: #fff;
    border: 1px solid var(--nki-border);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(7, 89, 133, 0.08);
    color: var(--nki-text-primary);
    display: block;
    min-height: 220px;
    padding: 24px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.nki-price-hub-card:hover {
    border-color: var(--nki-primary);
    color: var(--nki-text-primary);
    transform: translateY(-2px);
}

.nki-price-hub-card span {
    color: var(--nki-accent);
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.nki-price-hub-card h2 {
    color: var(--nki-primary-dark);
    font-size: 1.25rem;
    line-height: 1.25;
    margin-bottom: 12px;
}

.nki-price-hub-card p {
    color: var(--nki-text-secondary);
    font-size: 0.95rem;
    line-height: 1.55;
}

.nki-price-cta-inner {
    align-items: center;
    background: var(--nki-bg-soft);
    border: 1px solid var(--nki-border);
    border-radius: 8px;
    display: flex;
    gap: 28px;
    justify-content: space-between;
    padding: 36px;
}

.nki-price-cta-inner h2,
.nki-price-child-cta h2,
.nki-price-placeholder h2 {
    color: var(--nki-primary-dark);
    font-size: 28px;
}

.nki-price-placeholder code {
    white-space: normal;
}

@media (max-width: 760px) {
    .nki-price-consult-hero,
    .nki-price-child-hero {
        padding: 56px 0 44px;
    }

    .nki-price-consult-hero h1,
    .nki-price-consult-hero h2,
    .nki-price-child-hero h1 {
        font-size: 32px;
    }

    .nki-price-consult-table,
    .nki-price-hub-grid-wrap,
    .nki-price-placeholder,
    .nki-price-child-cta {
        padding: 46px 0;
    }

    .nki-price-table-card {
        background: transparent;
        border: 0;
        box-shadow: none;
        overflow: visible;
    }

    .nki-price-table,
    .nki-price-table thead,
    .nki-price-table tbody,
    .nki-price-table tr,
    .nki-price-table th,
    .nki-price-table td {
        display: block;
        width: 100%;
    }

    .nki-price-table thead {
        display: none;
    }

    .nki-price-table tr {
        background: #fff;
        border: 1px solid var(--nki-border);
        border-radius: 8px;
        box-shadow: 0 12px 28px rgba(7, 89, 133, 0.08);
        margin-bottom: 14px;
        overflow: hidden;
    }

    .nki-price-table td {
        border-bottom: 1px solid var(--nki-border);
        padding: 14px 16px;
    }

    .nki-price-table td::before {
        color: var(--nki-text-secondary);
        content: attr(data-label);
        display: block;
        font-size: 0.78rem;
        font-weight: 800;
        margin-bottom: 4px;
        text-transform: uppercase;
    }

    .nki-price-policy-grid,
    .nki-price-cta-inner {
        display: block;
    }

    .nki-price-cta-inner .nki-price-btn {
        margin-top: 20px;
        width: 100%;
    }

    .nki-price-hub-grid {
        grid-template-columns: 1fr;
    }

    .nki-price-hub-card {
        min-height: auto;
    }
}

@media (min-width: 761px) and (max-width: 1180px) {
    .nki-price-hub-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Fix About Block Balance */
.nki-about-media-col {
    width: 45% !important;
}
.nki-about-content-col {
    width: 60% !important;
    margin-left: -5% !important;
}
.nki-about-content-inner {
    padding: 40px !important;
}
.nki-about-image-wrapper img {
    aspect-ratio: auto !important;
}

/* Fix Quick Appointment Background (Dark mode) */
.nki-home-quick-appointment {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    color: #f8fafc !important;
}
.nki-home-quick-appointment h2,
.nki-home-quick-appointment .nki-quick-appointment-lead,
.nki-home-quick-appointment .nki-section-subtitle {
    color: #f8fafc !important;
}
.nki-timeline-content {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.nki-timeline-content h3,
.nki-timeline-content p {
    color: #f8fafc !important;
}
.nki-timeline-content::before {
    color: rgba(255, 255, 255, 0.05) !important;
}
.nki-timeline-step:hover .nki-timeline-content::before {
    color: rgba(255, 255, 255, 0.1) !important;
}
.nki-quick-stat {
    border-left-color: #38bdf8 !important;
}

/* --- HOTFIXES 2 --- */
/* Force Theme Font */
.glass-services, .glass-services *,
.overlapping-about, .overlapping-about *,
.nki-home-quick-appointment, .nki-home-quick-appointment *,
.nki-home-testimonials, .nki-home-testimonials *,
.nki-home-blog-preview, .nki-home-blog-preview *,
.nki-home-final-cta, .nki-home-final-cta * {
    font-family: var(--nki-font) !important;
}

/* Mobile polish for homepage About and final booking form */
@media (max-width: 768px) {
    .nki-home-about.overlapping-about {
        padding: 48px 0;
    }

    .nki-home-about.overlapping-about .nki-about-wrapper {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .nki-home-about.overlapping-about .nki-about-media-col,
    .nki-home-about.overlapping-about .nki-about-content-col {
        width: 100% !important;
        margin: 0 !important;
    }

    .nki-home-about.overlapping-about .nki-about-image-wrapper {
        border-radius: 18px;
        overflow: hidden;
        box-shadow: 0 14px 34px rgba(15, 57, 84, 0.12);
    }

    .nki-home-about.overlapping-about .nki-about-image-wrapper img {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3 !important;
        object-fit: cover;
        border-radius: 18px 18px 0 0;
    }

    .nki-home-about.overlapping-about .nki-about-stats-glass {
        position: static;
        width: 100%;
        max-width: none;
        transform: none !important;
        animation: none;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 16px;
        border-radius: 0 0 18px 18px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: none;
    }

    .nki-home-about.overlapping-about .nki-stat-item-glass {
        align-items: center;
        text-align: center;
        animation: none;
        min-width: 0;
    }

    .nki-home-about.overlapping-about .nki-stat-num-glass {
        font-size: 24px;
    }

    .nki-home-about.overlapping-about .nki-stat-label-glass {
        font-size: 11px;
        line-height: 1.35;
        letter-spacing: 0;
    }

    .nki-home-about.overlapping-about .nki-about-content-inner {
        padding: 24px !important;
        border-radius: 18px;
    }

    .nki-home-about.overlapping-about .nki-about-subtitle {
        font-size: 12px;
        letter-spacing: 1px;
        padding-left: 34px;
        margin-bottom: 10px;
    }

    .nki-home-about.overlapping-about .nki-about-subtitle::before {
        width: 24px;
    }

    .nki-home-about.overlapping-about .nki-about-title {
        font-size: 24px;
        line-height: 1.28;
        margin-bottom: 16px;
    }

    .nki-home-about.overlapping-about .nki-about-body {
        font-size: 15px;
        line-height: 1.65;
    }

    .nki-home-about.overlapping-about .nki-about-body p {
        margin-bottom: 14px;
    }

    .nki-home-about.overlapping-about .nki-about-actions {
        margin-top: 24px;
    }

    .nki-home-about.overlapping-about .nki-about-actions .nki-btn {
        width: 100%;
        padding: 13px 16px;
        font-size: 13px;
        line-height: 1.35;
        white-space: normal;
    }

    .nki-home-final-cta {
        padding: 52px 0;
    }

    .nki-final-cta-grid {
        gap: 28px;
    }

    .nki-final-cta-copy .cta-subtitle {
        font-size: 12px;
        letter-spacing: 0.5px;
        margin-bottom: 14px;
    }

    .nki-final-cta-copy h2 {
        font-size: 26px;
        line-height: 1.25;
        margin-bottom: 16px;
    }

    .nki-final-cta-copy p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .nki-final-cta-list {
        gap: 12px;
    }

    .nki-final-cta-list li {
        font-size: 14px;
        line-height: 1.55;
    }

    .nki-final-cta-form {
        padding: 18px;
        border-radius: 16px;
    }

    .nki-home-final-cta .nki-lead-form-container {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
        border: 0;
        box-shadow: none;
    }

    .nki-home-final-cta .nki-lead-form-title {
        font-size: 20px;
        line-height: 1.3;
    }

    .nki-home-final-cta .nki-lead-form-desc {
        margin-bottom: 18px;
    }

    .nki-home-final-cta .nki-form-group {
        margin-bottom: 13px;
    }

    .nki-home-final-cta .nki-form-group input[type=text],
    .nki-home-final-cta .nki-form-group input[type=tel],
    .nki-home-final-cta .nki-form-group select,
    .nki-home-final-cta .nki-form-group textarea {
        min-height: 44px;
        font-size: 16px;
    }

    .nki-home-final-cta .nki-form-submit .nki-btn,
    .nki-home-final-cta .nki-btn-block {
        width: 100%;
        min-height: 48px;
        padding: 12px 14px;
        font-size: 15px;
        line-height: 1.35;
        white-space: normal;
    }
}

@media (max-width: 380px) {
    .nki-home-about.overlapping-about .nki-about-content-inner,
    .nki-final-cta-form {
        padding: 16px !important;
    }

    .nki-home-about.overlapping-about .nki-about-title,
    .nki-final-cta-copy h2 {
        font-size: 23px;
    }
}
.nki-testimonial-quote-icon {
    font-family: Georgia, serif !important;
}

/* ==========================================================================
   Block: Góc Chia Sẻ Kiến Thức Nha Khoa (.nki-home-knowledge)
   ========================================================================== */
.nki-home-knowledge {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #eef4fb 100%);
    font-family: var(--nki-font) !important;
}

.nki-home-knowledge * {
    font-family: var(--nki-font) !important;
}

/* ---- Header / Title ---- */
.nki-knowledge-header {
    text-align: center;
    margin-bottom: 48px;
}

.nki-knowledge-title {
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, var(--nki-primary-dark) 0%, var(--nki-primary) 60%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 14px;
    line-height: 1.15;
    display: inline-block;
}

.nki-knowledge-title-bar {
    width: 72px;
    height: 5px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--nki-primary) 0%, #38bdf8 100%);
    margin: 0 auto;
}

/* ---- Grid 4 columns ---- */
.nki-knowledge-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ---- Card ---- */
.nki-knowledge-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(11, 116, 184, 0.07);
    border: 1px solid rgba(11, 116, 184, 0.1);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
}

.nki-knowledge-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(11, 116, 184, 0.16);
}

/* ---- Thumbnail ---- */
.nki-knowledge-thumb {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    text-decoration: none;
    flex-shrink: 0;
}

.nki-knowledge-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.nki-knowledge-card:hover .nki-knowledge-thumb img {
    transform: scale(1.06);
}

/* ---- Thumbnail hover overlay ---- */
.nki-knowledge-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7, 89, 133, 0.88) 0%, rgba(2, 132, 199, 0.82) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(8px);
}

.nki-knowledge-card:hover .nki-knowledge-thumb-overlay {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ---- Card body (text area) ---- */
.nki-knowledge-card-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* ---- Tag chip ---- */
.nki-knowledge-tag {
    display: inline-block;
    padding: 4px 11px;
    background: #e0f2fe;
    color: #0284c7;
    font-size: 0.73rem;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
}

/* ---- Card title ---- */
.nki-knowledge-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--nki-primary-dark);
    line-height: 1.45;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.nki-knowledge-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nki-knowledge-card:hover .nki-knowledge-card-title a {
    color: var(--nki-primary);
}

/* ---- Excerpt ---- */
.nki-knowledge-card-excerpt {
    font-size: 0.875rem;
    color: var(--nki-text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ---- "Đọc thêm" button inside overlay ---- */
.nki-knowledge-read-more {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 9px 22px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.nki-knowledge-read-more:hover {
    background: #ffffff;
    color: var(--nki-primary);
    border-color: #ffffff;
}

.nki-knowledge-read-more .arrow {
    transition: transform 0.3s ease;
    display: inline-block;
}

.nki-knowledge-read-more:hover .arrow {
    transform: translateX(5px);
}

/* ---- Footer "Xem tất cả" ---- */
.nki-knowledge-footer {
    text-align: center;
    margin-top: 40px;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .nki-knowledge-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .nki-home-knowledge {
        padding: 56px 0;
    }

    .nki-knowledge-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .nki-knowledge-title {
        font-size: 22px;
    }
}



/* ==========================================================================
   IMPLANT PAGE SPECIFIC STYLES - NEW UPDATES
   ========================================================================== */

/* Q&A Block */
.nki-implant-faq {
    padding: 60px 0;
    background-color: #f8fafc;
}
.nki-faq-title {
    text-align: center;
    color: var(--nki-color-primary, #0f766e);
    margin-bottom: 40px;
    font-size: 2rem;
    font-weight: 700;
}
.nki-faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.nki-faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}
.nki-faq-question {
    padding: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    color: #1e293b;
    list-style: none;
    position: relative;
}
.nki-faq-question::-webkit-details-marker {
    display: none;
}
.nki-faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--nki-color-primary, #0f766e);
}
.nki-faq-item[open] .nki-faq-question::after {
    content: '-';
}
.nki-faq-answer {
    padding: 0 20px 20px;
    color: #475569;
    line-height: 1.6;
}

/* Articles Block */
.nki-implant-articles {
    padding: 60px 0;
}
.nki-articles-title {
    text-align: center;
    color: var(--nki-color-primary, #0f766e);
    margin-bottom: 40px;
    font-size: 2rem;
    font-weight: 700;
}
.nki-articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}
@media (max-width: 1024px) {
    .nki-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .nki-articles-grid {
        grid-template-columns: 1fr;
    }
}
.nki-article-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}
.nki-article-card:hover {
    transform: translateY(-5px);
}
.nki-article-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.nki-article-info {
    padding: 20px;
}
.nki-article-heading {
    font-size: 1.1rem;
    margin: 0 0 10px 0;
    line-height: 1.4;
}
.nki-article-heading a {
    color: #1e293b;
    text-decoration: none;
}
.nki-article-heading a:hover {
    color: var(--nki-color-primary, #0f766e);
}
.nki-article-excerpt {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}
.nki-articles-cta {
    text-align: center;
}
.nki-btn-more {
    display: inline-block;
    padding: 12px 32px;
    background-color: var(--nki-color-primary, #0f766e);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: background-color 0.3s;
}
.nki-btn-more:hover {
    background-color: #0d5f58;
}

/* Updated Pricing Table */
.nki-implant-pricing__table-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    overflow-x: auto;
    margin: 40px 0;
    border: 1px solid #e2e8f0;
}
.nki-implant-pricing__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.05rem;
}
.nki-implant-pricing__table thead {
    background-color: #0f766e; /* Solid elegant teal */
}
.nki-implant-pricing__table th {
    color: #ffffff;
    text-align: center;
    padding: 16px 20px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    border: none;
    text-transform: uppercase;
}
.nki-implant-pricing__table th:first-child {
    text-align: left;
}
.nki-implant-pricing__table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    text-align: center;
    color: #334155;
    vertical-align: middle;
}
.nki-implant-pricing__table td:first-child {
    text-align: left;
    font-weight: 500;
    color: #0f172a;
}
.nki-implant-pricing__table tbody tr {
    transition: background-color 0.2s ease;
}
.nki-implant-pricing__table tbody tr:hover:not(.table-section-title):not(.table-note-row) {
    background-color: #f8fafc;
}
.nki-implant-pricing__table td:last-child strong {
    color: #e11d48;
    font-size: 1.15rem;
}
.nki-implant-pricing__table .table-section-title td {
    background-color: #f1f5f9;
    color: #dc2626; /* Premium red for section titles */
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: left;
    padding: 18px 20px;
    border-bottom: 2px solid #e2e8f0;
}
.nki-implant-pricing__table .table-note-row td {
    font-style: italic;
    color: #64748b;
    background-color: #fff;
    text-align: center;
    font-size: 0.95rem;
    padding: 16px 20px;
    border-bottom: none;
}


/* Contact Block Redesign (Block 8) */
.nki-implant-lead-form {
    padding: 60px 0;
    background-color: #f0fdfa; /* light teal background */
}
.nki-ilf-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.nki-ilf-content {
    display: flex;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.nki-ilf-text {
    flex: 1;
    background-color: #0f766e; /* Teal background from image */
    padding: 50px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.nki-ilf-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 30px;
    color: white;
}
.nki-ilf-note {
    background: rgba(255, 255, 255, 0.1);
    border-left: 4px solid #f59e0b; /* Yellow border */
    padding: 20px;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.nki-ilf-note svg {
    width: 24px;
    height: 24px;
    fill: #f59e0b;
    flex-shrink: 0;
    margin-top: 3px;
}
.nki-ilf-note p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.5;
}
.nki-ilf-form {
    flex: 1;
    padding: 50px;
    background: #fff;
}
.nki-ilf-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1e293b;
}
.nki-ilf-group {
    margin-bottom: 20px;
}
.nki-ilf-form input,
.nki-ilf-form select,
.nki-ilf-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}
.nki-ilf-form input:focus,
.nki-ilf-form select:focus,
.nki-ilf-form textarea:focus {
    border-color: #0f766e;
}
.nki-ilf-submit {
    width: 100%;
    padding: 15px;
    background-color: #f59e0b; /* Yellow CTA */
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}
.nki-ilf-submit:hover {
    background-color: #d97706;
}

@media (max-width: 768px) {
    .nki-ilf-content {
        flex-direction: column;
    }
    .nki-ilf-text, .nki-ilf-form {
        padding: 30px;
    }
}

/* Related Knowledge Block - Nieng Rang */
.nki-related-knowledge {
    padding: 60px 0;
    margin-top: 40px;
}
.nki-related-knowledge .nki-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.nki-knowledge-heading {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    text-transform: uppercase;
}
.nki-knowledge-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.nki-knowledge-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nki-knowledge-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}
.nki-knowledge-thumbnail {
    display: block;
    width: 100%;
    height: 180px;
    overflow: hidden;
}
.nki-knowledge-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.nki-knowledge-thumbnail .nki-no-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eee;
    color: #999;
}
.nki-knowledge-item:hover .nki-knowledge-thumbnail img {
    transform: scale(1.05);
}
.nki-knowledge-title {
    font-size: 16px;
    font-weight: 600;
    margin: 15px;
    line-height: 1.4;
}
.nki-knowledge-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}
.nki-knowledge-title a:hover {
    color: #0056b3;
}
.nki-knowledge-excerpt {
    font-size: 14px;
    color: #666;
    margin: 0 15px 15px;
    line-height: 1.6;
}
@media (max-width: 991px) {
    .nki-knowledge-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575px) {
    .nki-knowledge-grid {
        grid-template-columns: 1fr;
    }
}

/* Veneer / Rang su mobile readability overrides.
   The page content contains inline block styles, so these scoped rules use
   !important to keep headings comfortable on phones. */
@media (max-width: 767px) {
    .nki-veneer-page {
        overflow-x: hidden;
    }

    .nki-veneer-page .ivy-lux-b1-wrapper,
    .nki-veneer-page .ivy-lux-b2-wrapper,
    .nki-veneer-page .ivy-lux-b3-wrapper,
    .nki-veneer-page .ivy-lux-b4-wrapper,
    .nki-veneer-page .ivy-lux-b5-wrapper,
    .nki-veneer-page .ivy-lux-b6-wrapper,
    .nki-veneer-page .ivy-lux-b7-wrapper,
    .nki-veneer-page .ivy-lux-b8-wrapper {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .nki-veneer-page .lux-blob {
        max-width: 72vw !important;
        max-height: 72vw !important;
        opacity: 0.28 !important;
        pointer-events: none;
    }

    .nki-veneer-page .ivy-lux-b1-wrapper .lux-container,
    .nki-veneer-page .ivy-lux-b2-wrapper .lux-container,
    .nki-veneer-page .ivy-lux-b3-wrapper .lux-container,
    .nki-veneer-page .ivy-lux-b4-wrapper .lux-container,
    .nki-veneer-page .ivy-lux-b5-wrapper .lux-container,
    .nki-veneer-page .ivy-lux-b6-wrapper .lux-container,
    .nki-veneer-page .ivy-lux-b7-wrapper .lux-container,
    .nki-veneer-page .ivy-lux-b8-wrapper .lux-container {
        max-width: 100% !important;
    }

    .nki-veneer-page .lux-header {
        margin-bottom: 30px !important;
    }

    .nki-veneer-page .lux-header p,
    .nki-veneer-page .lux-badge,
    .nki-veneer-page .lux-eyebrow {
        font-size: 12px !important;
        line-height: 1.45 !important;
        letter-spacing: 1.4px !important;
    }

    .nki-veneer-page .ivy-lux-b1-wrapper h1 {
        font-size: 28px !important;
        line-height: 1.22 !important;
        letter-spacing: 0 !important;
    }

    .nki-veneer-page .lux-header h2,
    .nki-veneer-page .ivy-lux-b7-wrapper .lux-content h2,
    .nki-veneer-page .ivy-lux-b8-wrapper .lux-form-box h2,
    .nki-veneer-page .nki-related-posts-title {
        font-size: 24px !important;
        line-height: 1.28 !important;
        letter-spacing: 0 !important;
        text-wrap: balance;
    }

    .nki-veneer-page .ivy-lux-b2-wrapper .lux-content h3 {
        font-size: 23px !important;
        line-height: 1.32 !important;
    }

    .nki-veneer-page .lux-content h3,
    .nki-veneer-page .lux-card h3 {
        font-size: 19px !important;
        line-height: 1.36 !important;
        letter-spacing: 0 !important;
    }

    .nki-veneer-page .lux-content,
    .nki-veneer-page .lux-form-box,
    .nki-veneer-page .lux-card {
        text-align: left;
    }

    .nki-veneer-page .ivy-lux-b2-wrapper .lux-content,
    .nki-veneer-page .ivy-lux-b8-wrapper .lux-form-box {
        padding: 28px 20px !important;
    }

    .nki-veneer-page .ivy-lux-b5-wrapper .lux-content {
        width: calc(100% - 64px) !important;
        padding: 22px 18px !important;
    }
}

@media (max-width: 430px) {
    .nki-veneer-page .ivy-lux-b1-wrapper h1 {
        font-size: 26px !important;
    }

    .nki-veneer-page .lux-header h2,
    .nki-veneer-page .ivy-lux-b7-wrapper .lux-content h2,
    .nki-veneer-page .ivy-lux-b8-wrapper .lux-form-box h2,
    .nki-veneer-page .nki-related-posts-title {
        font-size: 22px !important;
    }

    .nki-veneer-page .ivy-lux-b2-wrapper .lux-content h3 {
        font-size: 21px !important;
    }
}

/* Implant mobile readability overrides.
   Keep page-editor blocks comfortable on phones without touching desktop. */
@media (max-width: 767px) {
    .nki-implant-page {
        overflow-x: hidden;
    }

    .nki-implant-page .nki-implant-hero,
    .nki-implant-page .nki-implant-structure,
    .nki-implant-page .nki-implant-benefits,
    .nki-implant-page .nki-implant-candidates,
    .nki-implant-page .nki-implant-process,
    .nki-implant-page .nki-implant-pricing,
    .nki-implant-page .nki-implant-stories,
    .nki-implant-page .nki-implant-lead-form,
    .nki-implant-page .nki-implant-faq,
    .nki-implant-page .nki-implant-articles {
        max-width: 100%;
        overflow-x: hidden;
    }

    .nki-implant-page .nki-implant-hero {
        min-height: auto !important;
        padding: 88px 0 56px;
        align-items: flex-end;
    }

    .nki-implant-page .nki-implant-hero__container {
        padding: 0 18px !important;
    }

    .nki-implant-page .nki-implant-hero__content {
        text-align: left !important;
    }

    .nki-implant-page .nki-implant-hero__title {
        font-size: 28px !important;
        line-height: 1.22 !important;
        letter-spacing: 0 !important;
        margin-bottom: 12px !important;
        text-wrap: balance;
    }

    .nki-implant-page .nki-implant-hero__subtitle {
        font-size: 18px !important;
        line-height: 1.42 !important;
        margin-bottom: 12px !important;
    }

    .nki-implant-page .nki-implant-hero__description {
        font-size: 15px !important;
        line-height: 1.6 !important;
        margin-bottom: 22px !important;
    }

    .nki-implant-page .nki-implant-hero__actions {
        gap: 10px !important;
    }

    .nki-implant-page .nki-implant-hero__btn {
        width: 100%;
        min-height: 46px;
        padding: 12px 18px !important;
        border-radius: 999px;
        font-size: 15px !important;
    }

    .nki-implant-page .nki-implant-structure,
    .nki-implant-page .nki-implant-benefits,
    .nki-implant-page .nki-implant-candidates,
    .nki-implant-page .nki-implant-process,
    .nki-implant-page .nki-implant-pricing,
    .nki-implant-page .nki-implant-stories,
    .nki-implant-page .nki-implant-lead-form,
    .nki-implant-page .nki-implant-faq,
    .nki-implant-page .nki-implant-articles {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }

    .nki-implant-page .nki-implant-structure,
    .nki-implant-page .nki-implant-benefits,
    .nki-implant-page .nki-implant-candidates,
    .nki-implant-page .nki-implant-pricing,
    .nki-implant-page .nki-implant-lead-form {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .nki-implant-page .nki-container,
    .nki-implant-page .nki-implant-structure__container,
    .nki-implant-page .nki-implant-benefits .nki-container,
    .nki-implant-page .nki-implant-candidates .nki-ic-container,
    .nki-implant-page .nki-implant-process .nki-container,
    .nki-implant-page .nki-implant-pricing__container,
    .nki-implant-page .nki-implant-stories .nki-container,
    .nki-implant-page .nki-ilf-container,
    .nki-implant-page .nki-faq-list {
        max-width: 100% !important;
    }

    .nki-implant-page .nki-implant-structure__container,
    .nki-implant-page .nki-implant-candidates .nki-ic-container {
        gap: 28px !important;
    }

    .nki-implant-page .nki-implant-structure__title,
    .nki-implant-page .nki-implant-benefits__title,
    .nki-implant-page .nki-implant-candidates .nki-ic-title,
    .nki-implant-page .nki-implant-process__title,
    .nki-implant-page .nki-implant-pricing__title,
    .nki-implant-page .nki-implant-stories .nki-stories-title,
    .nki-implant-page .nki-ilf-title,
    .nki-implant-page .nki-faq-title,
    .nki-implant-page .nki-articles-title,
    .nki-implant-page .nki-related-posts-title {
        font-size: 24px !important;
        line-height: 1.28 !important;
        letter-spacing: 0 !important;
        margin-bottom: 18px !important;
        text-wrap: balance;
    }

    .nki-implant-page .nki-implant-structure__desc,
    .nki-implant-page .nki-implant-benefits__subtitle,
    .nki-implant-page .nki-implant-candidates .nki-ic-desc,
    .nki-implant-page .nki-implant-pricing__note {
        font-size: 15px !important;
        line-height: 1.62 !important;
    }

    .nki-implant-page .nki-implant-benefits__header,
    .nki-implant-page .nki-implant-process__header,
    .nki-implant-page .nki-implant-pricing__header {
        margin-bottom: 28px !important;
    }

    .nki-implant-page .nki-implant-structure__part,
    .nki-implant-page .nki-implant-benefits__item,
    .nki-implant-page .nki-implant-candidates .nki-ic-item,
    .nki-implant-page .nki-implant-process .nki-process-step__content,
    .nki-implant-page .nki-story-content,
    .nki-implant-page .nki-faq-question,
    .nki-implant-page .nki-article-info {
        padding: 18px !important;
    }

    .nki-implant-page .nki-implant-structure__part,
    .nki-implant-page .nki-implant-candidates .nki-ic-item {
        gap: 14px !important;
    }

    .nki-implant-page .nki-implant-structure__part-number,
    .nki-implant-page .nki-implant-candidates .nki-ic-icon {
        width: 40px !important;
        height: 40px !important;
        border-radius: 12px !important;
        font-size: 17px !important;
    }

    .nki-implant-page .nki-implant-benefits__item {
        flex-basis: 100% !important;
        max-width: 100% !important;
    }

    .nki-implant-page .nki-implant-benefits__item-title,
    .nki-implant-page .nki-implant-structure__part-title,
    .nki-implant-page .nki-implant-process .nki-process-step__title,
    .nki-implant-page .nki-article-heading {
        font-size: 18px !important;
        line-height: 1.35 !important;
    }

    .nki-implant-page .nki-implant-candidates .nki-ic-tag {
        font-size: 12px !important;
        letter-spacing: 0.8px !important;
        margin-bottom: 14px !important;
    }

    .nki-implant-page .nki-implant-candidates .nki-ic-badge {
        right: 8px !important;
        bottom: 16px !important;
        max-width: calc(100% - 32px);
        padding: 10px 12px !important;
        white-space: normal;
    }

    .nki-implant-page .nki-implant-candidates .nki-ic-badge-text {
        white-space: normal !important;
        font-size: 14px !important;
        line-height: 1.25 !important;
    }

    .nki-implant-page .nki-implant-process .nki-process-step,
    .nki-implant-page .nki-implant-process .nki-process-step:nth-child(even) {
        padding-left: 54px !important;
        margin-bottom: 24px !important;
    }

    .nki-implant-page .nki-implant-process__timeline::before {
        left: 20px !important;
    }

    .nki-implant-page .nki-implant-process .nki-process-step__indicator,
    .nki-implant-page .nki-implant-process .nki-process-step:nth-child(even) .nki-process-step__indicator {
        left: 0 !important;
        width: 40px !important;
        height: 40px !important;
    }

    .nki-implant-page .nki-implant-pricing__table-wrapper {
        margin: 24px 0 !important;
        border-radius: 10px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    .nki-implant-page .nki-implant-pricing__table {
        min-width: 520px !important;
        font-size: 14px !important;
    }

    .nki-implant-page .nki-implant-pricing__table th,
    .nki-implant-page .nki-implant-pricing__table td {
        padding: 12px 14px !important;
        font-size: 14px !important;
        line-height: 1.35 !important;
    }

    .nki-implant-page .nki-implant-pricing__table .table-section-title td {
        font-size: 15px !important;
        padding: 14px !important;
    }

    .nki-implant-page .nki-implant-stories .nki-stories-title {
        margin-bottom: 36px !important;
    }

    .nki-implant-page .nki-story-content {
        padding-top: 28px !important;
    }

    .nki-implant-page .nki-implant-lead-form .nki-ilf-content,
    .nki-implant-page .nki-ilf-content {
        border-radius: 16px !important;
    }

    .nki-implant-page .nki-implant-lead-form .nki-ilf-text,
    .nki-implant-page .nki-implant-lead-form .nki-ilf-form,
    .nki-implant-page .nki-ilf-text,
    .nki-implant-page .nki-ilf-form {
        padding: 28px 18px !important;
    }

    .nki-implant-page .nki-ilf-note {
        padding: 16px !important;
        gap: 10px !important;
    }

    .nki-implant-page .nki-ilf-note p {
        font-size: 15px !important;
    }

    .nki-implant-page .nki-faq-question {
        padding-right: 48px !important;
        font-size: 16px !important;
        line-height: 1.45 !important;
    }

    .nki-implant-page .nki-faq-answer {
        padding: 0 18px 18px !important;
        font-size: 15px !important;
    }

    .nki-implant-page .nki-articles-grid {
        gap: 18px !important;
    }
}

@media (max-width: 430px) {
    .nki-implant-page .nki-implant-hero__title {
        font-size: 26px !important;
    }

    .nki-implant-page .nki-implant-structure__title,
    .nki-implant-page .nki-implant-benefits__title,
    .nki-implant-page .nki-implant-candidates .nki-ic-title,
    .nki-implant-page .nki-implant-process__title,
    .nki-implant-page .nki-implant-pricing__title,
    .nki-implant-page .nki-implant-stories .nki-stories-title,
    .nki-implant-page .nki-ilf-title,
    .nki-implant-page .nki-faq-title,
    .nki-implant-page .nki-articles-title,
    .nki-implant-page .nki-related-posts-title {
        font-size: 22px !important;
    }

    .nki-implant-page .nki-implant-structure,
    .nki-implant-page .nki-implant-benefits,
    .nki-implant-page .nki-implant-candidates,
    .nki-implant-page .nki-implant-pricing,
    .nki-implant-page .nki-implant-lead-form {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .nki-implant-page .nki-implant-process .nki-container,
    .nki-implant-page .nki-implant-stories .nki-container,
    .nki-implant-page .nki-implant-faq .nki-container,
    .nki-implant-page .nki-implant-articles .nki-container {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}
