/* ==========================================================================
   InKoreaNow v3 - "Apple-Clean Premium" Design System
   Mobile-first, BEM naming, CSS custom properties
   ========================================================================== */

/* --------------------------------------------------------------------------
   DESIGN TOKENS
   ----------------------------------------------------------------------- */
:root {
    /* Brand Palette */
    --navy:        #314062;
    --green:       #437A5D;
    --coral:       #D25F49;
    --white:       #FFFFFF;
    --off-white:   #F9FAFB;
    --light-gray:  #F3F4F6;
    --gray:        #9CA3AF;
    --dark-gray:   #374151;
    --charcoal:    #1F2937;

    /* Hover / shade variants */
    --coral-dark:  #C04E3A;
    --navy-light:  #3D4F75;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing (8px grid) */
    --space-xs:    4px;
    --space-sm:    8px;
    --space-md:    16px;
    --space-lg:    24px;
    --space-xl:    40px;
    --space-2xl:   64px;
    --space-3xl:   96px;
    --space-4xl:   120px;

    /* Layout */
    --container-max:     1280px;
    --content-max:       720px;
    --container-padding: 24px;
    --header-height:     72px;

    /* Border Radius */
    --radius:      16px;
    --radius-lg:   24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm:    0 1px 2px rgba(0,0,0,0.04);
    --shadow-md:    0 4px 16px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
    --shadow-lg:    0 12px 40px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
    --shadow-hover: 0 16px 48px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.04);

    /* Transitions */
    --ease:        cubic-bezier(0.4, 0, 0.2, 1);
    --duration:    300ms;
    --transition:  300ms cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
    :root {
        --container-padding: 40px;
    }
}

/* --------------------------------------------------------------------------
   RESET & BASE
   ----------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--dark-gray);
    background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }

a {
    color: var(--coral);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--coral-dark); }

h1, h2, h3, h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--navy);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: 1.125rem; }

ul { list-style: none; }

/* --------------------------------------------------------------------------
   LAYOUT
   ----------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--space-2xl) 0;
}

.section--alt {
    background: var(--off-white);
}

.section__header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section__header p {
    color: var(--gray);
    margin-top: var(--space-sm);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    font-size: 17px;
    line-height: 1.7;
}

.section__footer {
    text-align: center;
    margin-top: var(--space-xl);
}

@media (min-width: 1024px) {
    .section {
        padding: var(--space-4xl) 0;
    }
}

/* Overline style */
.overline {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray);
    margin-bottom: var(--space-md);
}

/* --------------------------------------------------------------------------
   HEADER - Frosted Glass Sticky
   ----------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    height: var(--header-height);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: var(--space-lg);
}

.site-header__logo img {
    height: 36px;
    width: auto;
}

/* Desktop nav hidden on mobile */
.site-header__nav {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    color: var(--dark-gray);
    font-size: 15px;
    font-weight: 500;
    padding: var(--space-sm) 0;
    transition: color var(--transition);
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--coral);
    transition: width var(--transition), left var(--transition);
}

.nav-menu li a:hover::after,
.nav-menu li.current-menu-item > a::after {
    width: 100%;
    left: 0;
}

.nav-menu li a:hover { color: var(--dark-gray); }

/* Dropdown submenu (fallback) */
.nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -16px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: var(--space-sm) 0;
    min-width: 220px;
    z-index: 100;
}

.nav-menu li:hover > .sub-menu {
    display: block;
}

.nav-menu .sub-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    white-space: nowrap;
}

.nav-menu .sub-menu li a::after {
    display: none;
}

.nav-menu .sub-menu li a:hover {
    color: var(--coral);
    background: var(--off-white);
}

/* ==========================================================================
 * MEGA MENU
 * ======================================================================== */

/* Mega menu positioning - JS sets inline styles for exact alignment */
.nav-menu li.menu-item--mega {
    position: static;
}

.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1001;
}

/* Invisible hover bridge so mouse doesn't lose contact */
.mega-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
}

.menu-item--mega:hover > .mega-menu,
.mega-menu.is-open {
    display: block;
}

.mega-menu__inner {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 0;
    background: var(--white);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
    overflow: hidden;
    animation: megaFadeIn 0.25s var(--ease);
    max-width: var(--container-max);
    margin: 0 auto;
    border-top: 1px solid rgba(0,0,0,0.06);
}

@keyframes megaFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Left: Links */
.mega-menu__links {
    padding: 36px 40px;
}

.mega-menu__heading {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray);
    margin-bottom: 16px;
}

.mega-menu__links ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.mega-menu__links ul li a {
    display: block;
    padding: 12px 16px;
    border-radius: 12px;
    transition: background var(--transition);
    text-decoration: none;
}

.mega-menu__links ul li a::after {
    display: none;
}

.mega-menu__links ul li a:hover {
    background: var(--off-white);
}

.mega-menu__link-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 3px;
}

.mega-menu__link-desc {
    display: block;
    font-size: 12px;
    color: var(--gray);
    line-height: 1.4;
}

.mega-menu__links ul li a:hover .mega-menu__link-title {
    color: var(--coral);
}

/* Right: Feature image + CTA */
.mega-menu__feature {
    background: var(--off-white);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}

.mega-menu__feature-img {
    border-radius: 12px;
    overflow: hidden;
    flex: 1;
    min-height: 0;
}

.mega-menu__feature-img img,
.mega-menu__feature-img svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mega-menu__feature-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--coral);
    text-decoration: none;
    transition: gap var(--transition);
}

