/* Smile Perfectors — professional dental theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=DM+Sans:wght@600;700;800&display=swap');

:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #5eead4;
    --accent: #0284c7;
    --secondary: #0f172a;
    --text: #1e293b;
    --muted: #64748b;
    --bg: #f0fdfa;
    --white: #ffffff;
    --radius: 12px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,.08);
    --shadow-lg: 0 12px 28px rgba(0,0,0,.1);
    --font-head: 'DM Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.7; }
h1,h2,h3,h4 { font-family: var(--font-head); color: var(--secondary); line-height: 1.3; }
a { color: inherit; text-decoration: none; transition: color .2s; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: .9rem; }
th, td { border: 1px solid #e2e8f0; padding: .6rem .75rem; text-align: left; }
th { background: #f0fdfa; font-weight: 600; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(255,255,255,.97); backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm); border-bottom: 1px solid #ccfbf1;
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; height: 68px; gap: 16px; }
.logo { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--primary-dark); display: flex; align-items: center; gap: 6px; }
.logo span { color: var(--accent); }
.nav-links { display: flex; flex-wrap: wrap; gap: 1.1rem; align-items: center; }
.nav-link { font-size: .88rem; font-weight: 500; color: var(--muted); }
.nav-link:hover { color: var(--primary); }
.nav-pinterest {
    display: inline-flex; align-items: center; gap: 5px;
    background: #e11d48; color: #fff !important; padding: .4rem .85rem;
    border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .01em;
}
.nav-pinterest:hover { background: #be123c; color: #fff !important; }
.nav-pinterest svg { width: 14px; height: 14px; fill: currentColor; flex-shrink: 0; }

.hero {
    padding: 128px 0 72px;
    background: linear-gradient(160deg, #ecfeff 0%, #f0fdfa 35%, #ffffff 100%);
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0; z-index: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(13,148,136,.08) 0%, transparent 70%);
}
.hero-inner { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; text-align: center; }
.hero-badge {
    display: inline-block; background: #fff; color: var(--primary-dark);
    padding: .35rem 1rem; border-radius: 999px; font-size: .82rem; font-weight: 600;
    border: 1px solid #99f6e4; margin-bottom: 1.25rem;
}
.hero h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 800; margin-bottom: 1rem; }
.hero p { font-size: 1.1rem; color: var(--muted); margin-bottom: 1.75rem; }
.hero-btns { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; padding: .7rem 1.4rem;
    font-weight: 600; font-size: .92rem; border-radius: var(--radius); transition: all .2s;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(13,148,136,.3); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { background: #fff; border: 1px solid #e2e8f0; color: var(--text); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-pinterest { background: #e11d48; color: #fff; gap: 6px; }
.btn-pinterest:hover { background: #be123c; }
.btn-pinterest svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

.section { padding: 4rem 0; }
.section-white { background: var(--white); }
.section-title { font-size: 2rem; text-align: center; margin-bottom: .5rem; }
.section-sub { text-align: center; color: var(--muted); max-width: 560px; margin: 0 auto 2.5rem; }

.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.guide-card {
    background: var(--white); border-radius: 14px; overflow: hidden;
    border: 1px solid #e2e8f0; box-shadow: 0 2px 8px rgba(15,23,42,.04);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    display: flex; flex-direction: column;
}
.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(13,148,136,.12);
    border-color: #99f6e4;
}
.guide-card-media { position: relative; height: 168px; overflow: hidden; background: #f1f5f9; }
.guide-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.guide-card:hover .guide-card-media img { transform: scale(1.04); }
.guide-card-media::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(15,23,42,.35) 100%);
    pointer-events: none;
}
.guide-card-body { padding: 1.15rem 1.3rem 1.35rem; flex: 1; }
.guide-card-label {
    display: inline-block; font-size: .7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .06em; color: var(--primary); margin-bottom: .45rem;
}
.guide-card-body h3 { font-size: 1.02rem; margin-bottom: .4rem; color: var(--secondary); line-height: 1.35; }
.guide-card-body p { font-size: .86rem; color: var(--muted); line-height: 1.55; margin: 0; }

.page-hero { padding: 100px 0 32px; background: linear-gradient(180deg, #f0fdfa, var(--bg)); }
.page-hero h1 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: .5rem; }
.page-hero .lead { color: var(--muted); font-size: 1.05rem; max-width: 640px; }
.breadcrumb { padding: 14px 0; font-size: .85rem; color: var(--muted); }
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }

.article-wrap { padding: 2rem 0 3.5rem; }
.article {
    background: var(--white); border-radius: var(--radius); padding: 2rem 2.25rem;
    border: 1px solid #ccfbf1; box-shadow: var(--shadow-sm);
}
.article-hero { margin: 0 0 1.75rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.article-hero img { width: 100%; max-height: 420px; object-fit: cover; }
.article h2 { font-size: 1.35rem; margin: 1.75rem 0 .75rem; color: var(--primary-dark); }
.article h3 { font-size: 1.1rem; margin: 1.25rem 0 .5rem; }
.article p, .article li { color: #334155; margin-bottom: 1rem; font-size: .97rem; }
.article ul, .article ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article a { color: var(--accent); font-weight: 500; }
.article a:hover { color: var(--primary); text-decoration: underline; }
.article img { margin: 1.25rem auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

.info-box {
    background: #f0fdfa; border-left: 4px solid var(--primary);
    padding: 1rem 1.25rem; margin: 1.5rem 0; border-radius: 0 var(--radius) var(--radius) 0;
    font-size: .93rem; color: #134e4a;
}

.faq-section { padding: 4rem 0; background: var(--white); }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
    border: 1px solid #ccfbf1; border-radius: var(--radius); margin-bottom: .75rem;
    padding: 1.1rem 1.25rem; background: var(--bg);
}
.faq-item h3 { font-size: 1rem; margin-bottom: .4rem; }
.faq-item p { font-size: .9rem; color: var(--muted); margin: 0; }

.related { padding: 3rem 0; }
.related h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .75rem; }
.related-link {
    display: block; background: var(--white); padding: .9rem 1rem;
    border-radius: var(--radius); border: 1px solid #e2e8f0; font-size: .88rem; font-weight: 500;
    transition: all .2s;
}
.related-link:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

.contact-box { background: var(--bg); padding: 1.5rem; border-radius: var(--radius); margin-top: 1rem; }
.contact-box a { color: var(--accent); font-weight: 600; }

.trust-bar {
    background: var(--white); border: 1px solid #ccfbf1; border-radius: var(--radius);
    padding: 1.25rem; text-align: center; margin: 2rem 0;
}
.trust-bar a { color: #e11d48; font-weight: 600; }

.footer { background: var(--secondary); color: #94a3b8; padding: 2.5rem 0; margin-top: 3rem; font-size: .85rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: center; margin-bottom: 1rem; }
.footer-links a { color: #cbd5e1; }
.footer-links a:hover { color: var(--primary-light); }
.footer p { text-align: center; }

@media (max-width: 768px) {
    .nav-links { gap: .6rem; font-size: .82rem; }
    .article { padding: 1.25rem 1.1rem; }
    .hero { padding-top: 100px; }
}
