/* =========================================================
   Vedantaa Dental — Theme styles
   Design tokens mirror the React app: ivory, navy, teal, gold.
   ========================================================= */

:root {
	--ivory: #FBF8F3;
	--white: #FFFFFF;
	--navy-deep: #0B1E39;
	--navy: #142B52;
	--teal: #1FB6A7;
	--teal-soft: #E7F7F5;
	--gold: #C9A24B;
	--muted: #F1EDE5;
	--muted-fg: #5B6A80;
	--border: #E7E1D4;
	--gradient-teal: linear-gradient(135deg, #1FB6A7 0%, #0E8C86 100%);
	--shadow-soft: 0 8px 24px rgba(11, 30, 57, .06);
	--shadow-lift: 0 20px 50px rgba(11, 30, 57, .12);
	--shadow-glow: 0 10px 30px rgba(31, 182, 167, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: var(--navy-deep);
	background: var(--white);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--navy-deep); }

.screen-reader-text { position: absolute; left: -9999px; }
.skip-link:focus { position: fixed; left: 12px; top: 12px; background: var(--navy-deep); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }

/* ---------- Layout ---------- */
.vd-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 1024px) { .vd-container { padding: 0 32px; } }

.vd-section { padding: 80px 0; }
.vd-section--ivory { background: var(--ivory); }
.vd-section--center { text-align: center; padding: 120px 0; }
.vd-section__head { max-width: 640px; margin: 0 auto 48px; text-align: center; }