.mega-menu__feature-cta:hover {
    gap: 10px;
}

/* Header right section */
.site-header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Social icons in header */
.header-social {
    display: none;
    align-items: center;
    gap: 12px;
}

.header-social a {
    color: var(--gray);
    transition: color var(--transition);
    display: flex;
    align-items: center;
}

.header-social a:hover {
    color: var(--navy);
}

/* Header CTA */
.header-cta {
    display: none;
    gap: 8px;
    align-items: center;
}

.header-cta .btn {
    white-space: nowrap;
}

/* Mobile toggle */
.site-header__toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    z-index: 1001;
}

.site-header__toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--dark-gray);
    transition: transform var(--transition), opacity var(--transition);
}

/* Hamburger -> X animation */
.site-header__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.site-header__toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.site-header__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1024px) {
    .site-header__nav { display: block; }
    .site-header__toggle { display: none; }
    .header-social { display: flex; }
    .header-cta { display: flex; }
}

/* Mobile menu -full screen overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 999;
    padding: calc(var(--header-height) + var(--space-xl)) var(--container-padding) var(--space-xl);
    overflow-y: auto;
    opacity: 0;
    transition: opacity var(--transition);
}

.mobile-overlay.is-open {
    display: block;
    opacity: 1;
}

.mobile-overlay__nav {
    list-style: none;
}

.mobile-overlay__nav > li {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.mobile-overlay.is-open .mobile-overlay__nav > li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-overlay.is-open .mobile-overlay__nav > li:nth-child(1) { transition-delay: 0.05s; }
.mobile-overlay.is-open .mobile-overlay__nav > li:nth-child(2) { transition-delay: 0.1s; }
.mobile-overlay.is-open .mobile-overlay__nav > li:nth-child(3) { transition-delay: 0.15s; }
.mobile-overlay.is-open .mobile-overlay__nav > li:nth-child(4) { transition-delay: 0.2s; }
.mobile-overlay.is-open .mobile-overlay__nav > li:nth-child(5) { transition-delay: 0.25s; }
.mobile-overlay.is-open .mobile-overlay__nav > li:nth-child(6) { transition-delay: 0.3s; }

.mobile-overlay__nav li a {
    display: flex;
    padding: 16px 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--dark-gray);
    border-bottom: 1px solid var(--light-gray);
    min-height: 56px;
    align-items: center;
}

.mobile-overlay__nav li a:hover {
    color: var(--coral);
}

.mobile-overlay__nav .sub-menu {
    padding-left: var(--space-lg);
}

.mobile-overlay__nav .sub-menu li a {
    font-size: 16px;
    font-weight: 400;
    color: var(--gray);
}

.mobile-overlay__social {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--light-gray);
}

.mobile-overlay__social a {
    color: var(--gray);
    transition: color var(--transition);
}

.mobile-overlay__social a:hover {
    color: var(--navy);
}

.mobile-overlay__cta {
    margin-top: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-overlay__cta .btn {
    width: 100%;
    justify-content: center;
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   LANGUAGE SWITCHER
   ----------------------------------------------------------------------- */
.lang-switcher {
    display: flex;
    align-items: center;
    position: relative;
    background: var(--light-gray);
    border-radius: 20px;
    padding: 3px;
    gap: 0;
}

.lang-switcher__option {
    display: block;
    padding: 4px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray);
    border-radius: 18px;
    z-index: 1;
    transition: color var(--transition);
    cursor: pointer;
}

.lang-switcher__option--active {
    color: var(--white);
}

.lang-switcher__slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: calc(50% - 3px);
    height: calc(100% - 6px);
    background: var(--navy);
    border-radius: 18px;
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-switcher__slider--ru {
    transform: translateX(100%);
}

/* --------------------------------------------------------------------------
   BUTTONS - All pill-shaped
   ----------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-primary);
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    gap: var(--space-sm);
}

.btn--primary {
    background: var(--coral);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--coral-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn--secondary {
    background: var(--navy);
    color: var(--white);
}

.btn--secondary:hover {
    background: var(--navy-light);
    color: var(--white);
}

.btn--outline {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--navy);
}

.btn--outline:hover {
    background: var(--navy);
    color: var(--white);
}

.btn--outline-white {
    background: transparent;
    color: var(--white);
    border: 1.5px solid var(--white);
}

.btn--outline-white:hover {
    background: var(--white);
    color: var(--navy);
}

.btn--white {
    background: var(--white);
    color: var(--coral);
}

.btn--white:hover {
    background: var(--off-white);
    color: var(--coral);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn--sm {
    padding: 10px 20px;
    font-size: 13px;
}

.btn--disabled {
    background: var(--off-white);
    color: var(--gray);
    cursor: not-allowed;
}

/* Text link CTA */
.text-link {
    color: var(--coral);
    font-size: 14px;
    font-weight: 500;
    transition: color var(--transition);
}

.text-link:hover {
    color: var(--coral-dark);
}

/* --------------------------------------------------------------------------
   HERO -90vh, white bg
   ----------------------------------------------------------------------- */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    background: var(--white);
    padding: var(--space-3xl) 0 var(--space-2xl);
    position: relative;
    overflow: hidden;
}

.hero--video {
    background: var(--navy);
}

.hero__video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(49, 64, 98, 0.65) 0%,
        rgba(49, 64, 98, 0.55) 50%,
        rgba(49, 64, 98, 0.7) 100%
    );
    z-index: 2;
}

