/*
Theme Name: ClearCare
Theme URI: https://clearcare.dental
Author: ClearCare Studio
Author URI: https://clearcare.dental
Description: Premium dental & healthcare practice WordPress block theme. Clean, clinical, and trustworthy — designed for modern practices that put patients first.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: block-theme, full-site-editing, healthcare, dental, one-page, light, teal, white, accessibility-ready, wide-blocks, custom-colors, custom-logo, custom-menu
Text Domain: clearcare
*/

/* ══════════════════════════════════════════════════
   BASE RESET & GLOBAL
══════════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: #0f172a;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ══════════════════════════════════════════════════
   SITE HEADER
══════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  transition: box-shadow 0.2s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(15, 23, 42, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
}

/* Logo */
.wp-block-site-title a {
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  text-decoration: none !important;
  letter-spacing: -0.02em;
}

.wp-block-site-title a span.teal {
  color: #0d9488;
}

/* Navigation */
.wp-block-navigation {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.wp-block-navigation .wp-block-navigation-item__content {
  font-size: 0.9rem;
  font-weight: 500;
  color: #64748b;
  padding: 0.5rem 0.75rem !important;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
  text-decoration: none;
}

.wp-block-navigation .wp-block-navigation-item__content:hover,
.wp-block-navigation .current-menu-item .wp-block-navigation-item__content {
  color: #0d9488;
  background: #f0fdfa;
}

/* ══════════════════════════════════════════════════
   SECTION UTILITIES
══════════════════════════════════════════════════ */
.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0d9488;
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.section-headline {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.section-sub {
  font-size: 1.0625rem;
  color: #64748b;
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto;
}

.gold-line {
  display: block;
  width: 48px;
  height: 3px;
  background: #0d9488;
  border-radius: 9999px;
  margin: 0 auto 2rem;
}

/* ══════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════ */
.clearcare-hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.clearcare-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.clearcare-hero .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.clearcare-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.78) 0%, rgba(15,23,42,0.52) 60%, rgba(13,148,136,0.25) 100%);
  z-index: 1;
}

.clearcare-hero .hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 7rem 2rem 6rem;
}

.clearcare-hero .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #99f6e4;
  background: rgba(13,148,136,0.2);
  border: 1px solid rgba(13,148,136,0.35);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.clearcare-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0 0 1.25rem;
  max-width: 700px;
}

.clearcare-hero h1 span {
  color: #5eead4;
}

.clearcare-hero .hero-sub {
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  margin: 0 0 2.5rem;
  font-weight: 300;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 0.2rem;
}

/* ══════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════ */
.btn-primary,
.wp-element-button.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #0d9488;
  color: #ffffff !important;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(13,148,136,0.3);
}

.btn-primary:hover,
.wp-element-button.btn-primary:hover {
  background: #0f766e;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13,148,136,0.4);
}

.btn-outline,
.wp-element-button.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #ffffff !important;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.btn-outline:hover {
  border-color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.1);
}

.btn-teal-outline {
  background: transparent;
  color: #0d9488 !important;
  border: 2px solid #0d9488;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  display: inline-block;
}

.btn-teal-outline:hover {
  background: #0d9488;
  color: #ffffff !important;
}

/* ══════════════════════════════════════════════════
   SERVICE CARDS
══════════════════════════════════════════════════ */
.services-section {
  padding: 5rem 2rem;
  background: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.service-card:hover {
  border-color: #0d9488;
  box-shadow: 0 8px 30px rgba(13,148,136,0.12);
  transform: translateY(-3px);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: #f0fdfa;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #0d9488;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: #0d9488;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.6rem;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.65;
  margin: 0 0 1.25rem;
}

.service-card a {
  font-size: 0.8rem;
  font-weight: 600;
  color: #0d9488;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.15s ease;
}

.service-card a:hover { gap: 0.55rem; }

/* ══════════════════════════════════════════════════
   WHY CHOOSE US
══════════════════════════════════════════════════ */
.why-section {
  padding: 5rem 2rem;
  background: #f8fafc;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.why-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  border: 1px solid #e2e8f0;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.why-card:hover {
  box-shadow: 0 8px 25px rgba(15,23,42,0.08);
  transform: translateY(-2px);
}

.why-icon {
  width: 60px;
  height: 60px;
  background: #f0fdfa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.why-icon svg { stroke: #0d9488; }

.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.6rem;
}

.why-card p {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}

/* ══════════════════════════════════════════════════
   TEAM
══════════════════════════════════════════════════ */
.team-section {
  padding: 5rem 2rem;
  background: #ffffff;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 3rem auto 0;
}

.team-card {
  text-align: center;
}

.team-card-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  margin: 0 auto 1.25rem;
  border: 3px solid #ccfbf1;
  box-shadow: 0 4px 20px rgba(13,148,136,0.15);
}