.vd-eyebrow {
	font-size: 12px; font-weight: 600; letter-spacing: .25em; text-transform: uppercase;
	color: var(--teal);
}
.vd-title {
	font-family: "Fraunces", Georgia, serif;
	font-weight: 600;
	font-size: clamp(28px, 4vw, 44px);
	line-height: 1.15;
	margin: 12px 0 0;
	color: var(--navy-deep);
}
.vd-display {
	font-family: "Fraunces", Georgia, serif;
	font-weight: 600;
	font-size: clamp(38px, 6vw, 68px);
	line-height: 1.05;
	margin: 12px 0 20px;
	color: var(--navy-deep);
}
.vd-display em { font-style: italic; background: var(--gradient-teal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vd-lead { font-size: 17px; color: var(--muted-fg); margin: 0 0 24px; }

/* ---------- Buttons ---------- */
.vd-btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 14px;
	border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease;
}
.vd-btn--primary { background: var(--gradient-teal); color: #fff; box-shadow: var(--shadow-glow); }
.vd-btn--primary:hover { transform: translateY(-1px); color: #fff; }
.vd-btn--ghost { background: transparent; color: var(--navy-deep); border-color: var(--border); }
.vd-btn--ghost:hover { background: var(--teal-soft); }

.vd-icon-btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
	border: 1px solid rgba(31,182,167,.3); color: var(--teal); background: #fff;
}

/* ---------- Header ---------- */
.vd-header {
	position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 18px 0;
	transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.vd-header[data-scrolled="true"] {
	background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(14px);
	box-shadow: var(--shadow-soft); padding: 10px 0;
}
.vd-header__inner { display: flex; align-items: center; gap: 16px; justify-content: space-between; }
.vd-brand { display: flex; align-items: center; gap: 10px; }
.vd-brand__mark {
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
	background: var(--gradient-teal); color: #fff; font-family: "Fraunces"; font-weight: 700;
	box-shadow: var(--shadow-glow);
}
.vd-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.vd-brand__name { font-family: "Fraunces"; font-weight: 700; font-size: 17px; color: var(--navy-deep); }
.vd-brand__sub { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
.vd-brand--light .vd-brand__name { color: #fff; }

.vd-nav { display: none; }
@media (min-width: 1024px) { .vd-nav { display: block; } }
.vd-nav__list, .vd-footer__list { list-style: none; padding: 0; margin: 0; display: flex; gap: 4px; }
.vd-nav__list a {
	display: inline-block; padding: 8px 14px; border-radius: 999px; font-size: 14px;
	color: rgba(11,30,57,.8); font-weight: 500;
}
.vd-nav__list a:hover { background: var(--teal-soft); color: var(--navy-deep); }

.vd-header__cta { display: flex; align-items: center; gap: 8px; }
.vd-header__cta .vd-btn--primary { display: none; }
@media (min-width: 768px) { .vd-header__cta .vd-btn--primary { display: inline-flex; } }
.vd-burger { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(11,30,57,.1); background: #fff; cursor: pointer; }
@media (min-width: 1024px) { .vd-burger { display: none; } }

.vd-nav--mobile {
	position: fixed; inset: 76px 12px auto 12px; background: #fff; border-radius: 22px;
	box-shadow: var(--shadow-lift); padding: 12px; z-index: 49; display: none;
}
.vd-nav--mobile[data-open="true"] { display: block; }
.vd-nav--mobile ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.vd-nav--mobile a { padding: 12px 16px; border-radius: 14px; color: var(--navy-deep); font-weight: 500; }
.vd-nav--mobile a:hover { background: var(--teal-soft); }

/* ---------- Hero ---------- */
.vd-hero { position: relative; padding: 160px 0 100px; overflow: hidden; }
.vd-hero__bg {
	position: absolute; inset: 0;
	background:
		radial-gradient(1000px 500px at 90% -10%, rgba(31,182,167,.18), transparent 60%),
		radial-gradient(700px 500px at -10% 20%, rgba(201,162,75,.10), transparent 60%),
		var(--ivory);
	z-index: -1;
}
.vd-hero__grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 960px) { .vd-hero__grid { grid-template-columns: 1.1fr .9fr; } }
.vd-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 32px; }
.vd-hero__stats { list-style: none; padding: 0; margin: 0; display: flex; gap: 28px; flex-wrap: wrap; }
.vd-hero__stats strong { display: block; font-family: "Fraunces"; font-size: 28px; color: var(--navy-deep); }
.vd-hero__stats span { color: var(--muted-fg); font-size: 13px; }
.vd-hero__art {
	aspect-ratio: 4/5; border-radius: 32px;
	background:
		linear-gradient(160deg, rgba(31,182,167,.85), rgba(11,30,57,.85)),
		radial-gradient(circle at 30% 30%, rgba(255,255,255,.35), transparent 50%);
	box-shadow: var(--shadow-lift);
}

/* ---------- Grid / Cards ---------- */
.vd-grid { display: grid; gap: 24px; }
.vd-grid--3 { grid-template-columns: repeat(1, 1fr); }
.vd-grid--4 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) { .vd-grid--3, .vd-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .vd-grid--3 { grid-template-columns: repeat(3, 1fr); } .vd-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.vd-tile {
	background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 24px;
	box-shadow: var(--shadow-soft); transition: transform .25s ease, box-shadow .25s ease;
}
.vd-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.vd-tile__icon {
	display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
	background: var(--teal-soft); color: var(--teal); font-size: 22px; margin-bottom: 14px;
}
.vd-tile h3 { font-family: "Fraunces"; font-size: 20px; margin: 0 0 6px; color: var(--navy-deep); }
.vd-tile p { color: var(--muted-fg); margin: 0; font-size: 15px; }
.vd-tile--soft { background: var(--ivory); border-color: transparent; }

.vd-card {
	background: #fff; border: 1px solid var(--border); border-radius: 22px; overflow: hidden;
	box-shadow: var(--shadow-soft); display: flex; flex-direction: column;
}
.vd-card__media { display: block; aspect-ratio: 4/3; overflow: hidden; }
.vd-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.vd-card:hover .vd-card__media img { transform: scale(1.05); }
.vd-card__body { padding: 22px; }
.vd-card__meta { font-size: 12px; text-transform: uppercase; letter-spacing: .18em; color: var(--muted-fg); margin-bottom: 8px; }
.vd-card__title { font-family: "Fraunces"; font-size: 20px; margin: 0 0 8px; color: var(--navy-deep); }
.vd-card__title a { color: inherit; }
.vd-card__excerpt { color: var(--muted-fg); margin: 0 0 12px; font-size: 15px; }
.vd-link { font-weight: 600; }

/* ---------- About ---------- */
.vd-about { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .vd-about { grid-template-columns: 1fr 1fr; } }
.vd-about__art { aspect-ratio: 4/5; border-radius: 32px; background: linear-gradient(140deg, var(--teal), var(--navy-deep)); box-shadow: var(--shadow-lift); }
.vd-checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.vd-checks li { position: relative; padding-left: 30px; color: var(--navy-deep); }
.vd-checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 999px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; font-weight: 700; font-size: 13px; }

/* ---------- Booking ---------- */
.vd-booking { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .vd-booking { grid-template-columns: .8fr 1.2fr; } }
.vd-booking__form { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 28px; box-shadow: var(--shadow-soft); }
.vd-booking__form .wpcf7 input[type=text], .vd-booking__form .wpcf7 input[type=email], .vd-booking__form .wpcf7 input[type=tel], .vd-booking__form .wpcf7 input[type=date], .vd-booking__form .wpcf7 select, .vd-booking__form .wpcf7 textarea,
.vd-contact__form .wpcf7 input, .vd-contact__form .wpcf7 select, .vd-contact__form .wpcf7 textarea {
	width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border);
	background: var(--ivory); font: inherit; color: var(--navy-deep); outline: none; transition: border .2s ease, background .2s ease;
}
.vd-booking__form .wpcf7 input:focus, .vd-contact__form .wpcf7 input:focus,
.vd-booking__form .wpcf7 textarea:focus, .vd-contact__form .wpcf7 textarea:focus {
	border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(31,182,167,.15);
}
.vd-booking__form .wpcf7-submit, .vd-contact__form .wpcf7-submit {
	background: var(--gradient-teal); color: #fff; border: 0; border-radius: 999px; padding: 14px 28px;
	font-weight: 600; cursor: pointer; box-shadow: var(--shadow-glow);
}

/* ---------- Doctors ---------- */
.vd-doctor { background: #fff; border: 1px solid var(--border); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-soft); }
.vd-doctor__photo { display: block; aspect-ratio: 4/5; background: var(--muted); overflow: hidden; }
.vd-doctor__photo img { width: 100%; height: 100%; object-fit: cover; }
.vd-doctor__body { padding: 22px; }
.vd-doctor__body h3 { font-family: "Fraunces"; margin: 0 0 6px; color: var(--navy-deep); font-size: 20px; }
.vd-doctor__body h3 a { color: inherit; }
.vd-doctor__qual { margin: 0; font-size: 13px; color: var(--teal); font-weight: 600; }
.vd-doctor__spec { margin: 6px 0 0; color: var(--muted-fg); font-size: 14px; }

/* ---------- Testimonials ---------- */
.vd-quote { background: var(--ivory); border-radius: 22px; padding: 26px; border: 1px solid var(--border); }
.vd-quote__stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; margin-bottom: 10px; }
.vd-quote p { font-family: "Fraunces"; font-size: 18px; color: var(--navy-deep); margin: 0 0 12px; line-height: 1.5; }
.vd-quote footer { color: var(--muted-fg); font-size: 14px; font-weight: 600; }

/* ---------- Gallery ---------- */
.vd-gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .vd-gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .vd-gallery { grid-template-columns: repeat(4, 1fr); } }
.vd-gallery__item { display: block; aspect-ratio: 1/1; border-radius: 16px; overflow: hidden; background: var(--muted); }
.vd-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.vd-gallery__item:hover img { transform: scale(1.06); }
.vd-placeholder { background: linear-gradient(135deg, var(--teal-soft), var(--muted)); }
.vd-hint { color: var(--muted-fg); font-size: 13px; margin-top: 12px; text-align: center; }

/* ---------- Contact ---------- */
.vd-contact { display: grid; gap: 24px; }
@media (min-width: 960px) { .vd-contact { grid-template-columns: 1fr 2fr; } }
.vd-contact__info { display: grid; gap: 12px; }
.vd-info { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 18px 20px; box-shadow: var(--shadow-soft); }
.vd-info h4 { margin: 0 0 6px; font-family: "Fraunces"; font-size: 16px; color: var(--navy-deep); }
.vd-info p { margin: 0; color: var(--muted-fg); font-size: 14px; }
.vd-hours { list-style: none; padding: 0; margin: 0; }
.vd-hours li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 3px 0; color: var(--muted-fg); }
.vd-hours li span:last-child { color: var(--navy-deep); font-weight: 500; }