.hero--video .container {
    position: relative;
    z-index: 3;
}

.hero--video .hero__overline {
    color: rgba(255, 255, 255, 0.7);
}

.hero--video .hero__title {
    color: #fff;
}

.hero--video .hero__subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.hero--video .hero__trust {
    color: rgba(255, 255, 255, 0.6);
}

.hero--video .hero__trust-sep {
    color: rgba(255, 255, 255, 0.3);
}

.hero--video .btn--outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.hero--video .btn--outline:hover {
    background: #fff;
    color: var(--navy);
    border-color: #fff;
}

@media (max-width: 767px) {
    .hero__video {
        display: none;
    }
    .hero--video {
        background-color: var(--navy);
    }
}

.hero .container {
    max-width: 860px;
}

.hero__overline {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray);
    margin-bottom: var(--space-lg);
}

.hero__title {
    color: var(--navy);
    margin-bottom: var(--space-lg);
}

.hero__subtitle {
    font-size: 17px;
    line-height: 1.7;
    color: var(--dark-gray);
    max-width: 640px;
    margin: 0 auto var(--space-xl);
}

.hero__ctas {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
}

.hero__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--gray);
}

.hero__trust span {
    display: flex;
    align-items: center;
}

.hero__trust-sep {
    color: var(--light-gray);
}

/* --------------------------------------------------------------------------
   PRODUCT GRID
   ----------------------------------------------------------------------- */
.product-grid {
    display: grid;
    gap: var(--space-lg);
    grid-template-columns: repeat(2, 1fr);
}

.product-grid--3 { grid-template-columns: repeat(2, 1fr); }
.product-grid--4 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 640px) {
    .product-grid--3 { grid-template-columns: repeat(3, 1fr); }
    .product-grid--4 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
    .product-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* --------------------------------------------------------------------------
   PRODUCT CARD - Apple-clean, no border, hover reveal CTA
   ----------------------------------------------------------------------- */
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.product-card--sold-out { opacity: 0.6; }

/* Badges */
.product-card__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.badge--rank { background: var(--navy); color: var(--white); }
.badge--best { background: var(--off-white); color: var(--navy); border: 1px solid var(--light-gray); }
.badge--new { background: var(--navy); color: var(--white); }
.badge--sale { background: var(--coral); color: var(--white); }
.badge--partner { background: var(--green); color: var(--white); font-size: 11px; }

/* Image */
.product-card__image {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--off-white);
    border-radius: var(--radius);
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms var(--ease);
}

.product-card:hover .product-card__image img {
    transform: scale(1.03);
}

/* Info */
.product-card__info {
    padding: var(--space-md) var(--space-sm) var(--space-sm);
    flex: 1;
}

.product-card__brand {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray);
}

.product-card__title {
    font-size: 14px;
    font-weight: 500;
    color: var(--charcoal);
    margin-top: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card__title a { color: var(--charcoal); }
.product-card__title a:hover { color: var(--charcoal); }

/* Rating - SVG stars */
.product-card__rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    margin-top: var(--space-sm);
}

.product-card__stars {
    display: flex;
    gap: 1px;
    color: var(--coral);
}

.product-card__stars svg { flex-shrink: 0; }

.product-card__reviews {
    color: var(--gray);
    font-size: 12px;
}

/* Price */
.product-card__price {
    margin-top: var(--space-sm);
}

.price {
    font-weight: 600;
    font-size: 16px;
    color: var(--charcoal);
}

.price--sale {
    color: var(--coral);
    font-weight: 600;
    font-size: 16px;
}

.price--original {
    text-decoration: line-through;
    color: var(--gray);
    font-size: 13px;
    font-weight: 400;
    margin-left: 6px;
}

/* CTA -hover reveal text link, NOT a button */
.product-card__cta {
    padding: 0 var(--space-sm) var(--space-md);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity var(--transition), transform var(--transition);
}

.product-card:hover .product-card__cta {
    opacity: 1;
    transform: translateY(0);
}

.product-card__cta-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--coral);
    text-decoration: none;
    transition: color var(--transition);
}

.product-card__cta-link:hover {
    color: var(--coral-dark);
}

.product-card__cta .btn--disabled {
    font-size: 13px;
    padding: 0;
    background: none;
    color: var(--gray);
}

/* --------------------------------------------------------------------------
   HOSPITAL GRID & CARD -horizontal layout desktop
   ----------------------------------------------------------------------- */
.hospital-grid {
    display: grid;
    gap: var(--space-lg);
    grid-template-columns: 1fr;
}

.hospital-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
    display: flex;
    flex-direction: column;
}

.hospital-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.hospital-card__image {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: var(--radius);
}

.hospital-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hospital-card__info {
    padding: var(--space-lg);
    flex: 1;
}

.hospital-card__info h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--navy);
    margin: var(--space-sm) 0 var(--space-md);
}

.hospital-card__info h3 a {
    color: var(--navy);
}

.hospital-card__specialties {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.hospital-card__specialty-pill {
    background: var(--light-gray);
    color: var(--dark-gray);
    font-size: 12px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.hospital-card__location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--gray);
    margin-bottom: var(--space-md);
}

.hospital-card__location svg {
    flex-shrink: 0;
}

.hospital-card__actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 0 var(--space-lg) var(--space-lg);
}

