/* =========================
   Pixie Kids & Family Dental
   Premium single-page website
   ========================= */

:root {
  --primary: #d96b27;
  --primary-dark: #b85317;
  --primary-deep: #2e180d;
  --primary-soft: #fffbeb;
  --butter-yellow: #fde047;
  --butter-soft: #fff9c4;
  --mint: #fef08a;
  --accent: #e87a35;
  --ink: #231710;
  --text: #544339;
  --muted: #806d62;
  --line: #f3e4d3;
  --bg: #fffdfa;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(217, 107, 39, 0.12);
  --shadow-soft: 0 14px 40px rgba(184, 83, 23, 0.08);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1180px;
  --transition: 280ms ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 30px 0;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 20px;
  background: currentColor;
}

.section-kicker.light {
  color: #b6ddd8;
}

h1,
h2,
h3,
h4,
.brand-copy strong {
  font-family: "Manrope", sans-serif;
}

h1 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
}

h2 span,
h1 span {
  color: var(--primary);
}

p {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--primary);
  box-shadow: 0 10px 25px rgba(13, 119, 115, 0.22);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 14px 32px rgba(13, 119, 115, 0.3);
}

.btn-outline {
  color: var(--ink);
  border-color: #cddcda;
  background: rgba(255, 255, 255, 0.62);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-white {
  color: var(--primary-deep);
  background: var(--white);
}

.btn-lg {
  min-height: 40px;
  padding-inline: 27px;
}

.btn svg {
  font-size: 1.15rem;
}

/* loader */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--primary-deep);
  transition: opacity 500ms ease, visibility 500ms ease;
}

.page-loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  position: relative;
  width: 46px;
  height: 58px;
}

.loader-mark span {
  position: absolute;
  top: 4px;
  width: 28px;
  height: 48px;
  border: 3px solid #bfe7df;
  border-radius: 50% 50% 60% 60%;
}

.loader-mark span:first-child {
  left: 0;
  transform: rotate(-16deg);
  animation: toothLeft 900ms ease-in-out infinite alternate;
}

.loader-mark span:last-child {
  right: 0;
  transform: rotate(16deg);
  animation: toothRight 900ms ease-in-out infinite alternate;
}

@keyframes toothLeft {
  to { transform: rotate(-8deg) translateY(-4px); }
}

@keyframes toothRight {
  to { transform: rotate(8deg) translateY(-4px); }
}

/* header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(250, 253, 252, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.header.scrolled {
  border-color: rgba(13, 119, 115, 0.09);
  box-shadow: 0 10px 35px rgba(25, 69, 68, 0.07);
  background: rgba(255, 255, 255, 0.95);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 62px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo-img {
  display: block;
  height: 56px !important;
  width: auto !important;
  max-width: 280px;
  object-fit: contain;
 
  border-radius: 10px;
}

.header .brand-logo-img {
  width: 135px !important;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  color: var(--primary);
}

.brand-icon svg {
  width: 45px;
  height: 45px;
  stroke-width: 2.5;
}

.brand-icon .spark {
  color: var(--accent);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 1.07rem;
  letter-spacing: -0.03em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 27px;
}

.nav-link {
  position: relative;
  color: #405457;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  border-radius: 10px;
  background: var(--primary);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-box {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--primary);
  background: var(--primary-soft);
}

.phone-link span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.phone-link small {
  color: var(--muted);
  font-size: 0.69rem;
}

.phone-link strong {
  margin-top: 3px;
  font-size: 0.8rem;
}

.nav-cta {
  min-height: 44px;
  font-size: 0.85rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  border: 0;
  border-radius: 50%;
  background: var(--primary-soft);
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  border-radius: 4px;
  background: var(--primary-deep);
  transition: transform var(--transition), opacity var(--transition);
}

/* hero */
.hero {
  position: relative;
  padding: 84px 0 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 18%, rgba(191, 231, 223, 0.42), transparent 24%),
    linear-gradient(135deg, #f9fdfc 0%, #f4fbf9 62%, #eef9f7 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  min-height: auto;
}

.hero-content {
  padding: 24px 0 45px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 6px 12px;
  border: 1px solid #f3d7ba;
  border-radius: 999px;
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.76rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(217, 107, 39, 0.06);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(232, 122, 53, 0.18);
}

.hero h1 {
  max-width: 620px;
}

.hero h1 span {
  display: block;
}

.hero-text {
  max-width: 580px;
  margin-top: 18px;
  font-size: 0.98rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 37px;
}

.avatar-stack {
  display: flex;
}

