/* =====================================================
   SAMMARIE CLINIC
   Color system aligned with RSIA SamMarie Basra & Wijaya
===================================================== */
.smc-page {
    --smc-primary: #91298d;
    --smc-primary-dark: #721b70;
    --smc-secondary: #c03192;
    --smc-pink: #f3c9e5;
    --smc-pink-light: #fff4fa;
    --smc-text: #292329;
    --smc-muted: #716971;
    --smc-border: #eadfea;
    --smc-white: #fff;
    color: var(--smc-text);
    font-family: inherit;
    overflow: hidden;
}
.smc-page *, .smc-page *::before, .smc-page *::after { box-sizing: border-box; }
.smc-page img { max-width: 100%; }
.smc-page a { text-decoration: none; }
.smc-container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.smc-section { padding: 88px 0; }
.smc-eyebrow { display: inline-block; margin-bottom: 13px; color: var(--smc-primary); font-size: 12px; font-weight: 800; letter-spacing: .15em; line-height: 1.4; text-transform: uppercase; }
.smc-page h1, .smc-page h2, .smc-page h3, .smc-page p { margin-top: 0; }
.smc-page h1, .smc-page h2, .smc-page h3 { color: var(--smc-text); }
.smc-page h1 { margin-bottom: 20px; font-size: clamp(38px, 5vw, 64px); font-weight: 750; line-height: 1.08; letter-spacing: -.045em; }
.smc-page h2 { margin-bottom: 18px; font-size: clamp(30px, 3.4vw, 44px); font-weight: 750; line-height: 1.15; letter-spacing: -.035em; }
.smc-page h3 { font-size: 20px; font-weight: 700; line-height: 1.3; }
.smc-page p { color: var(--smc-muted); font-size: 15px; line-height: 1.8; }
.smc-page h1 span, .smc-page h2 span { color: var(--smc-primary); }
.smc-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 13px 21px; border: 1px solid transparent; border-radius: 999px; font-size: 13px; font-weight: 750; line-height: 1.2; transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease, color .25s ease; }
.smc-button-primary, .smc-button-primary:hover, .smc-button-primary:focus, .smc-button-primary:active { color: #fff; background: var(--smc-primary); }
.smc-button-primary:hover, .smc-button-primary:focus { transform: translateY(-3px); background: var(--smc-primary-dark); box-shadow: 0 10px 25px rgba(145,41,141,.22); }
.smc-button-outline, .smc-button-outline:hover, .smc-button-outline:focus { color: #fff; border-color: rgba(255,255,255,.65); background: rgba(255,255,255,.08); }
.smc-button-outline:hover { background: rgba(255,255,255,.17); transform: translateY(-3px); }
.smc-button-light, .smc-button-light:hover, .smc-button-light:focus { color: var(--smc-primary); background: #fff; }
.smc-button-light:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(35,0,35,.18); }
.smc-text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--smc-primary); font-size: 13px; font-weight: 800; transition: gap .25s ease, color .25s ease; }
.smc-text-link:hover, .smc-text-link:focus { gap: 15px; color: var(--smc-secondary); }
.smc-card-kicker { display: block; margin-bottom: 8px; color: var(--smc-primary); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }

/* HERO */
.smc-hero { position: relative; display: flex; align-items: center; min-height: 570px; overflow: hidden; isolation: isolate; background: linear-gradient(115deg, #32102f 0%, #70206c 55%, #91298d 100%); }
.smc-hero-image, .smc-hero-overlay { position: absolute; inset: 0; z-index: -2; }
.smc-hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.smc-hero-overlay { z-index: -1; background: linear-gradient(90deg, rgba(35,8,35,.88) 0%, rgba(88,20,83,.76) 48%, rgba(100,25,94,.2) 100%); }
.smc-hero-inner { padding-top: 76px; padding-bottom: 82px; }
.smc-hero-content { max-width: 690px; }
.smc-hero .smc-eyebrow { color: #f7c5ec; }
.smc-hero h1 { color: #fff; }
.smc-hero h1 span { color: #f7c5ec; }
.smc-hero p { max-width: 570px; margin-bottom: 28px; color: rgba(255,255,255,.86); font-size: 16px; }
.smc-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.smc-hero-accent { position: absolute; right: -100px; bottom: -220px; z-index: -1; width: 490px; height: 490px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.035), 0 0 0 110px rgba(255,255,255,.025); }

/* QUICK CTA */
.smc-quick-section { position: relative; z-index: 2; margin-top: -44px; }
.smc-quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.smc-quick-card { position: relative; display: flex; min-height: 150px; flex-direction: column; align-items: flex-start; padding: 23px 22px 20px; border: 1px solid var(--smc-border); border-radius: 17px; background: #fff; color: var(--smc-text); box-shadow: 0 12px 32px rgba(52,17,51,.07); transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.smc-quick-card:hover, .smc-quick-card:focus, .smc-quick-card:active { color: var(--smc-text); border-color: rgba(145,41,141,.38); background: #fff; transform: translateY(-5px); box-shadow: 0 18px 38px rgba(70,20,68,.13); }
.smc-quick-number { position: absolute; top: 19px; right: 20px; color: #cbbdca; font-size: 11px; font-weight: 800; }
.smc-quick-icon { display: flex; width: 42px; height: 42px; align-items: center; justify-content: center; margin-bottom: 14px; border-radius: 13px; background: var(--smc-pink-light); color: var(--smc-primary); }
.smc-quick-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.smc-quick-content strong { display: block; margin-bottom: 5px; color: var(--smc-text); font-size: 15px; line-height: 1.3; }
.smc-quick-content small { display: block; color: var(--smc-muted); font-size: 12px; line-height: 1.5; }
.smc-quick-arrow { position: absolute; right: 20px; bottom: 19px; color: var(--smc-primary); opacity: 0; transform: translate(-4px,4px); transition: opacity .25s ease, transform .25s ease; }
.smc-quick-card:hover .smc-quick-arrow, .smc-quick-card:focus .smc-quick-arrow { opacity: 1; transform: translate(0,0); }

/* ABOUT */
.smc-about { padding-top: 100px; }
.smc-about-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 76px; }
.smc-about-media, .smc-history-media { position: relative; min-width: 0; }
.smc-about-media > img, .smc-history-media > img { display: block; width: 100%; height: auto; max-height: 520px; border-radius: 22px; object-fit: cover; }
.smc-about-media::before { position: absolute; top: -16px; left: -16px; z-index: -1; width: 42%; height: 45%; border-radius: 22px; background: var(--smc-pink); content: ''; }
.smc-about-stamp { position: absolute; right: -22px; bottom: 25px; display: flex; align-items: center; gap: 12px; padding: 17px 21px; border: 1px solid var(--smc-border); border-radius: 15px; background: #fff; box-shadow: 0 12px 32px rgba(52,17,51,.1); }
.smc-about-stamp strong { color: var(--smc-primary); font-size: 28px; letter-spacing: -.06em; }
.smc-about-stamp span { color: var(--smc-muted); font-size: 11px; font-weight: 700; line-height: 1.4; }
.smc-about-content p { margin-bottom: 15px; }
.smc-about-content .smc-text-link { margin-top: 7px; }
.smc-image-placeholder { display: flex; min-height: 330px; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 30px; border: 1px dashed #d9b6d5; border-radius: 22px; background: linear-gradient(135deg, #fff7fc, #f4e5f3); text-align: center; }
.smc-image-placeholder span { color: var(--smc-primary); font-size: 19px; font-weight: 800; }
.smc-image-placeholder small { color: var(--smc-muted); font-size: 12px; }
.smc-image-placeholder-compact { min-height: 205px; border: 0; border-radius: 0; }

/* SECTION HEADINGS */
.smc-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; margin-bottom: 35px; }
.smc-section-heading > div { max-width: 650px; }
.smc-section-heading h2 { margin-bottom: 0; }
.smc-section-heading > p { max-width: 400px; margin-bottom: 3px; font-size: 14px; }
.smc-section-heading-center { display: block; max-width: 700px; margin: 0 auto 38px; text-align: center; }
.smc-section-heading-center p { max-width: 570px; margin: 14px auto 0; }

/* SERVICES */
.smc-services { background: var(--smc-pink-light); }
.smc-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.smc-service-card { overflow: hidden; border: 1px solid var(--smc-border); border-radius: 19px; background: #fff; box-shadow: 0 8px 25px rgba(143,22,139,.045); transition: transform .3s ease, box-shadow .3s ease; }
.smc-service-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(70,20,68,.1); }
.smc-service-image { overflow: hidden; background: #fbf5fa; }
.smc-service-image img { display: block; width: 100%; height: auto; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.smc-service-card:hover .smc-service-image img { transform: scale(1.04); }
.smc-service-body { padding: 25px 25px 27px; }
.smc-service-body h3 { margin-bottom: 10px; }
.smc-service-body p { margin-bottom: 17px; font-size: 13px; }

/* HISTORY / VISION */
.smc-history { background: #fff; }
.smc-history-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 70px; }
.smc-history-content p { margin-bottom: 14px; }
.smc-history-media { padding-bottom: 35px; }
.smc-history-caption { position: absolute; right: -16px; bottom: 0; display: flex; gap: 12px; width: min(350px, 90%); padding: 19px 21px; border: 1px solid var(--smc-border); border-radius: 15px; background: #fff; box-shadow: 0 12px 32px rgba(52,17,51,.09); }
.smc-history-caption-mark { color: var(--smc-secondary); font-family: Georgia,serif; font-size: 42px; line-height: .9; }
.smc-history-caption p { margin: 0; color: var(--smc-text); font-size: 12px; font-weight: 650; line-height: 1.6; }
.smc-vision-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; margin-top: 58px; }
.smc-vision-card { position: relative; overflow: hidden; min-height: 220px; padding: 34px; border: 1px solid var(--smc-border); border-radius: 20px; background: #fff; }
.smc-vision-card-accent { border-color: transparent; background: linear-gradient(135deg, var(--smc-primary), var(--smc-secondary)); }
.smc-vision-card .smc-eyebrow { margin-bottom: 12px; }
.smc-vision-card h3 { max-width: 470px; margin-bottom: 0; font-size: clamp(20px,2vw,27px); line-height: 1.45; }
.smc-vision-card-accent .smc-eyebrow, .smc-vision-card-accent h3 { color: #fff; }
.smc-vision-index { position: absolute; top: 18px; right: 24px; color: rgba(145,41,141,.12); font-size: 48px; font-weight: 850; line-height: 1; }
.smc-vision-card-accent .smc-vision-index { color: rgba(255,255,255,.18); }

/* VALUES */
.smc-values { background: #fbf7fb; }
.smc-values-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; }
.smc-value-card { padding: 25px 20px 24px; border: 1px solid var(--smc-border); border-radius: 17px; background: #fff; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.smc-value-card:hover { transform: translateY(-5px); border-color: rgba(145,41,141,.32); box-shadow: 0 13px 30px rgba(70,20,68,.08); }
.smc-value-letter { display: flex; width: 42px; height: 42px; align-items: center; justify-content: center; margin-bottom: 20px; border-radius: 13px; background: linear-gradient(135deg, var(--smc-primary), var(--smc-secondary)); color: #fff; font-size: 20px; font-weight: 800; }
.smc-value-card h3 { margin-bottom: 10px; color: var(--smc-primary); font-size: 17px; }
.smc-value-card p { margin-bottom: 0; font-size: 12px; line-height: 1.75; }

/* LOCATIONS */
.smc-locations { background: #fff; }
.smc-location-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.smc-location-card { overflow: hidden; border: 1px solid var(--smc-border); border-radius: 19px; background: #fff; box-shadow: 0 8px 25px rgba(143,22,139,.045); }
.smc-location-map { min-height: 230px; background: var(--smc-pink-light); }
.smc-location-map iframe { display: block; width: 100%; height: 230px; border: 0; }
.smc-map-placeholder { display: flex; min-height: 230px; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 25px; background: linear-gradient(135deg,#fff8fd,#f1e2f1); text-align: center; }
.smc-map-pin { color: var(--smc-primary); font-size: 36px; }
.smc-map-placeholder strong { color: var(--smc-primary); font-size: 16px; }
.smc-map-placeholder small { color: var(--smc-muted); font-size: 11px; }
.smc-location-body { padding: 25px 27px 28px; }
.smc-location-body h3 { margin-bottom: 10px; }
.smc-location-body p { margin-bottom: 18px; font-size: 13px; }

/* ARTICLES */
.smc-articles { background: var(--smc-pink-light); }
.smc-article-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.smc-article-card { overflow: hidden; border: 1px solid var(--smc-border); border-radius: 18px; background: #fff; transition: transform .28s ease, box-shadow .28s ease; }
.smc-article-card:hover { transform: translateY(-4px); box-shadow: 0 15px 32px rgba(70,20,68,.09); }
.smc-article-image { overflow: hidden; background: #fbf5fa; }
.smc-article-image img { display: block; width: 100%; height: auto; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.smc-article-card:hover .smc-article-image img { transform: scale(1.04); }
.smc-article-body { padding: 23px 24px 25px; }
.smc-article-body h3 { margin-bottom: 16px; font-size: 19px; }
.smc-coming-soon { color: var(--smc-muted); font-size: 12px; font-style: italic; }

/* FINAL CTA */
.smc-final-cta { position: relative; overflow: hidden; padding: 58px 0; background: linear-gradient(115deg,var(--smc-primary-dark),var(--smc-primary),var(--smc-secondary)); }
.smc-final-cta::after { position: absolute; top: -130px; right: 8%; width: 300px; height: 300px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 35px rgba(255,255,255,.035),0 0 0 70px rgba(255,255,255,.025); content: ''; }
.smc-final-cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.smc-final-cta .smc-eyebrow { color: #f7c5ec; }
.smc-final-cta h2 { margin-bottom: 10px; color: #fff; }
.smc-final-cta p { max-width: 650px; margin-bottom: 0; color: rgba(255,255,255,.82); font-size: 14px; }

@media (max-width: 1024px) {
    .smc-section { padding: 72px 0; }
    .smc-about-grid, .smc-history-grid { gap: 45px; }
    .smc-quick-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .smc-values-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .smc-value-card:nth-child(4), .smc-value-card:nth-child(5) { min-height: 0; }
}
@media (max-width: 767px) {
    .smc-container { width: min(100% - 36px, 560px); }
    .smc-section { padding: 58px 0; }
    .smc-hero { min-height: 560px; }
    .smc-hero-inner { padding-top: 65px; padding-bottom: 82px; }
    .smc-hero-overlay { background: linear-gradient(90deg,rgba(35,8,35,.88),rgba(88,20,83,.68)); }
    .smc-hero p { font-size: 14px; }
    .smc-hero-actions { align-items: stretch; flex-direction: column; max-width: 270px; }
    .smc-button { min-height: 46px; }
    .smc-quick-section { margin-top: -35px; }
    .smc-quick-grid { gap: 11px; }
    .smc-quick-card { min-height: 155px; padding: 18px 15px; border-radius: 14px; }
    .smc-quick-number { top: 15px; right: 14px; }
    .smc-quick-icon { width: 38px; height: 38px; margin-bottom: 12px; }
    .smc-quick-content strong { max-width: 130px; font-size: 13px; }
    .smc-quick-content small { font-size: 11px; }
    .smc-quick-arrow { right: 13px; bottom: 13px; opacity: 1; transform: none; }
    .smc-about { padding-top: 72px; }
    .smc-about-grid, .smc-history-grid { grid-template-columns: 1fr; gap: 36px; }
    .smc-about-media { margin-right: 10px; }
    .smc-about-media::before { top: -9px; left: -9px; }
    .smc-about-stamp { right: -8px; bottom: 16px; padding: 13px 15px; }
    .smc-about-stamp strong { font-size: 23px; }
    .smc-image-placeholder { min-height: 250px; }
    .smc-section-heading { display: block; margin-bottom: 28px; }
    .smc-section-heading > p { margin-top: 14px; }
    .smc-service-grid, .smc-article-grid { grid-template-columns: 1fr; gap: 16px; }
    .smc-service-body, .smc-article-body { padding: 21px; }
    .smc-history-media { margin-right: 8px; }
    .smc-history-caption { right: -8px; width: 90%; padding: 15px; }
    .smc-vision-grid { grid-template-columns: 1fr; gap: 13px; margin-top: 42px; }
    .smc-vision-card { min-height: 190px; padding: 27px 23px; }
    .smc-values-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
    .smc-value-card { padding: 19px 16px; }
    .smc-value-letter { width: 37px; height: 37px; margin-bottom: 15px; font-size: 18px; }
    .smc-value-card h3 { font-size: 15px; }
    .smc-value-card p { font-size: 11px; }
    .smc-location-grid { grid-template-columns: 1fr; gap: 16px; }
    .smc-location-body { padding: 21px; }
    .smc-final-cta { padding: 45px 0; }
    .smc-final-cta-inner { align-items: flex-start; flex-direction: column; gap: 22px; }
    .smc-final-cta::after { right: -160px; }
}
@media (max-width: 380px) {
    .smc-container { width: calc(100% - 28px); }
    .smc-values-grid { grid-template-columns: 1fr; }
    .smc-value-card { padding: 20px; }
}
