/*
Theme Name: Duncanville Massage
Theme URI: https://stoneraymassage.com
Author: Jon Ray
Author URI: https://whoisjonray.com
Description: Heart-centered massage therapy theme for Duncanville Massage by Sherry Stone Ray, LMT. Custom-built WordPress theme with mobile-first responsive design, sticky header, floating call button, and LocalBusiness schema markup.
Version: 1.0.0
Requires at least: 5.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: duncanville-massage
Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
*/

/* ============================================
   Duncanville Massage - WordPress Theme 2026
   Color Palette: Blue (modernized from original)
   ============================================ */

/* --- CSS Variables --- */
:root {
  --blue-light: #67b5df;
  --blue-medium: #166599;
  --blue-dark: #00406a;
  --blue-pale: #e8f4fb;
  --blue-gradient: linear-gradient(135deg, #67b5df 0%, #166599 100%);
  --cta-orange: #e8943a;
  --cta-orange-hover: #d17e28;
  --cta-orange-gradient: linear-gradient(135deg, #f0a030 0%, #e8943a 100%);
  --text-dark: #2c3e50;
  --text-body: #4a5568;
  --text-light: #718096;
  --bg-white: #ffffff;
  --bg-cream: #fafcfe;
  --bg-light: #f0f7fc;
  --border-light: #dce8f0;
  --shadow-sm: 0 2px 8px rgba(0, 64, 106, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 64, 106, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 64, 106, 0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --font-heading: 'Merriweather', Georgia, serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
  --container: 1200px;
  --header-height: 80px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-medium); text-decoration: none; transition: color 0.25s; }
a:hover { color: var(--blue-dark); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }

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

/* --- Utility --- */
.text-center { text-align: center; }
.text-blue { color: var(--blue-medium); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* --- Top Bar --- */
.top-bar {
  background: var(--blue-dark);
  color: #fff;
  font-size: 14px;
  padding: 8px 0;
  text-align: center;
}
.top-bar a {
  color: #fff;
  font-weight: 600;
}
.top-bar .address {
  opacity: 0.85;
  margin-right: 24px;
}

/* --- Header / Navigation --- */
.site-header {
  background: var(--bg-white);
  border-bottom: 3px solid var(--blue-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo img {
  height: 50px;
  width: auto;
}
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--blue-medium);
  font-weight: 700;
  line-height: 1.2;
}
.logo-text small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 400;
  font-family: var(--font-body);
}

/* WordPress nav menu compatibility */
.nav-menu,
.menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-menu a,
.menu a {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: all 0.25s;
}
.nav-menu a:hover,
.nav-menu a.active,
.nav-menu .current-menu-item > a,
.menu a:hover,
.menu a.active,
.menu .current-menu-item > a {
  color: var(--blue-medium);
  background: var(--blue-pale);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-phone {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-dark);
  white-space: nowrap;
}
.header-phone svg {
  width: 18px;
  height: 18px;
  vertical-align: -2px;
  margin-right: 4px;
  fill: var(--blue-medium);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  margin: 6px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary {
  background: var(--cta-orange-gradient);
  color: #fff;
  box-shadow: 0 4px 16px rgba(232, 148, 58, 0.35);
}
.btn-primary:hover {
  background: var(--cta-orange-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232, 148, 58, 0.45);
}

.btn-secondary {
  background: var(--blue-gradient);
  color: #fff;
  box-shadow: 0 4px 16px rgba(22, 101, 153, 0.3);
}
.btn-secondary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(22, 101, 153, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--blue-medium);
  border: 2px solid var(--blue-medium);
}
.btn-outline:hover {
  background: var(--blue-medium);
  color: #fff;
}

.btn-sm { padding: 10px 24px; font-size: 14px; }
.btn-lg { padding: 18px 40px; font-size: 18px; }

.btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  background: var(--blue-gradient);
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://stoneraymassage.com/wp-content/uploads/2015/02/spa-massage-header-dark.jpg') center/cover;
  opacity: 0.15;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
}
.hero-content { color: #fff; }
.hero-content h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-bottom: 16px;
}
.hero-content .subtitle {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 8px;
  font-weight: 500;
}
.hero-content .address-line {
  font-size: 0.95rem;
  opacity: 0.8;
  margin-bottom: 24px;
}
.hero-content .address-line svg {
  width: 16px;
  height: 16px;
  vertical-align: -2px;
  margin-right: 4px;
  fill: currentColor;
}
.hero-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
}
.hero-badge .check {
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-badge .check svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}
.hero-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.hero-image::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 50%;
}