@media (min-width: 768px) {
    .hospital-card {
        flex-direction: row;
    }

    .hospital-card__image {
        width: 40%;
        flex-shrink: 0;
        border-radius: var(--radius) 0 0 var(--radius);
        aspect-ratio: auto;
        min-height: 240px;
    }

    .hospital-card__info {
        width: 60%;
    }

    .hospital-card__actions {
        padding: 0 var(--space-lg) var(--space-lg);
    }
}

/* --------------------------------------------------------------------------
   POST GRID & CARD (Blog)
   ----------------------------------------------------------------------- */
.post-grid {
    display: grid;
    gap: var(--space-lg);
    grid-template-columns: 1fr;
}

.post-grid--2 { grid-template-columns: 1fr; }
.post-grid--3 { grid-template-columns: 1fr; }

@media (min-width: 640px) { .post-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .post-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.post-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
}

.post-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    color: inherit;
}

.post-card__image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--off-white);
    border-radius: var(--radius) var(--radius) 0 0;
}

.post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card__content {
    padding: var(--space-lg);
}

.post-card__date {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray);
}

.post-card__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--charcoal);
    margin: var(--space-sm) 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.post-card__excerpt {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   HOW IT WORKS -5-Step Process Cards
   ----------------------------------------------------------------------- */
.process-grid {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: var(--space-md);
    -webkit-overflow-scrolling: touch;
}

.process-grid::-webkit-scrollbar {
    display: none;
}

.process-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.process-card__number {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 600;
    color: var(--navy);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: var(--space-md);
}

.process-card__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.process-card__text {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

@media (min-width: 1024px) {
    .process-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        overflow: visible;
    }

    .process-card {
        flex: none;
    }
}

/* --------------------------------------------------------------------------
   MEDICAL DIFFERENTIATORS ROW
   ----------------------------------------------------------------------- */
.differentiators {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.differentiator {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 14px;
    color: var(--dark-gray);
    font-weight: 500;
}

.differentiator svg {
    flex-shrink: 0;
    color: var(--green);
}

@media (min-width: 640px) {
    .differentiators {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .differentiators {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --------------------------------------------------------------------------
   TRUST STRIP SECTION
   ----------------------------------------------------------------------- */
.trust-strip {
    text-align: center;
    max-width: var(--content-max);
    margin: 0 auto;
}

.trust-strip h2 {
    margin-bottom: var(--space-md);
}

.trust-strip p {
    color: var(--gray);
    font-size: 17px;
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   CTA BANNER -coral bg, full width
   ----------------------------------------------------------------------- */
.cta-banner {
    background: var(--coral);
    padding: var(--space-3xl) 0;
    text-align: center;
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.cta-banner p {
    color: var(--white);
    opacity: 0.9;
    max-width: 640px;
    margin: 0 auto var(--space-xl);
    font-size: 17px;
    line-height: 1.7;
}

.cta-banner__buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

@media (min-width: 1024px) {
    .cta-banner {
        padding: var(--space-4xl) 0;
    }
}

/* --------------------------------------------------------------------------
   SINGLE POST
   ----------------------------------------------------------------------- */
.single-post {
    min-width: 0;
}

.single-post__header {
    margin-bottom: var(--space-xl);
}

.single-post__header h1 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    line-height: 1.3;
    margin-bottom: var(--space-md);
}

.single-post__meta {
    color: var(--gray);
    font-size: 14px;
}

.single-post__content p {
    margin-bottom: var(--space-md);
}

.single-post__content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: var(--space-xl) 0 var(--space-md);
}

.single-post__content h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    margin: var(--space-xl) 0 var(--space-md);
}

.single-post__content img {
    border-radius: var(--radius);
    margin: var(--space-lg) 0;
}

.single-post__content ul,
.single-post__content ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

.single-post__content ul { list-style: disc; }
.single-post__content ol { list-style: decimal; }

.single-post__content li {
    margin-bottom: var(--space-sm);
}

.single-post__content blockquote {
    border-left: 3px solid var(--coral);
    padding-left: var(--space-lg);
    margin: var(--space-lg) 0;
    color: var(--gray);
    font-style: italic;
}

.single-post__content table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-lg) 0;
    font-size: 14px;
    overflow-x: auto;
    display: block;
}

.single-post__content thead th {
    background: var(--off-white);
    font-weight: 600;
    text-align: left;
    padding: 10px 12px;
    border-bottom: 2px solid var(--light-gray);
    color: var(--navy);
    white-space: nowrap;
}

.single-post__content tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--light-gray);
    vertical-align: top;
}

.single-post__content tbody tr:hover {
    background: var(--off-white);
}

.single-post__content hr {
    border: none;
    border-top: 1px solid var(--light-gray);
    margin: var(--space-xl) 0;
}

.single-post__content h4 {
    font-size: 1.125rem;
    margin: var(--space-lg) 0 var(--space-md);
}

.single-post__content a {
    color: var(--coral);
}

.single-post__content a:hover {
    text-decoration: underline;
}

.single-post__content strong {
    font-weight: 600;
    color: var(--charcoal);
}

/* --------------------------------------------------------------------------
   BLOG PAGE
   ----------------------------------------------------------------------- */
.page-blog {
    display: grid;
    gap: var(--space-xl);
    padding: var(--space-xl) var(--container-padding);
    max-width: var(--container-max);
    margin: 0 auto;
}

.page-blog .page-title {
    margin-bottom: var(--space-lg);
    color: var(--navy);
}

