/*
Theme Name: DN Hospitality
Theme URI: https://dnhospitality.ca
Author: DN Hospitality
Author URI: https://dnhospitality.ca
Description: A custom WordPress theme for DN Hospitality — healthcare hospitality consulting firm specializing in long-term care, acute care, and retirement communities across Canada.
Version: 2.0.2
Requires at least: 6.0
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
Text Domain: dn-hospitality
*/

/* ==========================================================================
   CSS Custom Properties (Design System)
   ========================================================================== */

:root {
  --primary: #E89133;
  --primary-foreground: #ffffff;
  --foreground: #4A4A4C;
  --muted-foreground: #6B6B6D;
  --secondary: #f5f7fa;
  --accent: #fff5eb;
  --accent-foreground: #E89133;
  --background: #ffffff;
  --border: rgba(0, 0, 0, 0.1);
  --input-background: #f3f3f5;
  --radius: 0.625rem;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: var(--font-weight-normal);
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-medium);
  line-height: 1.3;
  color: var(--foreground);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Layout Utilities
   ========================================================================== */

.container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: start;
}

.items-stretch {
  align-items: stretch;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

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

.flex-1 { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }

.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-md { max-width: 28rem; }

.mx-auto { margin-left: auto; margin-right: auto; }

.w-full { width: 100%; }

.relative { position: relative; }
.absolute { position: absolute; }

.overflow-hidden { overflow: hidden; }

.rounded-lg { border-radius: var(--radius); }
.rounded-full { border-radius: 9999px; }
.rounded-md { border-radius: calc(var(--radius) - 2px); }
.rounded-xl { border-radius: calc(var(--radius) + 4px); }

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   Section Spacing
   ========================================================================== */

.section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.section-sm {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

/* ==========================================================================
   Background & Text Colors
   ========================================================================== */

.bg-white { background-color: #ffffff; }
.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.bg-muted { background-color: var(--secondary); }
.bg-accent { background-color: var(--accent); }

.text-white { color: #ffffff; }
.text-primary { color: var(--primary); }
.text-foreground { color: var(--foreground); }
.text-muted-foreground { color: var(--muted-foreground); }
.text-primary-foreground { color: var(--primary-foreground); }
.text-accent-foreground { color: var(--accent-foreground); }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5rem;
}

.site-logo img {
  height: 3rem;
  width: auto;
}

/* Desktop Nav */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

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

.nav-desktop a:not(.nav-cta),
.nav-desktop .nav-dropdown-trigger {
  padding: 0.5rem 0.75rem;
  border-radius: calc(var(--radius) - 2px);
  transition: color 0.2s, background-color 0.2s;
  color: var(--foreground);
  font-weight: var(--font-weight-medium);
  font-size: 1rem;
  cursor: pointer;
  background: none;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-desktop a:not(.nav-cta):hover,
.nav-desktop .nav-dropdown-trigger:hover,
.nav-desktop a:not(.nav-cta).active,
.nav-desktop .nav-dropdown-trigger.active {
  color: var(--primary);
  background-color: var(--accent);
}

.nav-desktop .menu-cta a,
.nav-desktop a.nav-cta,
.nav-cta {
  margin-left: 1rem;
  padding: 0.5rem 1.5rem;
  background-color: #E89133 !important;
  color: #ffffff !important;
  border: 1px solid #E89133 !important;
  border-radius: calc(var(--radius) - 2px);
  font-weight: 500;
  font-size: 0.875rem;
  transition: opacity 0.2s;
}

.nav-desktop .menu-cta a:hover,
.nav-desktop a.nav-cta:hover,
.nav-cta:hover {
  opacity: 0.92;
  background-color: #cf7d25 !important;
  border-color: #cf7d25 !important;
  color: #ffffff !important;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.25rem;
  width: 13rem;
  background-color: #ffffff;
  border-radius: var(--radius);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
  overflow: hidden;
  z-index: 50;
  display: none;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--foreground);
  transition: color 0.2s, background-color 0.2s;
}

.nav-dropdown-menu a:hover {
  background-color: var(--accent);
  color: var(--primary);
}

.nav-dropdown-menu .dropdown-icon {
  color: var(--primary);
  flex-shrink: 0;
}

.nav-dropdown-menu .dropdown-sublabel {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Chevron icon */
.chevron-down {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s;
}

.nav-dropdown:hover .chevron-down {
  transform: rotate(180deg);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: block;
  padding: 0.5rem;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  border-radius: calc(var(--radius) - 2px);
}

.nav-toggle:hover {
  background-color: var(--accent);
}

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

.nav-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Mobile Nav */
.nav-mobile {
  display: none;
  padding: 1rem 0;
}

.nav-mobile.open {
  display: block;
}

@media (min-width: 768px) {
  .nav-mobile,
  .nav-mobile.open {
    display: none;
  }
}

.nav-mobile a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: calc(var(--radius) - 2px);
  color: var(--foreground);
  transition: color 0.2s, background-color 0.2s;
  font-weight: var(--font-weight-medium);
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--primary);
  background-color: var(--accent);
}

.nav-mobile .mobile-dropdown-toggle {
  background: none;
  border: none;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  color: var(--foreground);
  border-radius: calc(var(--radius) - 2px);
}

.nav-mobile .mobile-dropdown-toggle:hover {
  background-color: var(--accent);
  color: var(--primary);
}

.nav-mobile .mobile-sub-menu {
  margin-left: 1rem;
  margin-top: 0.25rem;
  border-left: 2px solid var(--accent);
  padding-left: 0.75rem;
  display: none;
}

.nav-mobile .mobile-sub-menu.open {
  display: block;
}

.nav-mobile .mobile-sub-menu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
}

.nav-mobile .mobile-cta {
  display: block;
  padding: 0.5rem 0.75rem;
  background-color: #E89133;
  color: #ffffff;
  border: 1px solid #E89133;
  border-radius: calc(var(--radius) - 2px);
  text-align: center;
  margin-top: 0.5rem;
  transition: opacity 0.2s;
}

.nav-mobile .mobile-cta:hover {
  opacity: 0.92;
  background-color: #cf7d25;
  border-color: #cf7d25;
}

/* WordPress menu classes */
.nav-desktop .menu-item {
  list-style: none;
}

.nav-mobile .menu-item {
  list-style: none;
}

.nav-desktop .menu-item a {
  padding: 0.5rem 0.75rem;
  border-radius: calc(var(--radius) - 2px);
  transition: color 0.2s, background-color 0.2s;
  color: var(--foreground);
  font-weight: var(--font-weight-medium);
}

.nav-desktop .menu-item a:hover,
.nav-desktop .current-menu-item > a,
.nav-desktop .current-menu-ancestor > a {
  color: var(--primary);
  background-color: var(--accent);
}

.nav-desktop .menu-item-has-children {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.nav-desktop .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 0.375rem;
  vertical-align: middle;
  margin-bottom: 0.125rem;
  transition: transform 0.2s;
}

.nav-desktop .menu-item-has-children:hover > a::after {
  transform: rotate(-135deg);
}

.nav-desktop .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 0.25rem;
  min-width: 13rem;
  background-color: #ffffff;
  border-radius: var(--radius);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
  overflow: hidden;
  z-index: 50;
  display: none;
  list-style: none;
  padding: 0.25rem 0;
}

