/* Pearl Dental — WordPress-style theme demo */

:root {
  --wp-blue: #2271b1;
  --wp-blue-dark: #135e96;
  --color-primary: #2c5f6f;
  --color-primary-dark: #1e4552;
  --color-accent: #c4a35a;
  --color-accent-dark: #a8863f;
  --color-bg: #f6f7f7;
  --color-surface: #ffffff;
  --color-text: #1d2327;
  --color-text-muted: #646970;
  --color-border: #dcdcde;
  --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --container: 1100px;
  --header-height: 64px;
  --topbar-height: 36px;
  --header-shell-height: calc(var(--header-height) + var(--topbar-height));
  --radius: 4px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08);
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-shell-height)); }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}


img { max-width: 100%; display: block; height: auto; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-dark); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}


/* Header shell — top bar + nav stick together */
.site-header-group {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: var(--color-surface);
  box-shadow: var(--shadow);
  isolation: isolate;
}

/* Top bar */
.top-bar {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  width: 100%;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-bar__left {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar__cta {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 13px;
}

.top-bar__cta:hover { color: #fff; }

/* Site header */
.site-header {
  position: relative;
  z-index: 1;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  width: 100%;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 24px;
  width: 100%;
}

.site-branding { flex-shrink: 0; }

.site-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.2;
}

.site-title a { color: inherit; }
.site-title a:hover { color: var(--color-primary); }

.site-description {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.main-navigation { flex-shrink: 0; }

.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-navigation a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius);
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
  background: #f0f0f1;
  color: var(--color-primary);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
}

.site-main {
  position: relative;
  z-index: 1;
  min-height: 60vh;
}

.site-content { padding: 40px 0 60px; }

.page-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  padding: 48px 0;
  margin-bottom: 0;
}

.page-header .entry-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 400;
  margin-bottom: 8px;
}

.page-header .entry-meta {
  font-size: 14px;
  opacity: 0.85;
}

/* Gutenberg blocks */
.wp-block-group { margin-bottom: 48px; }

.alignwide {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.alignfull { width: 100%; }

.wp-block-cover {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.wp-block-cover__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wp-block-cover__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,69,82,0.9) 0%, rgba(44,95,111,0.78) 55%, rgba(196,163,90,0.45) 100%);
}

.wp-block-cover__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 20px;
  width: 100%;
}

.wp-block-cover h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
}

.wp-block-cover p {
  font-size: 1.1rem;
  max-width: 540px;
  opacity: 0.95;
  margin-bottom: 28px;
}

.wp-block-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.wp-block-columns--2 { grid-template-columns: repeat(2, 1fr); }

.wp-block-column {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.wp-block-column h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--color-primary-dark);
}

.wp-block-column p {
  font-size: 15px;
  color: var(--color-text-muted);
}

.wp-block-column .wp-block-image {
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
}

.wp-block-column .wp-block-image img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.wp-block-button__link {
  display: inline-block;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: 0.2s;
}

.is-style-fill .wp-block-button__link {
  background: var(--color-accent);
  color: #fff;
  border: 2px solid var(--color-accent);
}

.is-style-fill .wp-block-button__link:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: #fff;
}

.is-style-outline .wp-block-button__link {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}

.is-style-outline .wp-block-button__link:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.is-style-outline-dark .wp-block-button__link {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.is-style-outline-dark .wp-block-button__link:hover {
  background: var(--color-primary);
  color: #fff;
}

.wp-block-separator {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 40px 0;
}

.wp-block-heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.75rem;
  margin-bottom: 16px;
  color: var(--color-text);
}

.has-text-align-center { text-align: center; }

/* Split hero — media-text block */
.wp-block-media-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: calc(82vh - var(--header-shell-height));
  background: var(--color-surface);
  overflow: hidden;
}

.wp-block-media-text__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 48px 56px max(20px, calc((100vw - var(--container)) / 2));
}

.wp-block-media-text__media {
  position: relative;
  padding: 32px max(20px, calc((100vw - var(--container)) / 2)) 32px 24px;
  align-self: center;
}

.wp-block-media-text__media img {
  width: 100%;
  height: auto;
  max-height: 520px;
  min-height: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.wp-block-media-text__media::before {
  content: "";
  position: absolute;
  inset: 24px -16px -16px 24px;
  border: 2px solid var(--color-accent);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.35;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent-dark);
  margin-bottom: 16px;
}

.wp-block-media-text h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--color-text);
}

.wp-block-media-text h1 em {
  font-style: italic;
  color: var(--color-primary);
}

.wp-block-media-text p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 460px;
  margin-bottom: 28px;
}

/* Stat bar */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--color-primary);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-bar__item {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-bar__item:last-child { border-right: none; }

.stat-bar__number {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 4px;
}

.stat-bar__label {
  font-size: 13px;
  opacity: 0.8;
}

/* Section headers */
.section-header { margin-bottom: 32px; }

.section-header--center {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  margin-bottom: 10px;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 15px;
}

/* Feature list */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-item__icon {
  width: 44px;
  height: 44px;
  background: #eef4f5;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.feature-item h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--color-primary-dark);
}

.feature-item p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
}

/* Google-style review cards */
.review-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.review-card--featured {
  border-color: var(--color-accent);
  box-shadow: 0 4px 20px rgba(196,163,90,0.15);
  transform: translateY(-4px);
}

.review-card__stars {
  color: #f5a623;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.review-card footer strong {
  display: block;
  font-size: 13px;
  color: var(--color-text);
}

.review-card footer span {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* CTA band */
.cta-band {
  background: var(--color-primary-dark);
  padding: 64px 0;
  margin-top: 48px;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--radius);
  padding: 48px;
  color: #fff;
}