.avatar-stack img {
  width: 39px;
  height: 39px;
  margin-left: -9px;
  border: 3px solid var(--white);
  border-radius: 50%;
  object-fit: cover;
}

.avatar-stack img:first-child {
  margin-left: 0;
}

.stars {
  color: #f2aa41;
  letter-spacing: 0.08em;
}

.trust-copy {
  line-height: 1.2;
}

.trust-copy .stars {
  font-size: 0.78rem;
}

.trust-copy p {
  margin-top: 5px;
  font-size: 0.78rem;
}

.trust-copy strong {
  color: var(--ink);
}

.hero-visual {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
}

.hero-image-card {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-radius: 60px 18px 18px 18px;
  box-shadow: var(--shadow);
}

.hero-image-card > img {
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 55, 54, 0.18), transparent 35%);
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 18px 45px rgba(6, 58, 57, 0.14);
  backdrop-filter: blur(10px);
}

.emergency-card {
  left: 24px;
  bottom: 28px;
  padding: 14px 16px;
}

.floating-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--white);
  background: var(--primary);
}

.floating-icon svg {
  stroke-width: 2.2;
}

.emergency-card div:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.emergency-card small {
  color: var(--muted);
  font-size: 0.67rem;
}

.emergency-card strong {
  margin-top: 3px;
  font-size: 0.78rem;
}

.experience-card {
  top: 45px;
  right: -10px;
  padding: 13px 17px;
}

.experience-card strong {
  color: var(--primary);
  font-size: 1.8rem;
  line-height: 1;
}

.experience-card span {
  color: #526467;
  font-size: 0.68rem;
  line-height: 1.35;
}

.hero-mini-pattern {
  position: absolute;
  right: -52px;
  bottom: 45px;
  z-index: -1;
  display: grid;
  grid-template-columns: repeat(5, 5px);
  gap: 12px;
}

.hero-mini-pattern span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #94cbc3;
}

.hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.shape-one {
  top: 160px;
  right: -230px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(13, 119, 115, 0.13);
}

.shape-two {
  top: 245px;
  right: -132px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(13, 119, 115, 0.09);
}

.hero-stats {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -1px;
  border-radius: 18px 18px 0 0;
  background: var(--white);
  box-shadow: 0 -12px 40px rgba(35, 91, 89, 0.07);
}

.stat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 20px;
}

.stat-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 25%;
  right: 0;
  width: 1px;
  height: 50%;
  background: var(--line);
}

.stat-card strong {
  color: var(--primary);
  font-family: "Manrope", sans-serif;
  font-size: 1.8rem;
  line-height: 1;
}

.stat-card span:last-child {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

/* about */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.97fr 1.03fr;
  align-items: center;
  gap: 105px;
}

.about-visual {
  position: relative;
  min-height: 550px;
}

.about-main-img {
  width: 82%;
  height: 500px;
  overflow: hidden;
  border-radius: 30px 110px 30px 30px;
  box-shadow: var(--shadow-soft);
}

.about-main-img img {
  height: 100%;
  object-fit: cover;
}

.about-small-img {
  position: absolute;
  right: 0;
  bottom: -6px;
  width: 45%;
  height: 245px;
  overflow: hidden;
  border: 8px solid var(--white);
  border-radius: 24px;
  box-shadow: 0 15px 45px rgba(25, 74, 73, 0.16);
}

.about-small-img img {
  height: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  left: 30px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 11px;
  width: 225px;
  padding: 14px 16px;
  border-radius: 15px;
  background: var(--white);
  box-shadow: 0 15px 45px rgba(25, 74, 73, 0.14);
}

.about-badge svg {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  padding: 6px;
  border-radius: 10px;
  color: var(--primary);
  background: var(--primary-soft);
}

.about-badge div {
  display: flex;
  flex-direction: column;
}

.about-badge strong {
  font-size: 0.82rem;
}

.about-badge span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.62rem;
  line-height: 1.35;
}

.about-content p {
  max-width: 620px;
  margin-top: 22px;
  font-size: 1.02rem;
  line-height: 1.82;
}

.feature-list {
  display: grid;
  gap: 20px;
  margin: 30px 0 28px;
}

.feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-icon {
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  border-radius: 50%;
  color: var(--primary);
  background: var(--primary-soft);
}

.feature-icon svg {
  width: 15px;
}

.feature div {
  display: flex;
  flex-direction: column;
}

.feature strong {
  font-size: 0.93rem;
}

.feature span:not(.feature-icon) {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 700;
}

.text-link svg {
  transition: transform var(--transition);
}