@media (min-width: 768px) {
    .page-blog .post-grid--2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .page-blog {
        grid-template-columns: 1fr 300px;
        padding: var(--space-3xl) var(--container-padding);
    }

    .page-blog .post-grid--2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --------------------------------------------------------------------------
   DEFAULT PAGE
   ----------------------------------------------------------------------- */
.page-default {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: var(--space-2xl) var(--container-padding);
}

.page-default h1 {
    margin-bottom: var(--space-xl);
}

.page-content p {
    margin-bottom: var(--space-md);
}

.page-content img {
    border-radius: var(--radius);
    margin: var(--space-lg) 0;
}

@media (min-width: 1024px) {
    .page-default {
        padding: var(--space-3xl) var(--container-padding);
    }
}

/* --------------------------------------------------------------------------
   404 PAGE
   ----------------------------------------------------------------------- */
.page-404 {
    text-align: center;
    padding: var(--space-4xl) var(--container-padding);
    max-width: 640px;
    margin: 0 auto;
}

.page-404 h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--light-gray);
    margin-bottom: var(--space-md);
}

.page-404__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--navy);
    margin-bottom: var(--space-md);
}

.page-404 p {
    color: var(--gray);
    margin-bottom: var(--space-xl);
    font-size: 17px;
}

.page-404__links {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   BREADCRUMB
   ----------------------------------------------------------------------- */
.breadcrumb {
    font-size: 13px;
    color: var(--gray);
    padding: var(--space-md) 0;
}

.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--coral); }
.breadcrumb span { margin: 0 4px; }

/* --------------------------------------------------------------------------
   AFFILIATE DISCLOSURE
   ----------------------------------------------------------------------- */
.affiliate-disclosure {
    background: var(--off-white);
    border-left: 3px solid var(--light-gray);
    padding: var(--space-md);
    margin: var(--space-xl) 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.affiliate-disclosure p {
    font-size: 13px;
    color: var(--gray);
    margin: 0;
}

/* --------------------------------------------------------------------------
   PAGINATION
   ----------------------------------------------------------------------- */
.ikn-pagination {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-xl) 0;
}

.ikn-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    border: 1px solid var(--light-gray);
    color: var(--dark-gray);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition);
}

.ikn-pagination .page-numbers:hover {
    border-color: var(--navy);
    color: var(--navy);
}

.ikn-pagination .current {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

/* --------------------------------------------------------------------------
   FOOTER - Navy bg, 4 columns
   ----------------------------------------------------------------------- */
.site-footer {
    background: var(--navy);
    color: rgba(255,255,255,0.7);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.site-footer__grid {
    display: grid;
    gap: var(--space-xl);
    grid-template-columns: 1fr;
    margin-bottom: var(--space-xl);
}

@media (min-width: 640px) {
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 768px) {
    .site-footer__grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.site-footer h4 {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
    margin-bottom: var(--space-md);
}

.site-footer__tagline {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-top: var(--space-md);
    margin-bottom: var(--space-lg);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    color: rgba(255,255,255,0.7);
    transition: color var(--transition);
    display: flex;
}

.footer-social a:hover {
    color: rgba(255,255,255,1);
}

.site-footer ul li {
    margin-bottom: var(--space-sm);
}

.site-footer ul a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: color var(--transition);
}

.site-footer ul a:hover {
    color: rgba(255,255,255,1);
}

.site-footer__contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-size: 14px;
}

.site-footer__contact-item a {
    color: rgba(255,255,255,0.7);
}

.site-footer__contact-item a:hover {
    color: rgba(255,255,255,1);
}

.site-footer__logo-img {
    margin-bottom: var(--space-sm);
    border-radius: var(--radius);
}

.site-footer__contact-item--address {
    margin-top: var(--space-sm);
    align-items: flex-start;
}

.site-footer__contact-item--address svg {
    margin-top: 2px;
}

.site-footer__address-text {
    font-size: 13px;
    line-height: 1.4;
}

/* Bottom bar */
.site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

.site-footer__bottom a {
    color: rgba(255,255,255,0.4);
}

.site-footer__bottom a:hover {
    color: rgba(255,255,255,0.7);
}

@media (min-width: 768px) {
    .site-footer__bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* --------------------------------------------------------------------------
   PAGE HERO - Generic hero for non-treatment pages (hospitals, licenses, etc.)
   ----------------------------------------------------------------------- */
.page-hero {
    background-color: var(--off-white);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: var(--space-3xl) 0 var(--space-2xl);
    text-align: center;
}

.page-hero--has-image {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: var(--space-4xl) 0 var(--space-3xl);
}

.page-hero--has-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
}

.page-hero--has-image .container {
    position: relative;
    z-index: 1;
}

.page-hero--has-image .page-hero__content p {
    color: var(--dark-gray);
}

.page-hero__content {
    max-width: 720px;
    margin: 0 auto;
}

.page-hero__content h1 {
    margin-bottom: var(--space-md);
}

.page-hero__content p {
    color: var(--gray);
    font-size: 17px;
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto;
}

.page-hero__ctas {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-lg);
}

.page-hero--medical {
    background-color: var(--off-white);
}

.page-hero--kbeauty {
    background-color: #FFF8F5;
}

/* --------------------------------------------------------------------------
   SECTION HEADER (hyphen variant -alias for section__header)
   ----------------------------------------------------------------------- */