/* --- Section Styles --- */
.section {
  padding: 80px 0;
}
.section-alt {
  background: var(--bg-light);
}
.section-blue {
  background: var(--blue-gradient);
  color: #fff;
}
.section-blue h2,
.section-blue h3 {
  color: #fff;
}
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}
.section-header h2 {
  margin-bottom: 12px;
}
.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
}
.section-header .divider {
  width: 60px;
  height: 3px;
  background: var(--cta-orange);
  border-radius: 3px;
  margin: 16px auto 0;
}

/* --- Benefits Grid --- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.benefit-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.benefit-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: var(--blue-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.benefit-card:hover .benefit-icon {
  background: var(--blue-light);
}
.benefit-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.benefit-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* --- About Preview --- */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image-wrapper {
  position: relative;
}
.about-image-wrapper img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-image-wrapper::before {
  content: '';
  position: absolute;
  top: 20px;
  left: -20px;
  right: 20px;
  bottom: -20px;
  border: 3px solid var(--blue-light);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.about-content blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--blue-medium);
  border-left: 4px solid var(--cta-orange);
  padding-left: 20px;
  margin: 0 0 20px;
}
.about-content blockquote cite {
  display: block;
  font-size: 0.85rem;
  font-style: normal;
  color: var(--text-light);
  margin-top: 8px;
}
.techniques-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.techniques-list span {
  background: var(--blue-pale);
  color: var(--blue-medium);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
}

/* --- Pricing Cards --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pricing-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  text-align: center;
  border: 2px solid var(--border-light);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pricing-card.featured {
  border-color: var(--blue-light);
  position: relative;
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--cta-orange);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px;
}
.pricing-header {
  background: var(--blue-gradient);
  color: #fff;
  padding: 32px 20px 24px;
}
.pricing-card.featured .pricing-header {
  padding-top: 44px;
}
.pricing-header h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.pricing-header .duration {
  opacity: 0.8;
  font-size: 0.85rem;
}
.price {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--blue-dark);
  padding: 24px 20px 8px;
}
.price sup {
  font-size: 1.5rem;
  vertical-align: super;
}
.pricing-body {
  padding: 12px 24px 28px;
}
.pricing-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

/* --- Services List --- */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--border-light);
}
.service-block:nth-child(even) {
  direction: rtl;
}
.service-block:nth-child(even) > * {
  direction: ltr;
}
.service-block:last-child {
  border-bottom: none;
}
.service-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.service-content h2 {
  margin-bottom: 12px;
}
.service-content .service-desc {
  margin-bottom: 20px;
}
.service-pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.service-pricing-table th {
  text-align: left;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  padding: 8px 0;
  border-bottom: 2px solid var(--border-light);
}
.service-pricing-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
}
.service-pricing-table td:last-child {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--blue-dark);
  font-size: 1.1rem;
}
.special-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff7ed;
  color: var(--cta-orange);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid #fed7aa;
}

/* --- Testimonial --- */
.testimonial-section {
  background: var(--blue-pale);
  padding: 80px 0;
}
.testimonial-card {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-card blockquote {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 20px;
  position: relative;
}
.testimonial-card blockquote::before {
  content: '\201C';
  font-size: 5rem;
  color: var(--blue-light);
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
  font-family: var(--font-heading);
}
.testimonial-author {
  font-weight: 600;
  color: var(--text-dark);
}

/* --- CTA Banner --- */
.cta-banner {
  background: var(--blue-gradient);
  padding: 60px 0;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.cta-banner h2 {
  color: #fff;
  margin-bottom: 12px;
  position: relative;
}
.cta-banner p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 28px;
  position: relative;
}
.cta-banner .btn { position: relative; }
.cta-phone {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  display: block;
  margin-top: 16px;
  position: relative;
}

/* --- Blog Cards --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}
.blog-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  border: 1px solid var(--border-light);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.blog-card-image {
  height: 200px;
  background: var(--blue-pale);
  overflow: hidden;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card-body {
  padding: 24px;
}
.blog-card-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.blog-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.blog-card h3 a {
  color: var(--text-dark);
}
.blog-card h3 a:hover {
  color: var(--blue-medium);
}
.blog-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 16px;
}
.read-more {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue-medium);
}
.read-more:hover {
  color: var(--blue-dark);
}

/* --- Blog Post / Article --- */
.article-header {
  background: var(--blue-gradient);
  padding: 60px 0;
  color: #fff;
  text-align: center;
}
.article-header h1 {
  color: #fff;
  max-width: 800px;
  margin: 0 auto 12px;
}
.article-meta {
  font-size: 0.9rem;
  opacity: 0.8;
}
.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px;
}
.article-body h2 {
  margin-top: 40px;
  margin-bottom: 16px;
}
.article-body h3 {
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--blue-medium);
}
.article-body ol,
.article-body ul {
  margin-bottom: 20px;
  padding-left: 24px;
}
.article-body li {
  margin-bottom: 8px;
}
.article-body blockquote {
  border-left: 4px solid var(--blue-light);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--blue-pale);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info-card {
  background: var(--bg-white);
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 24px;
}
.contact-info-card h3 {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-info-card svg {
  width: 24px;
  height: 24px;
  fill: var(--blue-medium);
}
.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--text-dark);
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 16px;
  margin-bottom: 20px;
  transition: border-color 0.25s;
  background: var(--bg-white);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(103, 181, 223, 0.15);
}
.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}
.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
}
.map-embed iframe {
  width: 100%;
  height: 300px;
  border: none;
}