.text-link:hover svg {
  transform: translateX(4px);
}

/* services */
.services {
  background: var(--bg);
}

.section-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 25px;
}

.section-head > p {
  max-width: 470px;
  justify-self: end;
  padding-bottom: 4px;
  line-height: 1.8;
}

.services .section-head h2 span {
  display: block;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 295px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid #e4eceb;
  border-radius: 22px;
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: var(--primary-deep);
  background: var(--primary-deep);
  box-shadow: var(--shadow-soft);
}

.service-card.featured {
  background: var(--primary-deep);
  border-color: var(--primary-deep);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  color: var(--primary);
  background: var(--primary-soft);
  transition: color var(--transition), background var(--transition);
}

.service-icon svg {
  width: 38px;
  height: 38px;
  stroke-width: 2.2;
}

.service-number {
  position: absolute;
  top: 31px;
  right: 31px;
  color: #c8d5d3;
  font-family: "Manrope", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  transition: color var(--transition);
}

.service-card h3 {
  margin-top: 14px;
  font-size: 1.18rem;
  transition: color var(--transition);
}

.service-card p {
  margin-top: 10px;
  font-size: 0.86rem;
  /* line-height: 1.72; */
  transition: color var(--transition);
}

.service-card a {
  position: absolute;
  left: 32px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  transition: color var(--transition);
}

.service-card a span {
  transition: transform var(--transition);
}

.service-card a:hover span {
  transform: translateX(4px);
}

.service-card.featured h3,
.service-card.featured p,
.service-card.featured a,
.service-card:hover h3,
.service-card:hover a {
  color: var(--white);
}

.service-card.featured p,
.service-card:hover p {
  color: #b9cfcd;
}

.service-card.featured .service-number,
.service-card:hover .service-number {
  color: #5f8582;
}

.service-card.featured .service-icon,
.service-card:hover .service-icon {
  color: var(--primary-deep);
  background: #c9ebe6;
}

.popular-tag {
  position: absolute;
  top: 0;
  left: 50%;
  padding: 6px 14px;
  transform: translateX(-50%);
  border-radius: 0 0 12px 12px;
  color: var(--primary-deep);
  background: var(--accent);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.general-services-card {
  grid-column: 1 / -1;
  background: var(--primary-soft);
  border: 1px solid #f3e4d3;
  border-radius: 24px;
  padding: 34px;
  margin-top: 15px;
}

.general-services-card h3 {
  font-size: 1.35rem;
  color: var(--primary-deep);
  margin-bottom: 6px;
}

.general-services-card p {
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 20px;
}

.general-services-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: var(--white);
  border: 1px solid #f3d7ba;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(217, 107, 39, 0.05);
  transition: all 250ms ease;
}

.service-tag:hover {
  border-color: var(--primary);
  background: var(--butter-soft);
  transform: translateY(-2px);
}

.service-tag::before {
  content: "✦";
  color: var(--primary);
  font-size: 0.75rem;
}

/* why us */
.why-us {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--primary-deep);
}

.why-us::before {
  content: "";
  position: absolute;
  top: -260px;
  left: -210px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 80px;
}

.why-content h2 {
  max-width: 650px;
}

.why-content h2 span {
  color: #a9dcd5;
}

.why-content > p {
  max-width: 600px;
  margin-top: 20px;
  color: #b9cfcd;
  line-height: 1.8;
}

.why-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 34px;
  margin: 34px 0;
}

.why-list div {
  display: flex;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.why-list strong {
  color: #8fcac3;
  font-size: 0.74rem;
}

.why-list span {
  color: #d8e8e6;
  font-size: 0.82rem;
}

.why-list b {
  color: var(--white);
}

.why-visual {
  position: relative;
  height: 520px;
}

.why-visual > img {
  height: 100%;
  border-radius: 26px;
  object-fit: cover;
}

.why-quote {
  position: absolute;
  left: -28px;
  bottom: 28px;
  max-width: 300px;
  padding: 17px 20px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.quote-mark {
  color: var(--primary);
  font-family: Georgia, serif;
  font-size: 2.2rem;
  line-height: 0.8;
}

.why-quote p {
  margin-top: 7px;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.45;
}

/* doctor */
.doctor {
  background: var(--white);
}

.doctor-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: 90px;
}

.doctor-photo {
  position: relative;
}

.photo-frame {
  height: 590px;
  padding: 14px;
  border: 1px solid #d8e7e5;
  border-radius: 190px 190px 28px 28px;
}

.photo-frame img {
  height: 100%;
  border-radius: 176px 176px 20px 20px;
  object-fit: cover;
  object-position: center top;
}

.doctor-tag {
  position: absolute;
  right: -28px;
  bottom: 43px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(24, 71, 70, 0.14);
  font-size: 0.72rem;
  font-weight: 700;
}

.doctor-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #26a269;
  box-shadow: 0 0 0 5px rgba(38, 162, 105, 0.12);
}

