/*
Theme Name: 20 to 32 Smiles
Theme URI: https://20to32smiles.com/
Author: Hemnath.design
Description: Custom responsive WordPress theme for 20 to 32 Smiles, Mylapore.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: twenty-to-thirty-two-smiles
*/

/* Shared design tokens and global components. */
:root {
	--blue: #009cff;
	--blue-hover: #007dcd;
	--blue-700: #006fae;
	--blue-100: #e6f5ff;
	--blue-50: #f4faff;
	--ink: #19313d;
	--muted: #637681;
	--border: #dceaf2;
	--white: #fff;
	--radius: 24px;
	--shadow: 0 20px 60px rgba(0, 94, 149, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 18px/1.65 "Source Sans 3", sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
h1, h2, h3, .brand, .button, .service-nav, .eyebrow, .kicker, .section-kicker { font-family: "Nunito", sans-serif; }
h1, h2, h3, p { margin-top: 0; }
h2 { font-size: 2.3rem; line-height: 1.04; letter-spacing: -.045em; margin-bottom: 24px; font-weight: 900; }
h3 { font-size: 1.35rem; line-height: 1.25; margin-bottom: 10px; font-weight: 800; }
p { color: var(--muted); }

/* Shared header and navigation. */
.top-note { height: 34px; display: flex; align-items: center; justify-content: center; background: var(--blue-50); color: var(--blue-700); font: 700 13px/1 "Nunito", sans-serif; letter-spacing: .05em; text-transform: uppercase; border-bottom: 1px solid var(--border); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(220, 234, 242, .8); }
.nav-wrap { height: 82px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); line-height: 1; }
.brand-logo { display: block; width: 168px; height: auto; }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; color: var(--blue); font-weight: 900; }
.brand b { display: block; font-size: 18px; letter-spacing: -.03em; }
.brand small { display: block; color: var(--blue); font-size: 12px; text-transform: uppercase; letter-spacing: .18em; margin-top: 4px; }
.service-nav { display: flex; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 700; }
.service-nav a { padding: 10px 0; position: relative; }
.service-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 2px; background: var(--blue); transition: .2s; }
.service-nav a:hover::after { right: 0; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; }
.menu-toggle span:not(.sr-only) { display: block; width: 23px; height: 2px; background: var(--ink); margin: 5px; }

/* Shared actions. */
.button { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--blue); color: #fff; font-size: 16px; font-weight: 900; padding: 15px 25px; transition: transform .2s, background .2s, box-shadow .2s; border: 2px solid var(--blue); }
.button:hover { background: #4dbaff; border-color: #4dbaff; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0, 156, 255, .22); }
.button-small { padding: 11px 19px; font-size: 14px; }
.button-outline { background: #fff; color: var(--blue); }
.text-link { display: inline-flex; align-items: center; color: var(--blue-700); font: 800 16px/1.3 "Nunito", sans-serif; border-bottom: 2px solid rgba(0, 156, 255, .25); padding-bottom: 4px; }
.text-link:hover { border-color: var(--blue); }

/* Shared footer. */
footer { background: var(--blue-50); padding: 55px 0 24px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 40px; }
.footer-grid p { margin: 0; font-size: 15px; }
.footer-links { display: flex; gap: 22px; justify-content: flex-end; font: 700 14px "Nunito", sans-serif; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid var(--border); margin-top: 40px; padding-top: 22px; color: var(--muted); font-size: 12px; }
.footer-brand .brand-mark { background: var(--blue); color: #fff; border-radius: 50%; font-size: 13px; }
.mobile-book { display: none; }

@media (max-width: 980px) {
	.nav-cta { display: none; }
	.menu-toggle { display: block; margin-left: auto; }
	.service-nav { display: none; position: absolute; left: 0; right: 0; top: 116px; background: #fff; border-bottom: 1px solid var(--border); padding: 20px; flex-direction: column; gap: 4px; box-shadow: var(--shadow); }
	.service-nav.open { display: flex; }
	.service-nav a { padding: 12px 20px; }
}

@media (max-width: 640px) {
	body { font-size: 17px; }
	.container { width: min(100% - 28px, 1180px); }
	.top-note { font-size: 10px; }
	.nav-wrap { height: 70px; }
	.brand-logo { width: 145px; }
	.service-nav { top: 104px; }
	.footer-grid { grid-template-columns: 1fr; }
	.footer-links { justify-content: flex-start; }
	.footer-bottom { display: grid; }
	.mobile-book { display: block; position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 60; background: var(--blue); color: #fff; text-align: center; padding: 14px; border-radius: 999px; box-shadow: 0 10px 35px rgba(0, 94, 149, .28); font: 900 15px "Nunito", sans-serif; }
	footer { padding-bottom: 92px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; }
}