.cta-band__text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  margin-bottom: 8px;
}

.cta-band__text p {
  font-size: 15px;
  opacity: 0.85;
}

.is-style-outline-light .wp-block-button__link {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}

.is-style-outline-light .wp-block-button__link:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

/* Trust strip (inner pages) */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.trust-strip__item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.trust-strip__item strong {
  display: block;
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.trust-strip__item span {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* Services cards */
.service-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.2s;
}

.service-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }

.service-card__img img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.service-card__body { padding: 24px; }

.service-card__body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.service-card__body p {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.service-card__list {
  font-size: 14px;
  color: var(--color-text-muted);
}

.service-card__list li {
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}

.service-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}

.gallery-item:hover img { transform: scale(1.04); }

.gallery-item__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 12px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 13px;
}

/* Two-column layout with sidebar */
.content-area {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.entry-content p {
  margin-bottom: 16px;
  color: var(--color-text-muted);
}

.entry-content h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin: 32px 0 12px;
  color: var(--color-text);
}

.widget-area .widget:not(.widget--cta) {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.widget-area .widget {
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}

.widget-title {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}

.widget ul li {
  padding: 6px 0;
  font-size: 14px;
  border-bottom: 1px solid #f0f0f1;
}

.widget ul li:last-child { border-bottom: none; }

.widget ul a { color: var(--color-text-muted); }
.widget ul a:hover { color: var(--color-primary); }

.widget-area .widget--cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  border: none;
  box-shadow: var(--shadow);
}

.widget-area .widget--cta .widget-title {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.2);
}

.widget-area .widget--cta p {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 14px;
  color: #fff;
}

.widget-area .widget--cta .wp-block-button__link {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  width: 100%;
  text-align: center;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.contact-info__item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  background: #eef4f5;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-info strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.contact-info span {
  font-size: 14px;
  color: var(--color-text-muted);
}

.comment-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.comment-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.comment-form input,
.comment-form textarea,
.comment-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  margin-bottom: 16px;
  background: #fff;
}

.comment-form input:focus,
.comment-form textarea:focus,
.comment-form select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary);
}

.comment-form textarea { min-height: 120px; resize: vertical; }

.comment-form .form-submit input {
  background: var(--color-primary);
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
  padding: 12px 28px;
  width: auto;
}

.comment-form .form-submit input:hover { background: var(--color-primary-dark); }

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

.wp-block-quote {
  background: var(--color-surface);
  border-left: 4px solid var(--color-accent);
  padding: 24px 28px;
  margin-bottom: 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}

.wp-block-quote p {
  font-style: italic;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.wp-block-quote cite {
  font-size: 13px;
  font-style: normal;
  color: var(--color-text);
  font-weight: 600;
}

.about-profile {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

.about-profile__photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.about-profile__photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.about-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.about-credentials span {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  background: #eef4f5;
  color: var(--color-primary);
  border-radius: 100px;
}

.map-embed {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #e8edf2;
  aspect-ratio: 16/7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 14px;
}

.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.7);
  margin-top: 0;
}

.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--color-accent); }

.footer-compact {
  padding: 48px 0 24px;
}

.footer-compact__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.footer-compact__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.footer-compact__title a { color: #fff; }

.footer-compact__brand p:last-child {
  font-size: 14px;
  max-width: 280px;
}

.footer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-chip {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  color: rgba(255,255,255,0.85);
  transition: 0.2s;
}

.footer-chip:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.footer-chip--accent {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.footer-chip--accent:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: #fff;
}

.footer-compact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.footer-info-card {
  padding: 16px 20px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
}

.footer-info-card__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  margin-bottom: 6px;
}

.footer-info-card span,
.footer-info-card a {
  font-size: 14px;
}

.footer-compact__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.footer-compact__legal {
  display: flex;
  gap: 8px;
  align-items: center;
}

.footer-compact__legal a { font-size: 13px; }

.site-info .wp-logo,
.footer-compact__bottom .wp-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-info .wp-logo-icon,
.footer-compact__bottom .wp-logo-icon {
  width: 18px;
  height: 18px;
  background: var(--wp-blue);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Legacy footer widgets (inner pages fallback) */
.footer-widgets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.footer-widgets .widget-title {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.1);
}

.footer-widgets p,
.footer-widgets li {
  font-size: 14px;
  color: #a7aaad;
}

.site-info {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 13px;
  color: #a7aaad;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 900px) {
  .wp-block-columns,
  .wp-block-columns--2,
  .service-cards,
  .gallery-grid,
  .contact-grid,
  .footer-widgets,
  .footer-compact__grid,
  .content-area,
  .about-profile,
  .trust-strip,
  .stat-bar,
  .feature-list,
  .review-cards {
    grid-template-columns: 1fr;
  }

  .stat-bar__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-bar__item:last-child { border-bottom: none; }
  .review-card--featured { transform: none; }

  .wp-block-media-text { grid-template-columns: 1fr; min-height: auto; }
  .wp-block-media-text__content { padding: 48px 24px; order: 2; }
  .wp-block-media-text__media { padding: 24px; order: 1; }
  .wp-block-media-text__media img { min-height: 320px; }

  .cta-band__inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-band__inner .wp-block-buttons { justify-content: center; }

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

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .main-navigation {
    position: fixed;
    top: calc(var(--header-shell-height));
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 16px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    box-shadow: var(--shadow);
  }

  .main-navigation.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-navigation ul {
    flex-direction: column;
    align-items: stretch;
  }

  .main-navigation a { padding: 12px 16px; }

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

    .top-bar__left span:not(:first-child) { display: none; }
}