.doctor-content h2 span {
  color: var(--primary);
}

.doctor-role {
  margin-top: 10px;
  color: var(--primary);
  font-size: 0.91rem;
  font-weight: 700;
}

.doctor-content > p:not(.doctor-role) {
  max-width: 620px;
  margin-top: 21px;
  line-height: 1.85;
}

.doctor-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 29px 0;
}

.doctor-facts div {
  padding: 17px 16px;
  border: 1px solid #e1eae9;
  border-radius: 14px;
  background: var(--bg);
}

.doctor-facts span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
}

.doctor-facts strong {
  display: block;
  margin-top: 5px;
  font-size: 0.8rem;
}

.doctor-sign {
  margin-bottom: 26px;
  color: #4f6d6a;
  font-family: "Segoe Script", "Brush Script MT", cursive;
  font-size: 1.45rem;
  transform: rotate(-4deg);
}

/* process */
.process {
  background: var(--bg);
}

.center-head {
  max-width: 720px;
  margin: 0 auto 15px;
  text-align: center;
}

.center-head .section-kicker::before {
  display: none;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 0.6fr 1fr 0.6fr 1fr;
  align-items: start;
  gap: 0;
}

.process-step {
  text-align: center;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 19px;
  border: 1px solid #f3d7ba;
  border-radius: 22px;
  color: var(--primary);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(217, 107, 39, 0.08);
}

.step-icon svg {
  width: 31px;
  height: 31px;
}

.step-number {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.process-step h3 {
  font-size: 1.05rem;
}

.process-step p {
  max-width: 280px;
  margin: 9px auto 0;
  font-size: 0.82rem;
  line-height: 1.7;
}

.step-line {
  height: 2px;
  margin-top: 37px;
  transform: none;
  background: repeating-linear-gradient(to right, var(--primary) 0 8px, transparent 8px 16px);
  opacity: 0.55;
}

/* reviews */
.reviews {
  overflow: hidden;
}

.review-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: end;
}

.review-summary > strong {
  color: var(--primary);
  font-family: "Manrope", sans-serif;
  font-size: 2.8rem;
  line-height: 1;
}

.review-summary div {
  display: flex;
  flex-direction: column;
}

.review-summary .stars {
  font-size: 0.8rem;
}

.review-summary small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.69rem;
}

.reviews-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review-card {
  padding: 18px;
  border: 1px solid #e3eceb;
  border-radius: 20px;
  background: #fbfdfd;
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quote-icon {
  color: var(--primary);
  font-family: Georgia, serif;
  font-size: 3.3rem;
  line-height: 1;
}

.review-top .stars {
  font-size: 0.72rem;
}

.review-card > p {
  /* margin-top: 10px; */
  min-height: 100px;
  color: #455d60;
  font-size: 0.9rem;
  line-height: 1.8;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
  /* margin-top: 23px; */
  padding-top: 10px;
  border-top: 1px solid #e4eceb;
}

.reviewer-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 0.72rem;
  font-weight: 800;
}

.reviewer div:last-child {
  display: flex;
  flex-direction: column;
}

.reviewer strong {
  font-size: 0.8rem;
}

.reviewer span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.67rem;
}

/* appointment */
.appointment {
  padding-top: 25px;
  background: linear-gradient(to bottom, var(--white) 0 18%, #eef8f6 18% 100%);
}

.appointment-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 28px;
  border-radius: 24px;
  background: var(--primary-deep);
  box-shadow: 0 24px 60px rgba(46, 24, 13, 0.25);
  align-items: stretch;
}

