/*
 * Smile Makeover Super Pillar CSS
 * Namespace: sm-
 * Palette: Champagne Gold #b8860b, Deep Navy #1e293b, WhatsApp Green #22c55e
 */

/* ── Reset & Base ─────────────────────────────────────────────── */
.sm-page #primary { margin:0; padding:0; }
.sm-wrapper { font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; color:#334155; line-height:1.65; background:#fff; }
.sm-wrapper h1,.sm-wrapper h2,.sm-wrapper h3,.sm-wrapper h4 { color:#1e293b; font-weight:700; line-height:1.25; }
.sm-container { max-width:1200px; margin:0 auto; padding:0 20px; }

/* ── Layout Grid ──────────────────────────────────────────────── */
.sm-layout { display:grid; grid-template-columns:1fr 340px; gap:40px; padding:40px 0; align-items:start; }
.sm-content { min-width:0; }
.sm-sidebar { position:sticky; top:100px; display:flex; flex-direction:column; gap:28px; }

/* ── Breadcrumb ───────────────────────────────────────────────── */
.sm-breadcrumb { max-width:1200px; margin:0 auto 0; padding:14px 20px; font-size:.875rem; color:rgba(255,255,255,.75); }
.sm-breadcrumb a { color:#fff; text-decoration:none; }
.sm-breadcrumb a:hover { text-decoration:underline; }
.sm-breadcrumb span { margin:0 8px; opacity:.6; }

/* ── Hero ─────────────────────────────────────────────────────── */
.sm-hero {
    background:linear-gradient(135deg,rgba(30,41,59,.88) 0%,rgba(184,134,11,.75) 100%),
               url('/wp-content/uploads/2026/05/sm-hero.png') center/cover no-repeat;
    color:#fff; padding:24px 0 80px;
}
.sm-hero-inner { max-width:780px; margin:0 auto; text-align:center; padding:0 20px; }
.sm-hero-kicker { display:inline-block; background:rgba(255,255,255,.15); backdrop-filter:blur(4px); padding:6px 18px; border-radius:999px; font-size:.875rem; font-weight:600; margin-bottom:20px; letter-spacing:.02em; }
.sm-hero h1 { color:#fff; font-size:clamp(1.9rem,4.5vw,3rem); font-weight:800; margin-bottom:20px; }
.sm-hero-lead { font-size:1.125rem; opacity:.9; margin-bottom:28px; }
.sm-hero-trust { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-bottom:32px; }
.sm-hero-trust-item { display:flex; align-items:center; gap:6px; font-size:.875rem; background:rgba(255,255,255,.12); padding:6px 14px; border-radius:20px; }
.sm-hero-trust-item svg { width:14px; height:14px; flex-shrink:0; }
.sm-hero-ctas { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ── Buttons ──────────────────────────────────────────────────── */
.sm-btn { display:inline-flex; align-items:center; gap:8px; padding:13px 26px; font-weight:700; border-radius:8px; text-decoration:none; font-size:.95rem; transition:transform .2s,box-shadow .2s; cursor:pointer; border:none; }
.sm-btn:hover { transform:translateY(-2px); }
.sm-btn-wa { background:#22c55e; color:#fff; box-shadow:0 4px 14px rgba(34,197,94,.35); }
.sm-btn-wa:hover { background:#16a34a; color:#fff; box-shadow:0 6px 20px rgba(34,197,94,.45); }
.sm-btn-gold { background:#b8860b; color:#fff; box-shadow:0 4px 14px rgba(184,134,11,.3); }
.sm-btn-gold:hover { background:#9a700a; color:#fff; }
.sm-btn-outline { background:transparent; border:2px solid rgba(255,255,255,.6); color:#fff; }
.sm-btn-outline:hover { background:rgba(255,255,255,.1); color:#fff; }
.sm-btn-full { width:100%; justify-content:center; }

/* ── Stats Bar ────────────────────────────────────────────────── */
.sm-stats { background:#1e293b; color:#fff; padding:20px; }
.sm-stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; text-align:center; }
.sm-stat-num { font-size:1.75rem; font-weight:800; color:#f59e0b; display:block; }
.sm-stat-label { font-size:.8rem; opacity:.75; margin-top:2px; }

/* ── AIO Box ──────────────────────────────────────────────────── */
.sm-aio { background:#f0fdf4; border-left:4px solid #22c55e; padding:20px 24px; border-radius:0 10px 10px 0; margin:28px 0; }
.sm-aio-title { font-weight:700; color:#15803d; margin-bottom:8px; font-size:.95rem; display:flex; align-items:center; gap:8px; }
.sm-aio p { margin:0; font-size:.95rem; color:#334155; }

/* ── Sections ─────────────────────────────────────────────────── */
.sm-section { margin-bottom:60px; }
.sm-section:last-child { margin-bottom:0; }
.sm-section-title { font-size:1.85rem; margin-bottom:8px; padding-bottom:12px; border-bottom:3px solid #f1f5f9; }
.sm-section-subtitle { color:#64748b; font-size:1rem; margin-bottom:28px; }

/* ── 6 Elements Grid ──────────────────────────────────────────── */
.sm-elements-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.sm-element-card { background:#fffdf7; border:1px solid #e9d5a0; border-radius:12px; padding:22px; text-align:center; }
.sm-element-icon { font-size:2rem; margin-bottom:10px; }
.sm-element-card h4 { color:#b8860b; font-size:1rem; margin-bottom:6px; }
.sm-element-card p { font-size:.875rem; color:#64748b; margin:0; }

/* ── Procedures Grid ──────────────────────────────────────────── */
.sm-proc-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.sm-proc-card { background:#fff; border:1px solid #e2e8f0; border-radius:12px; padding:22px; transition:box-shadow .2s,transform .2s; }
.sm-proc-card:hover { box-shadow:0 8px 24px rgba(0,0,0,.08); transform:translateY(-3px); }
.sm-proc-card-icon { font-size:2rem; margin-bottom:12px; }
.sm-proc-card h3 { font-size:1rem; margin-bottom:6px; color:#1e293b; }
.sm-proc-card p { font-size:.875rem; color:#64748b; margin-bottom:10px; }
.sm-proc-price { font-weight:700; color:#b8860b; font-size:.9rem; }
.sm-proc-link { display:inline-block; margin-top:10px; font-size:.85rem; color:#0891b2; text-decoration:none; font-weight:600; }
.sm-proc-link:hover { text-decoration:underline; }

/* ── Materials Table ──────────────────────────────────────────── */
.sm-table-wrap { overflow-x:auto; border-radius:12px; box-shadow:0 2px 8px rgba(0,0,0,.06); margin:24px 0; }
.sm-table { width:100%; border-collapse:collapse; background:#fff; font-size:.9rem; }
.sm-table th { background:#1e293b; color:#fff; padding:14px 18px; text-align:left; font-weight:600; }
.sm-table td { padding:13px 18px; border-bottom:1px solid #f1f5f9; }
.sm-table tbody tr:last-child td { border-bottom:none; }
.sm-table tbody tr:hover { background:#fffdf7; }
.sm-table .sm-td-highlight { font-weight:700; color:#b8860b; }

/* ── Process Timeline ─────────────────────────────────────────── */
.sm-timeline { position:relative; padding-left:36px; margin:28px 0; }
.sm-timeline::before { content:''; position:absolute; left:13px; top:0; bottom:0; width:2px; background:#e2e8f0; }
.sm-timeline-item { position:relative; margin-bottom:28px; }
.sm-timeline-item::before { content:attr(data-step); position:absolute; left:-36px; top:2px; width:26px; height:26px; background:#b8860b; color:#fff; border-radius:50%; font-size:.75rem; font-weight:700; display:flex; align-items:center; justify-content:center; }
.sm-timeline-title { font-size:1.05rem; font-weight:700; color:#1e293b; margin-bottom:4px; }
.sm-timeline-body { font-size:.9rem; color:#64748b; }

/* ── Tourism Scenario Cards ───────────────────────────────────── */
.sm-scenario-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin:24px 0; }
.sm-scenario-card { border-radius:12px; padding:24px; border:2px solid #e2e8f0; }
.sm-scenario-card.sm-scenario-a { border-color:#22c55e; background:#f0fdf4; }
.sm-scenario-card.sm-scenario-b { border-color:#f59e0b; background:#fffbeb; }
.sm-scenario-card.sm-scenario-c { border-color:#0891b2; background:#f0fdff; }
.sm-scenario-label { font-size:.75rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; margin-bottom:10px; }
.sm-scenario-card h4 { margin-bottom:8px; font-size:1rem; }
.sm-scenario-card p { font-size:.875rem; margin:0; color:#64748b; }

/* ── B&A Gallery ──────────────────────────────────────────────── */
.sm-gallery-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.sm-ba-card { border-radius:12px; overflow:hidden; box-shadow:0 4px 14px rgba(0,0,0,.08); background:#fff; }
.sm-ba-img { width:100%; aspect-ratio:1; object-fit:cover; display:block; }
.sm-ba-info { padding:14px 16px; }
.sm-ba-title { font-weight:700; font-size:.95rem; margin-bottom:4px; }
.sm-ba-meta { font-size:.8rem; color:#64748b; }

/* ── Design My Smile Widget ───────────────────────────────────── */
.sm-assessor { background:#fffdf7; border:2px solid #e9d5a0; border-radius:16px; padding:32px; margin:32px 0; }
.sm-assessor h3 { color:#b8860b; margin-bottom:8px; }
.sm-assessor-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin:20px 0; }
.sm-check-label { display:flex; align-items:center; gap:10px; padding:12px 14px; border:1px solid #e2e8f0; border-radius:8px; cursor:pointer; font-size:.9rem; background:#fff; transition:border-color .2s,background .2s; }
.sm-check-label:hover { border-color:#b8860b; background:#fffdf7; }
.sm-check-label input { accent-color:#b8860b; width:16px; height:16px; }
.sm-assessor-result { display:none; padding:20px; border-radius:10px; margin-top:16px; animation:smFadeIn .3s ease; }
.sm-assessor-result.active { display:block; }
.sm-assessor-result.great { background:#dcfce7; border:1px solid #86efac; }
.sm-assessor-result.good { background:#fef9c3; border:1px solid #fde047; }
.sm-assessor-result.consult { background:#f0f9ff; border:1px solid #7dd3fc; }
@keyframes smFadeIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }

/* ── Candidacy ────────────────────────────────────────────────── */
.sm-candidacy-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.sm-candidacy-col { border-radius:12px; padding:24px; }
.sm-candidacy-col.good { background:#f0fdf4; border:1px solid #86efac; }
.sm-candidacy-col.prepare { background:#fffbeb; border:1px solid #fde047; }
.sm-candidacy-col h4 { margin-bottom:14px; font-size:1.05rem; }
.sm-candidacy-col ul { list-style:none; padding:0; margin:0; }
.sm-candidacy-col li { padding:6px 0; font-size:.9rem; display:flex; gap:8px; align-items:flex-start; }

/* ── Pricing Tables ───────────────────────────────────────────── */
.sm-pricing-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin:24px 0; }
.sm-price-card { border:2px solid #e2e8f0; border-radius:12px; padding:22px; text-align:center; background:#fff; transition:box-shadow .2s,transform .2s; }
.sm-price-card:hover { box-shadow:0 8px 24px rgba(0,0,0,.1); transform:translateY(-3px); }
.sm-price-card.sm-featured { border-color:#b8860b; background:linear-gradient(135deg,#fffdf7,#fff9e6); }
.sm-price-card h4 { font-size:.95rem; margin-bottom:8px; color:#1e293b; }
.sm-price-card .sm-price-amount { font-size:1.6rem; font-weight:800; color:#b8860b; display:block; margin:8px 0; }
.sm-price-card .sm-price-walk { text-decoration:line-through; font-size:.8rem; color:#94a3b8; display:block; }
.sm-price-card .sm-price-includes { font-size:.8rem; color:#64748b; margin-top:10px; }
.sm-price-badge { display:inline-block; background:#22c55e; color:#fff; font-size:.7rem; font-weight:700; padding:2px 10px; border-radius:99px; margin-bottom:8px; }

/* ── Savings Table ────────────────────────────────────────────── */
.sm-savings-table { width:100%; border-collapse:collapse; background:#fff; border-radius:12px; overflow:hidden; box-shadow:0 2px 8px rgba(0,0,0,.06); }
.sm-savings-table th { background:#1e293b; color:#fff; padding:14px 18px; font-weight:600; text-align:left; }
.sm-savings-table td { padding:13px 18px; border-bottom:1px solid #f1f5f9; }
.sm-savings-table .sm-savings-highlight { font-weight:700; color:#22c55e; }

/* ── Dr Cuong Card (inline) ───────────────────────────────────── */
.sm-doctor-card { display:flex; gap:24px; align-items:flex-start; background:#f8fafc; border:1px solid #e2e8f0; border-radius:16px; padding:28px; }
.sm-doctor-img { width:100px; height:100px; border-radius:50%; object-fit:cover; flex-shrink:0; border:3px solid #b8860b; }
.sm-doctor-name { font-size:1.15rem; font-weight:700; margin-bottom:4px; }
.sm-doctor-title { color:#64748b; font-size:.875rem; margin-bottom:12px; }
.sm-doctor-badges { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:14px; }
.sm-doctor-badge { background:#fff; border:1px solid #e2e8f0; border-radius:99px; padding:4px 12px; font-size:.8rem; font-weight:600; color:#1e293b; }
.sm-doctor-quote { font-style:italic; font-size:.9rem; color:#64748b; border-left:3px solid #b8860b; padding-left:14px; }

/* ── Testimonials ─────────────────────────────────────────────── */
.sm-reviews-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.sm-review-card { background:#fff; border:1px solid #e2e8f0; border-radius:12px; padding:22px; }
.sm-review-stars { color:#f59e0b; font-size:1.1rem; margin-bottom:10px; }
.sm-review-text { font-size:.9rem; color:#334155; font-style:italic; margin-bottom:14px; }
.sm-review-author { font-weight:700; font-size:.875rem; }
.sm-review-meta { font-size:.8rem; color:#64748b; }

/* ── FAQ ──────────────────────────────────────────────────────── */
.sm-faq-cat-title { font-size:1.15rem; font-weight:700; color:#b8860b; margin:28px 0 12px; display:flex; align-items:center; gap:8px; }
.sm-faq-item { border:1px solid #e2e8f0; border-radius:10px; margin-bottom:10px; overflow:hidden; }
.sm-faq-q { padding:16px 20px; background:#fff; cursor:pointer; font-weight:600; font-size:.95rem; display:flex; justify-content:space-between; align-items:center; user-select:none; }
.sm-faq-q::after { content:'+'; font-size:1.4rem; color:#b8860b; transition:transform .3s; flex-shrink:0; }
.sm-faq-item.active .sm-faq-q::after { transform:rotate(45deg); }
.sm-faq-a { max-height:0; overflow:hidden; transition:max-height .35s ease,padding .35s ease; background:#fffdf7; font-size:.9rem; color:#334155; }
.sm-faq-item.active .sm-faq-a { max-height:400px; padding:16px 20px; }

/* ── Oral Care Tips ───────────────────────────────────────────── */
.sm-tips-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.sm-tip-card { background:#fff; border:1px solid #e2e8f0; border-radius:10px; padding:20px; display:flex; gap:14px; align-items:flex-start; }
.sm-tip-icon { font-size:1.75rem; flex-shrink:0; }
.sm-tip-card h4 { font-size:.9rem; margin-bottom:4px; color:#1e293b; }
.sm-tip-card p { font-size:.85rem; color:#64748b; margin:0; }

/* ── Bottom CTA ───────────────────────────────────────────────── */
.sm-cta-block { background:linear-gradient(135deg,#1e293b 0%,#0f172a 100%); color:#fff; border-radius:20px; padding:56px 48px; display:grid; grid-template-columns:1.4fr 1fr; gap:40px; align-items:center; margin:60px 0; }
.sm-cta-block h2 { color:#fff; font-size:2rem; margin-bottom:12px; }
.sm-cta-block p { opacity:.85; margin-bottom:0; font-size:1.05rem; }
.sm-cta-card { background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.15); border-radius:16px; padding:28px; text-align:center; min-width:0; width:100%; box-sizing:border-box; }
.sm-cta-card h3 { color:#f59e0b; margin-bottom:14px; font-size:1.1rem; }
.sm-cta-badge { display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin-top:16px; }
.sm-cta-badge span { background:rgba(255,255,255,.1); border-radius:99px; padding:4px 12px; font-size:.75rem; }

/* ── Related Treatments ───────────────────────────────────────── */
.sm-related-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.sm-related-card { background:#fff; border:1px solid #e2e8f0; border-radius:12px; padding:22px; text-decoration:none; color:inherit; transition:box-shadow .2s,transform .2s; display:block; }
.sm-related-card:hover { box-shadow:0 8px 24px rgba(0,0,0,.1); transform:translateY(-3px); color:inherit; }
.sm-related-icon { font-size:2rem; margin-bottom:12px; }
.sm-related-card h4 { font-size:1rem; margin-bottom:6px; color:#1e293b; }
.sm-related-card p { font-size:.875rem; color:#64748b; margin:0; }

/* ── Sidebar Cards ────────────────────────────────────────────── */
.sm-card { background:#fff; border-radius:14px; padding:24px; box-shadow:0 4px 14px rgba(0,0,0,.06); border:1px solid #f1f5f9; }
.sm-card-wa { background:linear-gradient(135deg,#128C7E,#075E54); color:#fff; }
.sm-card-wa h3 { color:#fff; margin-top:0; margin-bottom:12px; font-size:1.1rem; }
.sm-card-price { background:#1e293b; color:#fff; }
.sm-card-price h3 { color:#f59e0b; margin-top:0; margin-bottom:14px; font-size:1rem; }
.sm-price-row { display:flex; justify-content:space-between; align-items:center; padding:8px 0; border-bottom:1px solid rgba(255,255,255,.1); font-size:.875rem; }
.sm-price-row:last-child { border-bottom:none; }
.sm-price-row-label { opacity:.8; }
.sm-price-row-val { font-weight:700; color:#f59e0b; }
.sm-card-toc h3 { color:#1e293b; margin-top:0; margin-bottom:14px; font-size:.95rem; }
.sm-toc-list { list-style:none; padding:0; margin:0; }
.sm-toc-list li a { display:block; padding:7px 10px; font-size:.875rem; color:#64748b; text-decoration:none; border-radius:6px; transition:background .15s,color .15s; }
.sm-toc-list li a:hover,.sm-toc-list li.active a { background:#fffdf7; color:#b8860b; font-weight:600; }
.sm-card-links h3 { font-size:.95rem; margin-top:0; margin-bottom:12px; }
.sm-card-links a { display:block; padding:8px 0; font-size:.875rem; color:#0891b2; text-decoration:none; border-bottom:1px solid #f1f5f9; }
.sm-card-links a:last-child { border-bottom:none; }
.sm-card-links a:hover { color:#b8860b; }
.sm-card-dr { display:flex; gap:14px; align-items:center; }
.sm-card-dr-img { width:60px; height:60px; border-radius:50%; object-fit:cover; border:2px solid #b8860b; flex-shrink:0; }
.sm-card-dr-name { font-weight:700; font-size:.95rem; margin-bottom:2px; }
.sm-card-dr-title { font-size:.8rem; color:#64748b; margin-bottom:8px; }


/* ── Responsive ───────────────────────────────────────────────── */
@media(max-width:1100px){
    .sm-pricing-grid { grid-template-columns:repeat(2,1fr); }
}
@media(max-width:992px){
    .sm-layout { grid-template-columns:1fr; }
    .sm-sidebar { position:static; }
    .sm-content { order:1; }
    .sm-sidebar { order:2; }
    .sm-elements-grid,.sm-proc-grid { grid-template-columns:repeat(2,1fr); }
    .sm-gallery-grid,.sm-reviews-grid,.sm-tips-grid,.sm-related-grid { grid-template-columns:repeat(2,1fr); }
    .sm-scenario-grid { grid-template-columns:1fr; }
    .sm-candidacy-grid { grid-template-columns:1fr; }
    .sm-stats-grid { grid-template-columns:repeat(2,1fr); }
    .sm-cta-block { grid-template-columns:1fr; }
    .sm-cta-card { min-width:0; }
    .sm-assessor-grid { grid-template-columns:1fr; }
    body.sm-page { padding-bottom:60px; }
}
@media(max-width:640px){
    .sm-hero h1 { font-size:1.7rem; }
    .sm-elements-grid,.sm-proc-grid,.sm-gallery-grid,.sm-reviews-grid,.sm-tips-grid,.sm-related-grid { grid-template-columns:1fr; }
    .sm-pricing-grid { grid-template-columns:1fr; }
    .sm-doctor-card { flex-direction:column; }
    .sm-cta-block { padding:36px 24px; }
    .sm-hero { padding-bottom:52px; }
}