.vd-contact__panel { background: #fff; border: 1px solid var(--border); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-soft); }
.vd-contact__map { aspect-ratio: 16/9; background: var(--muted); }
.vd-contact__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.vd-contact__form { padding: 24px; }

/* ---------- Single / prose ---------- */
.vd-single__wrap { max-width: 820px; }
.vd-single__head { text-align: center; margin-bottom: 24px; }
.vd-single__meta { color: var(--muted-fg); margin-top: 8px; font-size: 14px; }
.vd-single__hero { margin: 24px 0; border-radius: 24px; overflow: hidden; }
.vd-prose p, .vd-prose li { color: var(--navy-deep); font-size: 17px; line-height: 1.75; }
.vd-prose h2, .vd-prose h3 { font-family: "Fraunces"; color: var(--navy-deep); }
.vd-callout { background: var(--teal-soft); border-radius: 16px; padding: 18px; margin-top: 24px; color: var(--navy-deep); }

/* ---------- Footer ---------- */
.vd-footer { background: var(--navy-deep); color: rgba(255,255,255,.75); padding: 64px 0 24px; }
.vd-footer__grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .vd-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .vd-footer__grid { grid-template-columns: repeat(4, 1fr); } }
.vd-footer h4 { color: #fff; font-family: "Fraunces"; margin: 0 0 14px; font-size: 15px; text-transform: uppercase; letter-spacing: .12em; }
.vd-footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.vd-footer__list a { color: rgba(255,255,255,.75); }
.vd-footer__list a:hover { color: var(--teal); }
.vd-footer__blurb { font-size: 14px; color: rgba(255,255,255,.6); margin-top: 14px; }
.vd-footer__bar { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,.5); }

/* ---------- Floating buttons ---------- */
.vd-float {
	position: fixed; right: 18px; width: 52px; height: 52px; border-radius: 999px;
	display: grid; place-items: center; color: #fff; font-size: 20px; z-index: 60;
	box-shadow: var(--shadow-lift);
}
.vd-float--wa { bottom: 84px; background: #25D366; }
.vd-float--call { bottom: 20px; background: var(--gradient-teal); }

/* ---------- Pagination ---------- */
.vd-pagination { margin-top: 40px; display: flex; justify-content: center; }
.vd-pagination .page-numbers { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); margin: 0 4px; color: var(--navy-deep); }
.vd-pagination .current { background: var(--gradient-teal); color: #fff; border-color: transparent; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