.appointment-map-only {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(253, 224, 71, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.appointment-map-only iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
}

.appointment-form {
  padding: 26px 28px;
  border-radius: 18px;
  background: var(--white);
}

.form-head span {
  color: var(--primary);
  font-size: 0.69rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.form-head h3 {
  margin-top: 5px;
  font-size: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0px 16px;
  margin-top: 0px;
}

.field {
  display: flex;
  flex-direction: column;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  margin-bottom: 7px;
  color: #405356;
  font-size: 0.72rem;
  font-weight: 700;
}

.field label span {
  color: var(--muted);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #dce7e5;
  border-radius: 10px;
  outline: 0;
  color: var(--ink);
  background: #fbfdfd;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.field input,
.field select {
  height: 48px;
  padding: 0 14px;
}

.field textarea {
  min-height: 92px;
  padding: 12px 14px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #77bbb4;
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(13, 119, 115, 0.08);
}

.field.invalid input,
.field.invalid select {
  border-color: #cf6d6d;
}

.error {
  min-height: 15px;
  margin-top: 4px;
  color: #c65353;
  font-size: 0.61rem;
}

.form-submit {
  width: 100%;
  margin-top: 20px;
  border: 0;
}

.form-note {
  margin-top: 11px;
  text-align: center;
  color: var(--muted);
  font-size: 0.62rem;
}

/* faq */
.faq {
  background: #eef8f6;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 90px;
}

.faq-intro p {
  max-width: 430px;
  margin: 19px 0 24px;
}

.accordion {
  display: grid;
  gap: 10px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid #dce9e6;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 10px 22px;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  font-weight: 700;
}

.faq-plus {
  position: relative;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-soft);
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.5px;
  background: var(--primary);
  transform: translate(-50%, -50%);
  transition: transform var(--transition), opacity var(--transition);
}

.faq-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.active .faq-plus::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms ease;
}

.faq-answer p {
  padding: 0 22px 20px;
  font-size: 0.83rem;
  line-height: 1.7;
}

/* location strip */
.location-strip {
  background: var(--white);
  border-top: 1px solid #edf2f1;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 30px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.location-item {
  display: flex;
  align-items: center;
  gap: 13px;
}

.location-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  color: var(--primary);
  background: var(--primary-soft);
}

.location-icon svg {
  width: 21px;
  height: 21px;
}

.location-item div {
  display: flex;
  flex-direction: column;
}

.location-item small {
  color: var(--muted);
  font-size: 0.67rem;
}

.location-item strong {
  margin-top: 3px;
  font-size: 0.8rem;
}

/* footer */
.footer {
  padding: 25px 0 23px;
  color: var(--white);
  background: #092e2f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 0.75fr);
  gap: 55px;
}

.brand-light .brand-icon {
  color: #bfe7df;
}

.brand-light .brand-copy small {
  color: #6f9a97;
}

.footer-brand > p {
  max-width: 330px;
  margin-top: 19px;
  color: #8da9a7;
  font-size: 0.8rem;
  line-height: 1.8;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-col h4 {
  margin-bottom: 7px;
  font-size: 0.86rem;
}

.footer-col a,
.footer-col p {
  color: #8da9a7;
  font-size: 0.75rem;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--butter-yellow);
  background: rgba(255, 255, 255, 0.08);
  transition: all 250ms ease;
}

.footer-socials a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  /* padding-top: 22px; */
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  color: #8da9a7;
  font-size: 0.75rem;
}

.designer-credit {
  color: #a4c4c1;
}

.designer-credit strong {
  color: #fd475f;
}

/* floating whatsapp */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 52px;
  height: 52px;
  padding: 0 13.5px;
  border-radius: 999px;
  color: var(--white);
  background: #23b663;
  box-shadow: 0 14px 35px rgba(23, 142, 75, 0.28);
  font-size: 0.76rem;
  font-weight: 700;
  overflow: hidden;
  transition: width 350ms cubic-bezier(0.4, 0, 0.2, 1), padding 350ms ease, transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  width: 152px;
  padding: 0 16px 0 14px;
  transform: translateY(-3px);
  box-shadow: 0 17px 40px rgba(23, 142, 75, 0.36);
}

.whatsapp-float svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
  stroke: none;
  flex-shrink: 0;
}

.whatsapp-float span {
  opacity: 0;
  max-width: 0;
  white-space: nowrap;
  overflow: hidden;
  margin-left: 0;
  transition: opacity 250ms ease, max-width 350ms cubic-bezier(0.4, 0, 0.2, 1), margin-left 350ms ease;
}

.whatsapp-float:hover span {
  opacity: 1;
  max-width: 100px;
  margin-left: 8px;
}

/* toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: -100px;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 340px;
  padding: 14px 18px;
  transform: translateX(-50%);
  border: 1px solid #cce8e3;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(17, 63, 63, 0.18);
  transition: bottom 360ms ease;
}

.toast.show {
  bottom: 26px;
}

.toast-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--white);
  background: var(--primary);
}

.toast-icon svg {
  width: 18px;
}

.toast div {
  display: flex;
  flex-direction: column;
}

.toast strong {
  font-size: 0.78rem;
}

.toast small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.67rem;
}

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  transition-delay: 120ms;
}

/* responsive */
@media (max-width: 1180px) {
  .phone-link {
    display: none;
  }

  .about-grid,
  .doctor-grid {
    gap: 60px;
  }

  .about-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .why-grid {
    gap: 50px;
  }

  .appointment-shell {
    padding: 46px;
  }
}