.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-header p {
    color: var(--gray);
    margin-top: var(--space-sm);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    font-size: 17px;
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   STATS BAR - Horizontal stat row (hospitals page)
   ----------------------------------------------------------------------- */
.stats-bar {
    display: grid;
    gap: var(--space-md);
    grid-template-columns: repeat(2, 1fr);
    padding: var(--space-xl) 0;
}

@media (min-width: 768px) {
    .stats-bar {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stats-bar__item {
    text-align: center;
}

.stats-bar__number {
    display: block;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--navy);
}

.stats-bar__label {
    display: block;
    font-size: 13px;
    color: var(--gray);
    margin-top: 4px;
}

/* --------------------------------------------------------------------------
   ADVANTAGE CARDS - "Why Choose" section (hospitals page)
   ----------------------------------------------------------------------- */
.advantages-grid {
    display: grid;
    gap: var(--space-lg);
    grid-template-columns: 1fr;
    margin-top: var(--space-xl);
}

@media (min-width: 640px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.advantage-card {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    background: var(--white);
    border-radius: var(--radius);
    transition: box-shadow var(--transition), transform var(--transition);
}

.advantage-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.advantage-card__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.advantage-card h4 {
    font-size: 16px;
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.advantage-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   HOSPITAL CARD - Static partner card variant (content/badges/title/desc/specs)
   ----------------------------------------------------------------------- */
.hospital-card__content {
    padding: var(--space-lg);
    flex: 1;
}

.hospital-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.hospital-card__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.hospital-card__desc {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.hospital-card__specs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

/* Pill tag -reusable */
.pill {
    display: inline-block;
    background: var(--light-gray);
    color: var(--dark-gray);
    font-size: 12px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

/* JCI badge */
.badge--jci {
    background: var(--green);
    color: var(--white);
    font-size: 11px;
}

/* --------------------------------------------------------------------------
   LICENSE PAGE - Cards + Company Info
   ----------------------------------------------------------------------- */
.license-grid {
    display: grid;
    gap: var(--space-lg);
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .license-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.license-card {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
}

.license-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.license-card__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: var(--off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.license-card h3 {
    font-size: 18px;
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.license-card__number {
    font-size: 16px;
    font-weight: 600;
    color: var(--coral);
    margin-bottom: var(--space-md);
    font-variant-numeric: tabular-nums;
}

.license-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

/* Narrow content container */
.content-narrow {
    max-width: var(--content-max);
    margin: 0 auto;
}

.content-narrow h2 {
    text-align: center;
    margin-bottom: var(--space-xl);
}

/* Info table -company details */
.info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.info-table tr {
    border-bottom: 1px solid var(--light-gray);
}

.info-table th {
    text-align: left;
    padding: 14px 16px 14px 0;
    font-weight: 600;
    color: var(--navy);
    white-space: nowrap;
    width: 180px;
    vertical-align: top;
}

.info-table td {
    padding: 14px 0;
    color: var(--dark-gray);
}

.info-table a {
    color: var(--coral);
}

@media (max-width: 639px) {
    .info-table th,
    .info-table td {
        display: block;
        padding: 8px 0;
        width: 100%;
    }
    .info-table th {
        padding-bottom: 0;
        font-size: 13px;
        color: var(--gray);
    }
    .info-table tr {
        padding: var(--space-sm) 0;
    }
}

/* --------------------------------------------------------------------------
   SCROLL ANIMATIONS -.fade-up
   ----------------------------------------------------------------------- */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.fade-up-stagger > *:nth-child(1) { transition-delay: 0.1s; }
.fade-up-stagger > *:nth-child(2) { transition-delay: 0.2s; }
.fade-up-stagger > *:nth-child(3) { transition-delay: 0.3s; }
.fade-up-stagger > *:nth-child(4) { transition-delay: 0.4s; }
.fade-up-stagger > *:nth-child(5) { transition-delay: 0.5s; }
.fade-up-stagger > *:nth-child(6) { transition-delay: 0.6s; }
.fade-up-stagger > *:nth-child(7) { transition-delay: 0.7s; }
.fade-up-stagger > *:nth-child(8) { transition-delay: 0.8s; }

/* --------------------------------------------------------------------------
   UTILITIES
   ----------------------------------------------------------------------- */
.text-muted { color: var(--gray); }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; clip: rect(0,0,0,0); overflow: hidden; }

/* Utility grids */
.grid-2 { display: grid; gap: var(--space-lg); grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: var(--space-lg); grid-template-columns: 1fr; }
.grid-4 { display: grid; gap: var(--space-lg); grid-template-columns: 1fr; }
.grid-6 { display: grid; gap: var(--space-lg); grid-template-columns: 1fr; }

@media (min-width: 640px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-6 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(3, 1fr); }
    .grid-6 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
    .grid-6 { grid-template-columns: repeat(3, 1fr); }
}

.btn--telegram {
    background: #0088cc;
    color: var(--white);
}

.btn--telegram:hover {
    background: #0077b3;
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------------------
   TREATMENT CATEGORY CARDS (Homepage)
   ----------------------------------------------------------------------- */
.treatment-cat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: var(--space-xl) var(--space-lg);
    transition: box-shadow var(--transition), transform var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}

.treatment-cat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    color: inherit;
}

.treatment-cat-card__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: var(--off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coral);
    margin-bottom: var(--space-md);
}

.treatment-cat-card__name {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.treatment-cat-card__desc {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.5;
    margin-bottom: var(--space-md);
}

.treatment-cat-card__price {
    font-size: 13px;
    font-weight: 600;
    color: var(--coral);
}

/* --------------------------------------------------------------------------
   TRUST STATS (Homepage - "Why Korea?" 3-column)
   ----------------------------------------------------------------------- */
.trust-section {
    text-align: center;
}

.trust-section h2 {
    margin-bottom: var(--space-md);
}

.trust-section > p {
    color: var(--gray);
    max-width: 640px;
    margin: 0 auto var(--space-xl);
}

.trust-cols {
    display: grid;
    gap: var(--space-xl);
    grid-template-columns: 1fr;
    text-align: left;
}

@media (min-width: 768px) {
    .trust-cols {
        grid-template-columns: repeat(3, 1fr);
    }
}

.trust-col__title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--coral);
    margin-bottom: var(--space-md);
}

.trust-col__list {
    list-style: none;
}

.trust-col__list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 14px;
    color: var(--dark-gray);
    margin-bottom: var(--space-md);
    line-height: 1.5;
}

.trust-col__list li svg {
    flex-shrink: 0;
    color: var(--green);
    margin-top: 2px;
}

.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--light-gray);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--gray);
    padding: var(--space-sm) var(--space-md);
    background: var(--off-white);
    border-radius: var(--radius-full);
}