.nav-desktop .menu-item-has-children:hover > .sub-menu {
  display: block;
}

.nav-desktop .sub-menu .menu-item a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0;
}

.nav-desktop .sub-menu .menu-item a:hover {
  background-color: var(--accent);
  color: var(--primary);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-section h3,
.footer-section h4 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-section h3 {
  font-size: 1.25rem;
}

.footer-section h4 {
  font-size: 1.125rem;
}

.footer-section p,
.footer-section li,
.footer-section span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li + li {
  margin-top: 0.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  padding-top: 0.5rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  padding-bottom: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   Hero Banner
   ========================================================================== */

.hero-banner {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 4rem 0 5rem;
}

@media (min-width: 768px) {
  .hero-banner {
    padding: 5rem 0 5rem;
  }
}

.hero-banner h1 {
  color: var(--primary-foreground);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero-banner h1 {
    font-size: 3rem;
  }
}

.hero-banner p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Home Hero (image bg) */
.hero-home {
  position: relative;
  height: 600px;
  background-color: #111827;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-home {
    height: 700px;
  }
}

.hero-home-bg {
  position: absolute;
  inset: 0;
}

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

.hero-home-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.75), rgba(0,0,0,0.6), rgba(0,0,0,0.4));
}

.hero-home-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-home-logo {
  display: none;
}

