/*
Theme Name: SR Elite Dentistry
Theme URI: https://srelitedental.com/
Author: SR Elite Dentistry
Author URI: https://srelitedental.com/
Description: A responsive, specialist-led dental practice theme for Dr. Sarvagya Sharma, featuring periodontal and implant services, academic research, clinical milestones, and accessible contact links.
Version: 1.1.1
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sr-elite-dentistry
Tags: dentistry, healthcare, medical, one-column, custom-menu, featured-images, responsive-layout
*/

:root {
  --ink: #102f3c;
  --ink-soft: #46616a;
  --teal: #0f7c78;
  --teal-dark: #095c5d;
  --aqua: #e5f5f2;
  --cream: #f7f5ef;
  --line: #dce7e4;
  --white: #fff;
  --gold: #b68a4a;
  --shadow: 0 20px 60px rgba(16, 47, 60, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.site-shell { overflow: hidden; }
.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.08; }
h1 { font-size: clamp(3.4rem, 7vw, 6.7rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2.5rem, 4vw, 4.4rem); letter-spacing: -.04em; }
h3 { font-size: 1.45rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .02em;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--teal); }
.button-primary:hover { background: var(--teal-dark); }
.button-ghost { color: var(--ink); border-color: var(--line); background: transparent; }
.button-ghost:hover { border-color: var(--teal); color: var(--teal); }
.site-header {
  position: absolute;
  z-index: 10;
  width: 100%;
  color: var(--ink);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  place-items: center;
  color: #fff;
  background: var(--teal);
  font-family: Georgia, serif;
  font-size: 1.35rem;
}
.brand-text { font-size: .78rem; font-weight: 900; letter-spacing: .13em; line-height: 1.15; text-transform: uppercase; }
.brand-text span { display: block; color: var(--teal); font-size: .62rem; letter-spacing: .2em; }
.main-nav { display: flex; align-items: center; gap: 26px; font-size: .8rem; font-weight: 700; }
.main-nav a:hover { color: var(--teal); }
.instagram-link { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; font-size: 0; }
.instagram-icon { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.site-footer .instagram-link { color: #d8e7e5; }
.site-footer .instagram-link:hover { color: #fff; }
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 780px;
  padding: 140px 0 90px;
  background: linear-gradient(112deg, #f5fbf9 0%, #f5fbf9 52%, #dcefeb 100%);
}
.hero:after {
  position: absolute;
  right: -170px;
  bottom: -210px;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(15, 124, 120, .15);
  border-radius: 50%;
  content: "";
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 70px; }
.hero-copy { max-width: 650px; }
.hero-copy p { max-width: 540px; color: var(--ink-soft); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { display: flex; gap: 14px; align-items: center; margin-top: 32px; color: var(--ink-soft); font-size: .78rem; }
.hero-note strong { color: var(--ink); }
.hero-image-wrap { position: relative; }
.hero-image-wrap:before { position: absolute; inset: 28px -24px -24px 24px; border: 1px solid rgba(15,124,120,.28); content: ""; }
.hero-image { position: relative; z-index: 1; width: 100%; aspect-ratio: .86; object-fit: cover; object-position: center top; border-radius: 3px; box-shadow: var(--shadow); }
.image-caption { position: absolute; z-index: 2; right: -18px; bottom: 24px; max-width: 190px; padding: 18px; color: #fff; background: var(--ink); font-size: .75rem; line-height: 1.4; }
.image-caption strong { display: block; margin-bottom: 4px; color: #fff; font-family: Georgia, serif; font-size: 1rem; font-weight: 500; }
.section { padding: 112px 0; }
.section-muted { background: var(--cream); }
.section-teal { color: #fff; background: var(--ink); }
.section-heading { max-width: 720px; margin-bottom: 48px; }
.section-heading p { color: var(--ink-soft); font-size: 1.03rem; }
.section-teal .section-heading p { color: #c6d8d8; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.about-lead { color: var(--ink-soft); font-size: 1.17rem; }
.credentials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.credential { padding: 24px; border: 1px solid var(--line); background: #fff; }
.credential small { display: block; margin-bottom: 10px; color: var(--teal); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.credential strong { display: block; margin-bottom: 4px; font-family: Georgia, serif; font-size: 1.18rem; font-weight: 500; }
.credential span { color: var(--ink-soft); font-size: .84rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.feature-card { padding: 28px; background: #fff; }
.feature-number { color: var(--teal); font-family: Georgia, serif; font-size: 2rem; }
.feature-card p { color: var(--ink-soft); font-size: .9rem; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service-card { padding: 30px; border: 1px solid var(--line); background: #fff; }
.service-card h3 { margin-bottom: 18px; }
.service-card ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px 20px; margin: 0; padding: 0; color: var(--ink-soft); list-style: none; font-size: .88rem; }
.service-card li:before { margin-right: 8px; color: var(--teal); content: "•"; }
.signature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.signature-card { min-height: 190px; padding: 22px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); }
.signature-card span { color: #8fc5c2; font-size: 2rem; font-weight: 800; }
.signature-card h3 { margin-top: 55px; color: #fff; font-size: 1.2rem; }
.achievement { background: var(--aqua); }
.achievement .eyebrow { color: var(--teal-dark); }
.achievement-grid { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 90px; }
.achievement-number { margin: 0; color: var(--teal); font-family: Georgia, serif; font-size: clamp(6rem, 14vw, 12rem); line-height: .75; }
.achievement-label { max-width: 230px; margin: 22px 0 0; font-family: Georgia, serif; font-size: 1.5rem; line-height: 1.12; }
.achievement-copy p { max-width: 610px; color: var(--ink-soft); }
.research-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.research-panel { padding: 34px; background: var(--ink); color: #fff; }
.research-panel h3 { color: #fff; }
.research-panel p { color: #c6d8d8; }
.research-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.research-tags span { padding: 8px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #d8e7e5; font-size: .75rem; }
.publication { padding: 22px 0; border-bottom: 1px solid var(--line); }
.publication:first-child { padding-top: 0; }
.publication strong { display: block; margin-bottom: 6px; font-family: Georgia, serif; font-size: 1.2rem; font-weight: 500; }
.publication p { margin-bottom: 0; color: var(--ink-soft); font-size: .88rem; }
.contact { padding: 82px 0; color: #fff; background: var(--teal); }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.contact h2 { margin-bottom: 0; font-size: clamp(2.2rem, 4vw, 4rem); }
.contact .button { color: var(--teal-dark); background: #fff; }
.site-footer { padding: 28px 0; color: #a9c0c2; background: #092730; font-size: .76rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; }
@media (max-width: 850px) {
  .main-nav { display: none; }
  .hero { min-height: auto; padding: 130px 0 80px; }
  .hero-grid, .about-grid, .achievement-grid, .research-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-image-wrap { max-width: 540px; }
  .feature-grid { grid-template-columns: 1fr; }
  .signature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .container { width: min(100% - 32px, 1160px); }
  .section { padding: 76px 0; }
  h1 { font-size: 3.45rem; }
  .credentials, .services-grid, .service-card ul { grid-template-columns: 1fr; }
  .signature-grid { grid-template-columns: 1fr; }
  .contact-inner, .footer-inner { align-items: flex-start; flex-direction: column; }
  .image-caption { right: 10px; }
}