@media (max-width: 980px) {
  .section {
    padding: 88px 0;
  }

  .nav {
    position: fixed;
    top: 82px;
    left: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid #dde9e7;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 50px rgba(24, 67, 67, 0.15);
    transform: translateY(-15px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    padding: 13px 12px;
    border-radius: 10px;
  }

  .nav-link:hover,
  .nav-link.active {
    background: var(--primary-soft);
  }

  .nav-link::after {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-content {
    padding-bottom: 26px;
    text-align: center;
  }

  .hero h1,
  .hero-text {
    margin-inline: auto;
  }

  .eyebrow {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-trust {
    justify-content: center;
  }

  .hero-visual {
    width: min(680px, 100%);
    margin-inline: auto;
  }

  .hero-image-card {
    height: 560px;
    border-radius: 120px 25px 25px 25px;
  }

  .experience-card {
    right: 22px;
  }

  .about-grid,
  .doctor-grid,
  .why-grid,
  .appointment-shell,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .doctor-grid,
  .why-grid,
  .faq-grid {
    gap: 20px;
  }

  .about-visual,
  .doctor-photo {
    width: min(650px, 100%);
    margin-inline: auto;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .why-visual {
    width: min(680px, 100%);
    margin-inline: auto;
  }

  .doctor-photo {
    width: min(500px, 100%);
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-head > p,
  .review-summary {
    justify-self: start;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .step-line {
    width: 2px;
    height: 18px;
    margin: 2px auto;
    transform: none;
    background: repeating-linear-gradient(to bottom, var(--primary) 0 5px, transparent 5px 10px);
    opacity: 0.6;
  }

  .reviews-track {
    overflow-x: auto;
    grid-template-columns: repeat(3, minmax(330px, 1fr));
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
  }

  .review-card {
    scroll-snap-align: start;
  }

  .appointment-info {
    padding: 5px 6px;
  }

  .faq-intro {
    max-width: 620px;
  }

  .location-grid {
    grid-template-columns: 1fr 1fr;
  }

  .location-grid .btn {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .footer-col:last-child {
    grid-column: 2 / 4;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 20px 0;
  }

  .nav-wrap {
    min-height: 72px;
  }

  .nav {
    top: 72px;
    left: 14px;
    right: 14px;
  }

  .brand-logo-img {
    height: 38px !important;
    max-width: 145px;
    padding: 3px 7px;
  }

  .brand-icon,
  .brand-icon svg {
    width: 39px;
    height: 39px;
  }

  .brand-copy strong {
    font-size: 0.96rem;
  }

  .brand-copy small {
    font-size: 0.49rem;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding-top: 75px;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-content {
    padding-top: 16px;
  }

  h1 {
    font-size: clamp(1.75rem, 7.5vw, 2.4rem);
    line-height: 1.15;
  }

  h2 {
    font-size: clamp(1.5rem, 6.5vw, 2rem);
    line-height: 1.2;
  }

  .hero-text {
    margin-top: 16px;
    font-size: 0.92rem;
  }

  .hero-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    justify-content: center;
  }

  .hero-actions .btn {
    flex: 1;
    width: auto;
    min-height: 44px;
    padding: 0 10px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .hero-trust {
    margin-top: 28px;
  }

  .hero-image-card {
    height: 470px;
    border-radius: 85px 20px 20px 20px;
  }

  .experience-card {
    top: 22px;
    right: 12px;
  }

  .emergency-card {
    left: 12px;
    right: 12px;
    bottom: 14px;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    margin-top: 18px;
    border-radius: 18px 18px 0 0;
  }

  .stat-card:nth-child(2)::after {
    display: none;
  }

  .stat-card:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .about-visual {
    min-height: 450px;
  }

  .about-main-img {
    width: 92%;
    height: 420px;
    border-radius: 24px 80px 24px 24px;
  }

  .about-small-img {
    width: 48%;
    height: 180px;
  }

  .about-badge {
    left: 14px;
    bottom: 14px;
    width: 200px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 280px;
  }

  .why-list {
    grid-template-columns: 1fr;
  }

  .why-visual {
    height: 440px;
  }

  .why-quote {
    left: 14px;
    right: 14px;
    max-width: none;
  }

  .photo-frame {
    height: 490px;
  }

  .doctor-tag {
    right: 8px;
  }

  .doctor-facts {
    grid-template-columns: 1fr;
  }

  .reviews-track {
    grid-template-columns: repeat(3, minmax(86vw, 1fr));
  }

  .appointment {
    padding-top: 25px;
  }

  .appointment-shell {
    width: calc(100% - 20px);
    padding: 30px 20px 24px;
    gap: 38px;
    border-radius: 22px;
  }

  .appointment-form {
    padding: 23px 17px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }

  .hours {
    grid-template-columns: 1fr;
  }

  .location-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .location-grid .btn {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 25px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .whatsapp-float,
  .whatsapp-float:hover {
    right: 14px;
    bottom: 14px;
    width: 50px;
    height: 50px;
    padding: 0;
    justify-content: center;
  }

  .whatsapp-float span,
  .whatsapp-float:hover span {
    display: none;
  }

  .toast {
    width: calc(100% - 28px);
    min-width: 0;
  }
}

@media (max-width: 430px) {
  .brand-copy small {
    display: none;
  }

  .hero-trust {
    align-items: flex-start;
  }

  .stat-card {
    padding: 22px 10px;
  }

  .stat-card strong {
    font-size: 1.55rem;
  }

  .stat-card span:last-child {
    text-align: center;
    font-size: 0.67rem;
  }

  .about-visual {
    min-height: 420px;
  }

  .about-main-img {
    height: 390px;
  }

  .about-badge {
    width: 180px;
  }

  .about-badge span {
    display: none;
  }

  .photo-frame {
    height: 430px;
    padding: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================
   PIXIE DENTAL - ALL SCREEN SIZE RESPONSIVE FIX
   Added at the VERY END of style.css
========================================================== */

/* ---------- GLOBAL SCREEN FIT ---------- */

:root {
  --container: 1360px;
}

html {
  width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%;
  min-width: 320px;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
picture,
video,
iframe,
svg {
  max-width: 100%;
}

.container {
  width: min(92%, var(--container));
  margin-left: auto;
  margin-right: auto;
}

.hero-grid > *,
.about-grid > *,
.services-grid > *,
.why-grid > *,
.doctor-grid > *,
.appointment-shell > *,
.location-grid > *,
.footer-grid > * {
  min-width: 0;
}


/* ==========================================================
   LARGE DESKTOP - 1600px / 1920px / 2K
========================================================== */

@media (min-width: 1600px) {

  :root {
    --container: 1420px;
  }

  .container {
    width: 100%;
    max-width: none;
    padding-left: clamp(50px, 5vw, 100px);
    padding-right: clamp(50px, 5vw, 100px);
  }

  .nav-wrap {
    min-height: 74px;
  }

  .header .brand-logo-img {
    width: 155px !important;
    height: auto !important;
  }

  .nav {
    gap: 32px;
  }

  .nav-link {
    font-size: 0.96rem;
  }

  .hero {
    padding-top: 96px;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.95fr;
    gap: clamp(50px, 5vw, 90px);
  }

  .hero-content {
    padding-top: 35px;
    padding-bottom: 55px;
  }

  .hero h1 {
    max-width: 700px;
    font-size: clamp(3rem, 3.4vw, 4rem);
  }

  .hero-text {
    max-width: 650px;
    font-size: 1.05rem;
  }

  .hero-image-card {
    height: clamp(470px, 31vw, 560px);
  }

  .hero-stats {
    margin-top: 0;
  }

  .stat-card {
    padding: 28px 20px;
  }

  .about-grid {
    gap: clamp(70px, 7vw, 120px);
  }

  .about-main-img {
    height: clamp(500px, 34vw, 590px);
  }

  .why-visual {
    height: clamp(500px, 34vw, 590px);
  }

  .photo-frame {
    height: clamp(520px, 36vw, 620px);
  }

  .service-card {
    min-height: 310px;
  }
}


/* ==========================================================
   NORMAL DESKTOP / LAPTOP
   1200px - 1599px
========================================================== */

@media (min-width: 1200px) and (max-width: 1599px) {

  :root {
    --container: 1180px;
  }

  .container {
    width: 100%;
    max-width: none;
    padding-left: clamp(32px, 4vw, 64px);
    padding-right: clamp(32px, 4vw, 64px);
  }

  .hero-grid {
    gap: 38px;
  }

  .hero-image-card {
    height: clamp(390px, 31vw, 450px);
  }

  .about-main-img {
    height: clamp(440px, 36vw, 500px);
  }

  .why-visual {
    height: clamp(420px, 36vw, 520px);
  }

  .photo-frame {
    height: clamp(460px, 38vw, 590px);
  }
}


/* ==========================================================
   SMALL LAPTOP
   981px - 1199px
========================================================== */

@media (min-width: 981px) and (max-width: 1199px) {

  .container {
    width: 100%;
    max-width: none;
    padding-left: 24px;
    padding-right: 24px;
  }

  .nav {
    gap: 18px;
  }

  .nav-link {
    font-size: 0.82rem;
  }

  .nav-actions {
    gap: 10px;
  }

  .nav-cta {
    padding-inline: 16px;
    font-size: 0.76rem;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.9fr;
    gap: 30px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 3.5vw, 2.8rem);
  }

  .hero-text {
    font-size: 0.9rem;
  }

  .hero-image-card {
    height: clamp(360px, 37vw, 410px);
  }

  .about-grid {
    gap: 45px;
  }

  .about-main-img {
    height: 450px;
  }
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 980px) {

  .container {
    width: min(calc(100% - 32px), 760px);
  }

  .section {
    padding: 65px 0;
  }

  .hero {
    padding-top: 82px;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }

  .hero-content {
    text-align: center;
  }

  .hero h1 {
    max-width: 680px;
    margin-inline: auto;
  }

  .hero-text {
    max-width: 620px;
    margin-inline: auto;
    margin-top: 18px;
  }

  .hero-actions,
  .hero-trust {
    justify-content: center;
  }

  .hero-visual {
    width: min(680px, 100%);
    margin-inline: auto;
  }

  .hero-image-card {
    width: 100%;
    height: auto;
    aspect-ratio: 1.3 / 1;
  }

  .hero-image-card > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .about-grid,
  .why-grid,
  .doctor-grid,
  .faq-grid {
    grid-template-columns: 1fr !important;
  }

  .about-visual,
  .why-visual,
  .doctor-photo {
    width: min(650px, 100%);
    margin-inline: auto;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 700px) {

  .container {
    width: calc(100% - 28px);
  }

  .section {
    padding: 42px 0;
  }

  .nav-wrap {
    min-height: 68px;
  }

  .header .brand-logo-img {
    width: 115px !important;
    height: auto !important;
  }

  .nav {
    top: 68px;
    left: 12px;
    right: 12px;
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
  }

  .hero {
    padding-top: 68px;
  }

  .hero-content {
    padding: 22px 0 15px;
  }

  .eyebrow {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 2.5rem);
    line-height: 1.08;
  }

  .hero-text {
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
    white-space: normal;
  }

  .hero-trust {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-image-card {
    height: auto;
    aspect-ratio: 1 / 1.05;
    border-radius: 50px 18px 18px 18px;
  }

  .experience-card {
    top: 14px;
    right: 10px;
  }

  .emergency-card {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-card {
    padding: 20px 10px;
  }

  .services-grid {
    grid-template-columns: 1fr !important;
  }

  .about-visual {
    width: 100%;
    min-height: 0;
    padding-bottom: 65px;
  }

  .about-main-img {
    width: 92%;
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .about-main-img img {
    height: 100%;
    object-fit: cover;
  }

  .about-small-img {
    width: 48%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .why-visual {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .photo-frame {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .reviews-track {
    grid-template-columns: repeat(3, minmax(85vw, 1fr));
    overflow-x: auto;
  }

  .appointment-shell {
    width: calc(100% - 20px);
    padding: 28px 18px;
  }

  .appointment-form {
    padding: 20px 15px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-col:last-child {
    grid-column: auto;
  }
}


/* ==========================================================
   SMALL MOBILE 320px - 430px
========================================================== */

@media (max-width: 430px) {

  .container {
    width: calc(100% - 20px);
  }

  .header .brand-logo-img {
    width: 100px !important;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 9vw, 2.15rem);
  }

  .hero-text {
    font-size: 0.86rem;
  }

  .hero-image-card {
    aspect-ratio: 0.92 / 1;
    border-radius: 40px 14px 14px 14px;
  }

  .experience-card {
    padding: 9px 11px;
  }

  .experience-card strong {
    font-size: 1.35rem;
  }

  .experience-card span {
    font-size: 0.6rem;
  }

  .emergency-card {
    padding: 10px;
  }

  .stat-card strong {
    font-size: 1.4rem;
  }

  .stat-card span:last-child {
    font-size: 0.65rem;
  }

  .about-main-img {
    width: 94%;
  }

  .about-small-img {
    width: 50%;
  }

  .reviews-track {
    grid-template-columns: repeat(3, minmax(90vw, 1fr));
  }
}