.trust-badge svg {
    color: var(--green);
}

/* --------------------------------------------------------------------------
   HOSPITAL MINI CARDS (Homepage -6 partners)
   ----------------------------------------------------------------------- */
.hospital-mini-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: var(--space-lg);
    transition: box-shadow var(--transition), transform var(--transition);
}

.hospital-mini-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.hospital-mini-card__name {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.hospital-mini-card__stat {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: var(--space-md);
    line-height: 1.5;
}

.hospital-mini-card__specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: var(--space-md);
}

.hospital-mini-card__link {
    font-size: 13px;
    font-weight: 500;
    color: var(--coral);
}

.hospital-mini-card__link:hover {
    color: var(--coral-dark);
}

/* --------------------------------------------------------------------------
   PRICING TABLE (Treatment pages)
   ----------------------------------------------------------------------- */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--radius);
    overflow: hidden;
    font-size: 14px;
}

.pricing-table thead th {
    background: var(--navy);
    color: var(--white);
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.pricing-table tbody tr {
    border-bottom: 1px solid var(--light-gray);
}

.pricing-table tbody tr:nth-child(even) {
    background: var(--off-white);
}

.pricing-table tbody td {
    padding: 12px 16px;
    color: var(--dark-gray);
}

.pricing-table .savings-cell {
    color: var(--green);
    font-weight: 600;
}

.pricing-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 767px) {
    .pricing-table {
        font-size: 12px;
    }
    .pricing-table thead th,
    .pricing-table tbody td {
        padding: 10px 12px;
    }
}

/* --------------------------------------------------------------------------
   TREATMENT PAGE TEMPLATE
   ----------------------------------------------------------------------- */
.treatment-hero {
    background-color: var(--off-white);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: var(--space-3xl) 0 var(--space-2xl);
    text-align: center;
}

.treatment-hero--has-image {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: var(--space-4xl) 0 var(--space-3xl);
}

.treatment-hero--has-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
}

.treatment-hero--has-image p {
    color: var(--dark-gray);
}

.treatment-hero--has-image .container {
    position: relative;
    z-index: 1;
}
}

.treatment-hero h1 {
    margin-bottom: var(--space-md);
}

.treatment-hero p {
    color: var(--gray);
    max-width: 640px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.7;
}

.treatment-section {
    padding: var(--space-2xl) 0;
}

.treatment-section h2 {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.treatment-section > .container > .section__header p {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.treatment-section .overline {
    text-align: center;
}

.treatment-section p {
    margin-bottom: var(--space-md);
}

.treatment-expect-timeline {
    display: grid;
    gap: var(--space-md);
    grid-template-columns: 1fr;
    margin-top: var(--space-lg);
}

@media (min-width: 768px) {
    .treatment-expect-timeline {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

.timeline-step {
    text-align: center;
    padding: var(--space-lg) var(--space-md);
    background: var(--off-white);
    border-radius: var(--radius);
}

.timeline-step__number {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--coral);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.timeline-step__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 4px;
}

.timeline-step__text {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.4;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--light-gray);
    padding: var(--space-lg) 0;
}

.faq-item summary {
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 20px;
    font-weight: 400;
    color: var(--gray);
    transition: transform var(--transition);
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-item__answer {
    padding-top: var(--space-md);
    font-size: 15px;
    color: var(--dark-gray);
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   HOSPITAL PROFILE PAGE
   ----------------------------------------------------------------------- */
.hospital-hero {
    background: var(--off-white);
    padding: var(--space-3xl) 0 var(--space-2xl);
}

.hospital-hero h1 {
    margin-bottom: var(--space-sm);
}

.hospital-hero__tagline {
    font-size: 17px;
    color: var(--gray);
    margin-bottom: var(--space-lg);
}

.hospital-hero__location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--gray);
}

.hospital-stats-bar {
    display: grid;
    gap: var(--space-md);
    grid-template-columns: repeat(2, 1fr);
    padding: var(--space-xl) 0;
    border-bottom: 1px solid var(--light-gray);
}

@media (min-width: 768px) {
    .hospital-stats-bar {
        grid-template-columns: repeat(4, 1fr);
    }
}

.hospital-stat {
    text-align: center;
}

.hospital-stat__value {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--navy);
}

.hospital-stat__label {
    font-size: 13px;
    color: var(--gray);
    margin-top: 4px;
}

.department-card {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: var(--space-lg);
    text-align: center;
}

.department-card h4 {
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.department-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

.doctor-card {
    text-align: center;
    padding: var(--space-lg);
}

.doctor-card__photo {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    background: var(--light-gray);
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    color: var(--gray);
}

.doctor-card__name {
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 4px;
}

.doctor-card__specialty {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 4px;
}

.doctor-card__note {
    font-size: 12px;
    color: var(--coral);
}

/* --------------------------------------------------------------------------
   BLOG SINGLE WITH SIDEBAR
   ----------------------------------------------------------------------- */
.blog-layout {
    display: grid;
    gap: var(--space-xl);
    grid-template-columns: 1fr;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-2xl) var(--container-padding);
}

@media (min-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr 320px;
        padding: var(--space-3xl) var(--container-padding);
    }
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

@media (min-width: 1024px) {
    .blog-sidebar {
        position: sticky;
        top: calc(var(--header-height) + var(--space-lg));
        align-self: start;
    }
}

.sidebar-card {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: var(--space-lg);
}

.sidebar-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: var(--space-md);
}