@media (min-width: 1024px) {
  .hero-home-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }

  .hero-home-logo img {
    width: 180px;
    height: auto;
  }

  .hero-home-content.has-logo .hero-home-text {
    margin-left: 0;
  }
}

.hero-home-text {
  max-width: 48rem;
  color: #ffffff;
}

@media (min-width: 1024px) {
  .hero-home-text {
    margin-left: auto;
  }
}

.hero-home-text h1 {
  color: #ffffff;
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-home-text h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-home-text h1 {
    font-size: 3.75rem;
  }
}

.hero-home-text p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .hero-home-text p {
    font-size: 1.5rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: calc(var(--radius) - 2px);
  font-weight: var(--font-weight-medium);
  font-size: 1rem;
  line-height: 1.5;
  transition: opacity 0.2s, background-color 0.2s, color 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  gap: 0.5rem;
}

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

.btn-primary:hover {
  opacity: 0.9;
}

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

.btn-white:hover {
  opacity: 0.9;
}

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

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

.btn-ghost {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn svg,
.btn .btn-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
  background-color: #ffffff;
  border-radius: var(--radius);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.card-body {
  padding: 1.5rem;
}

.card-img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

/* Blog/Content Card */
.content-card .card-gradient {
  height: 12rem;
  background: linear-gradient(135deg, rgba(232, 145, 51, 0.2), rgba(245, 247, 250, 0.2));
}

.content-card .card-accent-bar {
  height: 0.125rem;
  background: linear-gradient(to right, rgba(232, 145, 51, 0.6), var(--primary));
}

.content-card .card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.content-card .card-meta svg {
  width: 0.875rem;
  height: 0.875rem;
  margin-right: 0.25rem;
}

.content-card .card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.5rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--primary);
  font-size: 0.875rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.card-link:hover {
  text-decoration: underline;
}

/* Featured blog card */
.featured-card .card-gradient {
  height: 14rem;
  background: linear-gradient(135deg, var(--primary), #c4731f);
  position: relative;
  overflow: hidden;
}

.featured-card .card-gradient .card-tags {
  position: absolute;
  bottom: 1.25rem;
  left: 1.5rem;
  right: 1.5rem;
}

.featured-card .card-gradient .tag {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Video Card */
.video-card {
  cursor: pointer;
}

.video-card .card-thumbnail {
  position: relative;
  height: 13rem;
  overflow: hidden;
}

.video-card .card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.video-card:hover .card-thumbnail img {
  transform: scale(1.05);
}

.video-card .card-thumbnail .video-gradient {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--foreground));
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-card .card-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s;
}

.video-card:hover .card-overlay {
  background-color: rgba(0, 0, 0, 0.2);
}

.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-btn .play-circle {
  width: 4rem;
  height: 4rem;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.video-card:hover .play-circle {
  transform: scale(1.1);
}

.video-play-btn svg {
  color: var(--primary);
  margin-left: 0.25rem;
}

.video-source-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  color: #ffffff;
}