/* --- About Page --- */
.about-hero {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  align-items: start;
}
.about-photo {
  position: sticky;
  top: 120px;
}
.about-photo img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}
.modalities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.modality-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: all 0.25s;
}
.modality-tag:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--blue-medium);
}
.modality-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--blue-light);
  border-radius: 50%;
  flex-shrink: 0;
}

/* --- Footer --- */
.site-footer {
  background: var(--blue-dark);
  color: #fff;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-text {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.footer-brand .logo-text small {
  color: rgba(255,255,255,0.6);
}
.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  font-family: var(--font-body);
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color 0.25s;
}
.footer-col a:hover {
  color: #fff;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}
.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--blue-light);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* --- Floating Call Button (Mobile) --- */
.floating-call {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: var(--cta-orange-gradient);
  border-radius: 50%;
  color: #fff;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(232, 148, 58, 0.5);
  z-index: 999;
  animation: pulse 2s infinite;
}
.floating-call svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(232, 148, 58, 0.5); }
  50% { box-shadow: 0 4px 30px rgba(232, 148, 58, 0.8); }
}

/* --- Page Header (interior pages) --- */
.page-header {
  background: var(--blue-gradient);
  padding: 50px 0;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://stoneraymassage.com/wp-content/uploads/2015/02/spa-massage-header-dark.jpg') center/cover;
  opacity: 0.1;
}
.page-header h1 {
  color: #fff;
  position: relative;
  margin-bottom: 8px;
}
.page-header p {
  position: relative;
  opacity: 0.85;
  font-size: 1.1rem;
}
.breadcrumb {
  position: relative;
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 12px;
}
.breadcrumb a { color: #fff; }

/* --- WordPress Pagination --- */
.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.nav-links .page-numbers {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  color: var(--text-dark);
  font-weight: 600;
}
.nav-links .page-numbers.current {
  background: var(--blue-medium);
  color: #fff;
}

/* --- WordPress specific overrides --- */
.wp-block-image img {
  border-radius: var(--radius-md);
}
.aligncenter {
  display: block;
  margin: 0 auto;
}
.alignleft {
  float: left;
  margin: 0 20px 20px 0;
}
.alignright {
  float: right;
  margin: 0 0 20px 20px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { display: none; }
  .about-preview { grid-template-columns: 1fr; gap: 40px; }
  .about-hero { grid-template-columns: 1fr; }
  .about-photo { position: static; max-width: 400px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; gap: 30px; }
  .service-block:nth-child(even) { direction: ltr; }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; }

  .top-bar .address { display: none; }

  .nav-menu,
  .menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    z-index: 999;
    overflow-y: auto;
    border-top: 3px solid var(--blue-light);
  }
  .nav-menu.open,
  .menu.open { display: flex; }
  .nav-menu a,
  .menu a {
    padding: 16px;
    font-size: 18px;
    border-bottom: 1px solid var(--border-light);
  }
  .menu-toggle { display: block; }
  .header-phone { display: none; }

  .section { padding: 50px 0; }
  .benefits-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .blog-grid { grid-template-columns: 1fr; }

  .floating-call { display: flex; }

  .hero { min-height: 440px; }
  .hero-inner { padding: 50px 0; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger > .fade-in:nth-child(1) { transition-delay: 0s; }
.stagger > .fade-in:nth-child(2) { transition-delay: 0.1s; }
.stagger > .fade-in:nth-child(3) { transition-delay: 0.2s; }
.stagger > .fade-in:nth-child(4) { transition-delay: 0.3s; }
.stagger > .fade-in:nth-child(5) { transition-delay: 0.4s; }
.stagger > .fade-in:nth-child(6) { transition-delay: 0.5s; }

/* --- Schema / Print --- */
@media print {
  .site-header, .floating-call, .cta-banner { display: none; }
  body { font-size: 12pt; color: #000; }
}