.sidebar-card .btn {
    width: 100%;
    justify-content: center;
    margin-top: var(--space-md);
}

.sidebar-card__list {
    list-style: none;
}

.sidebar-card__list li {
    margin-bottom: var(--space-sm);
}

.sidebar-card__list a {
    font-size: 14px;
    color: var(--dark-gray);
}

.sidebar-card__list a:hover {
    color: var(--coral);
}

/* Author bio */
.author-bio {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: var(--off-white);
    border-radius: var(--radius);
    margin: var(--space-xl) 0;
}

.author-bio__avatar {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    background: var(--light-gray);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--gray);
}

.author-bio__name {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 4px;
}

.author-bio__text {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

/* Read time / meta */
.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    font-size: 14px;
    color: var(--gray);
    margin-bottom: var(--space-xl);
}

.post-meta__item {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* K-Beauty warm background */
.section--warm {
    background: #FFF8F5;
}

/* ── Visual Break (full-width image between sections) ── */
.visual-break {
    position: relative;
    overflow: hidden;
    height: clamp(280px, 40vw, 480px);
}

.visual-break__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.visual-break--overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(49,64,98,0.55) 0%, rgba(49,64,98,0.15) 100%);
}

.visual-break__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
    padding: 0 var(--space-xl);
    max-width: var(--container-max);
    margin: 0 auto;
}

.visual-break__content h3 {
    color: #fff;
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.visual-break__content p {
    color: rgba(255,255,255,0.9);
    font-size: clamp(0.9375rem, 2vw, 1.0625rem);
    max-width: 520px;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

@media (max-width: 767px) {
    .visual-break {
        height: 220px;
    }
    .visual-break__content {
        padding: 0 var(--space-md);
    }
}

/* --------------------------------------------------------------------------
   MOBILE / TOUCH DEVICE FIXES
   - Visible shadows so cards are distinct without hover
   - Subtle borders on cards sitting on same-color backgrounds
   - Hidden CTAs made visible
   - Touch targets bumped to 44px minimum
   - Active states for touch feedback
   - Stronger section separation
   ----------------------------------------------------------------------- */
@media (hover: none) {
    /* All interactive cards: visible shadow on touch devices */
    .product-card,
    .hospital-card,
    .treatment-category-card,
    .treatment-cat-card,
    .advantage-card,
    .partner-tier-card,
    .brand-card,
    .hospital-mini-card,
    .skin-cat-card,
    .skin-v2-clinic-card,
    .dept-card,
    .about-service-card,
    .license-card,
    .contact-channel {
        box-shadow: 0 4px 18px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.05);
    }

    /* Non-interactive content cards: subtle border + shadow */
    .process-card,
    .partner-steps__item,
    .partner-types__item,
    .differentiator-card,
    .intl-card,
    .why-card,
    .department-card,
    .timeline-step,
    .sidebar-card {
        box-shadow: 0 2px 10px rgba(0,0,0,0.07);
        border: 1px solid rgba(0,0,0,0.06);
    }

    /* Post cards */
    .post-card {
        box-shadow: 0 4px 18px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.05);
    }

    /* CTAs: always visible (no hover reveal) */
    .product-card__cta,
    .skin-cat-card__cta {
        opacity: 1;
        transform: translateY(0);
    }

    /* Touch feedback on tap */
    .product-card:active,
    .hospital-card:active,
    .treatment-category-card:active,
    .treatment-cat-card:active,
    .advantage-card:active,
    .partner-tier-card:active,
    .brand-card:active,
    .post-card:active,
    .hospital-mini-card:active,
    .skin-cat-card:active,
    .contact-channel:active {
        transform: scale(0.98);
        transition: transform 100ms ease;
    }

    /* Touch targets: minimum 44px */
    .btn--sm {
        min-height: 44px;
        padding: 12px 20px;
    }

    .lang-switcher__option {
        padding: 8px 16px;
    }
}

@media (max-width: 767px) {
    /* Pagination touch targets */
    .ikn-pagination .page-numbers {
        width: 44px;
        height: 44px;
        line-height: 44px;
    }

    /* Stronger section separation on mobile */
    .section--alt {
        border-top: 1px solid var(--light-gray);
        border-bottom: 1px solid var(--light-gray);
    }

    /* More visible gap between sections */
    .section + .section,
    .section + .visual-break,
    .visual-break + .section {
        margin-top: 2px;
    }
}