.video-source-badge.youtube { background-color: #dc2626; }
.video-source-badge.drive { background-color: #2563eb; }

/* Testimonial Card */
.testimonial-card {
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.testimonial-card .quote-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--accent);
  opacity: 0.6;
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.testimonial-stars svg {
  color: var(--primary);
  fill: var(--primary);
}

.testimonial-quote {
  font-style: italic;
  line-height: 1.7;
  color: var(--foreground);
  flex: 1;
}

.testimonial-attribution {
  padding-top: 1.25rem;
  margin-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.testimonial-attribution .facility-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: rgba(232, 145, 51, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-attribution .facility-icon svg {
  color: var(--primary);
}

.testimonial-facility {
  color: var(--primary);
  font-weight: var(--font-weight-medium);
}

/* ==========================================================================
   Tags / Badges
   ========================================================================== */

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background-color: var(--accent);
  color: var(--accent-foreground);
  border-radius: 9999px;
  font-size: 0.875rem;
}

.tag svg {
  width: 0.875rem;
  height: 0.875rem;
  margin-right: 0.25rem;
}

.tag-sm {
  font-size: 0.75rem;
  padding: 0.125rem 0.625rem;
}

/* ==========================================================================
   Stats Section
   ========================================================================== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-number {
  font-size: 2.5rem;
  color: var(--primary);
  font-weight: var(--font-weight-medium);
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .stat-number {
    font-size: 3rem;
  }
}

.stat-label {
  color: var(--muted-foreground);
}

/* ==========================================================================
   Value Proposition / Icon Blocks
   ========================================================================== */

.icon-block {
  text-align: center;
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background-color: var(--accent);
  color: var(--primary);
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.icon-circle svg {
  width: 2rem;
  height: 2rem;
}

.icon-square {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: var(--accent);
  color: var(--primary);
  border-radius: var(--radius);
  flex-shrink: 0;
}

.icon-square svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* ==========================================================================
   Services Section (alternating layout)
   ========================================================================== */

.service-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .service-block {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-block .service-img img {
  border-radius: var(--radius);
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.service-block .service-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-block .service-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.service-block .service-header h2 {
  font-size: 1.5rem;
}

@media (min-width: 768px) {
  .service-block .service-header h2 {
    font-size: 1.875rem;
  }
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0;
}

.service-features .bullet {
  width: 0.375rem;
  height: 0.375rem;
  background-color: var(--secondary);
  border-radius: 9999px;
  flex-shrink: 0;
}

/* Reverse layout for alternating rows */
@media (min-width: 768px) {
  .service-block.reverse .service-img {
    order: -1;
  }
}

/* ==========================================================================
   Timeline / Roadmap
   ========================================================================== */

.timeline {
  position: relative;
  max-width: 64rem;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 0.25rem;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--primary));
}

@media (max-width: 767px) {
  .timeline::before {
    left: 1rem;
  }
}

.timeline-item {
  position: relative;
  padding: 0 0 6rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2rem;
  height: 2rem;
  background-color: var(--primary);
  border-radius: 9999px;
  border: 4px solid #ffffff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

@media (max-width: 767px) {
  .timeline-dot {
    left: 1rem;
  }
}

.timeline-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .timeline-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .timeline-text {
    padding-left: 3rem;
  }

  .timeline-image {
    padding-left: 3rem;
  }
}

.timeline-year {
  display: inline-block;
  padding: 0.25rem 1rem;
  background-color: rgba(232, 145, 51, 0.1);
  color: var(--primary);
  border-radius: 9999px;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.timeline-text h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.timeline-company {
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.timeline-location {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.timeline-description {
  background-color: rgba(255, 245, 235, 0.3);
  border-radius: var(--radius);
  padding: 1rem;
  border-left: 4px solid var(--primary);
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(74, 74, 76, 0.9);
}

.timeline-image img {
  border-radius: var(--radius);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.timeline-image.is-logo {
  background: #ffffff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-image.is-logo img {
  max-height: 8rem;
  width: auto;
  box-shadow: none;
}

@media (min-width: 768px) {
  .timeline-item:nth-child(even) .timeline-text {
    text-align: right;
    padding-right: 4rem;
  }

  .timeline-item:nth-child(even) .timeline-image {
    padding-left: 4rem;
  }

  .timeline-item:nth-child(odd) .timeline-text {
    padding-left: 4rem;
    order: 2;
  }

  .timeline-item:nth-child(odd) .timeline-image {
    padding-right: 4rem;
    order: 1;
  }
}

/* ==========================================================================
   Membership Logos Grid
   ========================================================================== */

.logo-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-card img {
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   Mission / Vision Cards
   ========================================================================== */

.mission-card {
  border-radius: var(--radius);
  padding: 2rem;
}

.mission-card h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .mission-card h2 {
    font-size: 1.875rem;
  }
}

.mission-card p {
  font-size: 1.125rem;
  line-height: 1.7;
}

/* ==========================================================================
   Numbered Steps
   ========================================================================== */

.step-number {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  background-color: var(--secondary);
  color: var(--foreground);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-medium);
}

.step-number-lg {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-weight: var(--font-weight-medium);
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: var(--foreground);
  font-weight: var(--font-weight-medium);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--input-background);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--foreground);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232, 145, 51, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 8rem;
}

.form-card {
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

/* Contact info blocks */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background-color: var(--accent);
  color: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--accent);
  color: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, color 0.2s;
}

.social-link:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 1.875rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .cta-section h2 {
    font-size: 2.5rem;
  }
}

.cta-section p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

/* Orange CTA with white text */
.cta-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.cta-primary h2 {
  color: var(--primary-foreground);
}

.cta-primary p {
  color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   Consultation Card
   ========================================================================== */

.consultation-card {
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.consultation-expect {
  background-color: var(--accent);
  padding: 2rem;
}

@media (min-width: 768px) {
  .consultation-expect {
    padding: 3rem;
  }
}

.consultation-contact {
  padding: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .consultation-contact {
    padding: 3rem;
  }
}

.phone-card {
  max-width: 28rem;
  margin: 0 auto;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.phone-card .phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  margin-bottom: 0.5rem;
}

.phone-card .phone-number {
  font-size: 1.875rem;
  color: #ffffff;
  text-decoration: none;
}

.phone-card .phone-number:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .phone-card .phone-number {
    font-size: 2.25rem;
  }
}

/* ==========================================================================
   Video Modal
   ========================================================================== */

.video-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 1rem;
}

.video-modal {
  position: relative;
  width: 100%;
  max-width: 56rem;
  background-color: #000;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.video-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10;
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.video-modal-close:hover {
  background-color: rgba(0, 0, 0, 0.9);
}

.video-modal .aspect-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
}

.video-modal .aspect-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-modal-info {
  padding: 1rem;
  background-color: #1a1a1a;
}

.video-modal-info h3 {
  color: #ffffff;
  font-size: 1.125rem;
}

.video-modal-info p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* ==========================================================================
   Audio Player
   ========================================================================== */

.audio-section .audio-card {
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 48rem;
  margin: 0 auto;
}

.audio-section .audio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .audio-section .audio-grid {
    grid-template-columns: 200px 1fr;
  }
}

.audio-section .audio-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.audio-player-wrap {
  background-color: var(--secondary);
  border-radius: var(--radius);
  padding: 1rem;
}

.audio-player-wrap audio {
  width: 100%;
  height: 40px;
}

/* ==========================================================================
   WordPress Core Styles
   ========================================================================== */

.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* ==========================================================================
   Blog Single
   ========================================================================== */

.single-post-content {
  max-width: 48rem;
  margin: 0 auto;
}

.single-post-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.single-post-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.single-post-content p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.single-post-content ul,
.single-post-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  list-style: disc;
}

.single-post-content ol {
  list-style: decimal;
}

.single-post-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.single-post-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background-color: var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.single-post-content blockquote p {
  margin-bottom: 0;
}

.single-post-content img {
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: calc(var(--radius) - 2px);
  font-weight: var(--font-weight-medium);
  transition: background-color 0.2s, color 0.2s;
}

.pagination a:hover {
  background-color: var(--accent);
  color: var(--primary);
}

.pagination .current {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

/* ==========================================================================
   404 Page
   ========================================================================== */

.error-404 {
  text-align: center;
  padding: 6rem 1rem;
}

.error-404 h1 {
  font-size: 6rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.error-404 h2 {
  margin-bottom: 1rem;
}

.error-404 p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

/* ==========================================================================
   Utility: hidden on mobile/desktop
   ========================================================================== */

.hidden { display: none; }

@media (min-width: 768px) {
  .md-show { display: block; }
  .md-flex { display: flex; }
  .md-grid { display: grid; }
  .md-hidden { display: none; }
}

@media (max-width: 767px) {
  .mobile-hidden { display: none; }
}

/* Text link */
.text-link {
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: text-decoration 0.2s;
}

.text-link:hover {
  text-decoration: underline;
}

/* Checklist */
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.25rem 0;
}

.checklist li svg {
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

/* Border top divider */
.border-top {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  margin-top: 2rem;
}

/* ==========================================================================
   Form messages
   ========================================================================== */

.form-message {
  padding: 1rem;
  border-radius: calc(var(--radius) - 2px);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.form-message.success {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-message.error {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ==========================================================================
   SVG Icons (inline)
   ========================================================================== */

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sm { width: 1rem; height: 1rem; }
.icon-md { width: 1.25rem; height: 1.25rem; }
.icon-lg { width: 1.5rem; height: 1.5rem; }
.icon-xl { width: 2rem; height: 2rem; }
.icon-2xl { width: 2.5rem; height: 2.5rem; }