.team-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.3rem;
}

.team-card .role {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0d9488;
  margin-bottom: 0.75rem;
}

.team-card p {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}

/* ══════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════ */
.testimonials-section {
  padding: 5rem 2rem;
  background: #0d9488;
}

.testimonials-section .section-tag {
  color: #ccfbf1;
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
}

.testimonials-section .section-headline {
  color: #ffffff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 3rem auto 0;
}

.testimonial-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 2rem;
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
  color: #fbbf24;
}

.stars svg {
  width: 18px;
  height: 18px;
  fill: #fbbf24;
  stroke: none;
}

.testimonial-card blockquote {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.9);
  margin: 0 0 1.5rem;
  font-style: italic;
  font-weight: 300;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.3);
}

.testimonial-name {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.875rem;
}

.testimonial-detail {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.15rem;
}

/* ══════════════════════════════════════════════════
   BOOKING FORM
══════════════════════════════════════════════════ */
.booking-section {
  padding: 5rem 2rem;
  background: #f8fafc;
}

.clearcare-form {
  max-width: 680px;
  margin: 2.5rem auto 0;
  background: #ffffff;
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(15,23,42,0.06);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: 0.02em;
}

.form-group label span {
  color: #ef4444;
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-family: inherit;
  color: #0f172a;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #0d9488;
  box-shadow: 0 0 0 3px rgba(13,148,136,0.12);
  background: #ffffff;
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

.form-submit-btn {
  width: 100%;
  background: #0d9488;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  box-shadow: 0 4px 14px rgba(13,148,136,0.3);
  margin-top: 0.5rem;
}

.form-submit-btn:hover {
  background: #0f766e;
  transform: translateY(-1px);
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: #0d9488;
  font-weight: 600;
}

.form-privacy {
  font-size: 0.75rem;
  color: #94a3b8;
  text-align: center;
  margin-top: 1rem;
}

/* ══════════════════════════════════════════════════
   HOURS & LOCATION
══════════════════════════════════════════════════ */
.hours-section {
  padding: 5rem 2rem;
  background: #ffffff;
}

.hours-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 3rem auto 0;
  align-items: start;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.hours-table tr {
  border-bottom: 1px solid #f1f5f9;
}

.hours-table tr:last-child { border-bottom: none; }

.hours-table td {
  padding: 0.75rem 0;
  color: #0f172a;
}

.hours-table td:last-child {
  text-align: right;
  color: #64748b;
  font-weight: 500;
}

.hours-table tr:nth-child(7) td {
  color: #94a3b8;
}

.hours-table tr:nth-child(8) td {
  color: #ef4444;
  font-weight: 600;
}

.address-block {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f1f5f9;
}

.address-block svg { stroke: #0d9488; flex-shrink: 0; margin-top: 2px; }
.address-block p { margin: 0; color: #64748b; font-size: 0.9rem; line-height: 1.6; }

.phone-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.phone-block svg { stroke: #0d9488; flex-shrink: 0; }
.phone-block a { color: #0f172a; text-decoration: none; font-weight: 600; }
.phone-block a:hover { color: #0d9488; }

.map-placeholder {
  background: #f1f5f9;
  border-radius: 12px;
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: 1px solid #e2e8f0;
  color: #94a3b8;
  font-size: 0.85rem;
  text-align: center;
  padding: 2rem;
}

.map-placeholder svg { stroke: #cbd5e1; width: 40px; height: 40px; }

/* ══════════════════════════════════════════════════
   SERVICES PAGE — FULL LIST
══════════════════════════════════════════════════ */
.services-list {
  max-width: 900px;
  margin: 3rem auto 0;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.service-row:first-child { border-top: 1px solid #f1f5f9; }

.service-row-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.service-row-title h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.service-row p {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

.service-price-tag {
  font-size: 1rem;
  font-weight: 700;
  color: #0d9488;
  white-space: nowrap;
  padding: 0.4rem 1rem;
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  border-radius: 8px;
}

/* ══════════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════════ */
.faq-section {
  padding: 5rem 2rem;
  background: #f8fafc;
}

.faq-list {
  max-width: 720px;
  margin: 2.5rem auto 0;
}

details.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 0.875rem;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

details.faq-item[open] {
  box-shadow: 0 4px 15px rgba(15,23,42,0.06);
}

details.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #0f172a;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

details.faq-item summary::-webkit-details-marker { display: none; }

details.faq-item summary::after {
  content: '';
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

details.faq-item[open] summary::after { transform: rotate(180deg); }

details.faq-item .faq-answer {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.75;
}

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
.site-footer {
  background: #0f172a;
  color: rgba(255,255,255,0.7);
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.footer-brand .site-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 1rem;
  text-decoration: none;
}

.footer-brand .site-name span { color: #5eead4; }

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin: 0 0 1.5rem;
}

.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin: 0 0 1.25rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-col ul li a:hover { color: #5eead4; }

.footer-col address {
  font-style: normal;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.footer-col address a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  display: block;
  margin-top: 0.5rem;
}

.footer-col address a:hover { color: #5eead4; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
}

.footer-bottom a:hover { color: #5eead4; }

/* ══════════════════════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════════════════════ */
.page-hero-inner {
  background: linear-gradient(135deg, #0f172a 0%, #134e4a 100%);
  padding: 5rem 2rem 4rem;
  text-align: center;
}

.page-hero-inner .eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #99f6e4;
  background: rgba(13,148,136,0.2);
  border: 1px solid rgba(13,148,136,0.3);
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.page-hero-inner h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

.page-hero-inner p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 300;
}

/* ══════════════════════════════════════════════════
   CTA BANNER
══════════════════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  padding: 4rem 2rem;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.0625rem;
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.65;
  font-weight: 300;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  color: #0d9488 !important;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — TABLET
══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hours-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .header-inner { padding: 0 1.25rem; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .clearcare-form { padding: 1.75rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .service-row { grid-template-columns: 1fr; gap: 0.75rem; }
  .service-price-tag { display: inline-block; }
  .hero-stats { gap: 1.5rem; }
  .why-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .clearcare-hero h1 { font-size: 2.25rem; }
}

/* ══════════════════════════════════════════════════
   ADMIN BAR COMPENSATION
══════════════════════════════════════════════════ */
.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

/* ══════════════════════════════════════════════════
   REDUCED MOTION
══════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ══════════════════════════════════════════════════
   FOCUS STATES (WCAG)
══════════════════════════════════════════════════ */
:focus-visible {
  outline: 3px solid #0d9488;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ══════════════════════════════════════════════════
   SKIP LINK
══════════════════════════════════════════════════ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: #0d9488;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  z-index: 9999;
  transition: top 0.15s ease;
}

.skip-link:focus { top: 0; }

/* ══════════════════════════════════════════════════
   WP BLOCK OVERRIDES
══════════════════════════════════════════════════ */
.wp-block-group.is-layout-constrained > *:not(.alignwide):not(.alignfull) {
  max-width: var(--wp--style--global--content-size);
  margin-inline: auto;
}

.wp-block-buttons .wp-block-button__link {
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.wp-block-buttons .wp-block-button__link:hover {
  transform: translateY(-1px);
}

.wp-site-blocks {
  padding: 0 !important;
}
