/*
Theme Name: Canine Clinic
Theme URI: https://canineclinic.com
Author: Canine Clinic
Author URI: https://canineclinic.com
Description: Bilingual (EN/AR) dental clinic WordPress theme with booking calendar, RTL support, and modern design. Migrated from React/Vite.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: canine-clinic
Tags: dental, clinic, rtl-language-support, translation-ready, custom-colors

Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Teal/Emerald palette */
  --color-primary-50:  #f0fdfa;
  --color-primary-100: #ccfbf1;
  --color-primary-200: #99f6e4;
  --color-primary-300: #5eead4;
  --color-primary-400: #2dd4bf;
  --color-primary-500: #14b8a6;
  --color-primary-600: #0d9488;
  --color-primary-700: #0f766e;
  --color-primary-800: #115e59;
  --color-primary-900: #134e4a;

  --color-accent-gold:  #f59e0b;
  --color-accent-coral: #fb7185;
  --color-accent-navy:  #1e3a5f;

  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Poppins', sans-serif;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: #111827;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ============================================================
   RTL SUPPORT
   ============================================================ */
body.rtl,
html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
  font-family: 'Cairo', var(--font-sans), sans-serif;
}

html[dir="rtl"] .font-display {
  font-family: 'Cairo', var(--font-display), sans-serif;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: #0f172a;
}

.section-subtitle {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary-600);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.grid-2 { display: grid; gap: 2rem; }
.grid-3 { display: grid; gap: 2rem; }
.grid-4 { display: grid; gap: 2rem; }

@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); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  background: var(--color-primary-600);
  color: #fff;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.btn-primary:hover {
  background: var(--color-primary-700);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(13,148,136,0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary-600);
  border: 2px solid var(--color-primary-600);
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1rem;
}
.btn-secondary:hover {
  background: var(--color-primary-600);
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--color-primary-700);
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.btn-white:hover {
  background: var(--color-primary-50);
  transform: translateY(-2px);
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  padding: 1rem 0;
  transition: all 0.3s ease;
}
.site-header.scrolled {
  background: #fff;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  padding: 0.5rem 0;
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.site-logo .logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--color-primary-500), var(--color-primary-700));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.site-logo .logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-display);
  background: linear-gradient(to right, var(--color-primary-600), var(--color-primary-800));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
.main-nav a {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  transition: all 0.2s;
  color: #374151;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--color-primary-600);
  background: var(--color-primary-50);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 1rem;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 9999px;
  background: #f3f4f6;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s;
}
.lang-switcher:hover { background: #e5e7eb; }

/* Mobile menu toggle */
.menu-toggle {
  display: flex;
  padding: 0.5rem;
  border: none;
  background: none;
  cursor: pointer;
  color: #374151;
}

.mobile-nav {
  display: none;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  padding: 1rem;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-weight: 500;
  color: #374151;
  transition: all 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a.active {
  background: var(--color-primary-50);
  color: var(--color-primary-600);
}

@media (min-width: 1024px) {
  .main-nav, .header-actions { display: flex; }
  .menu-toggle { display: none; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary-50), #fff, var(--color-primary-100));
  padding: 8rem 1rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
}
.hero::before {
  top: 5rem; left: 2.5rem;
  width: 18rem; height: 18rem;
  background: var(--color-primary-200);
}
.hero::after {
  bottom: 5rem; right: 2.5rem;
  width: 24rem; height: 24rem;
  background: var(--color-primary-300);
  opacity: 0.2;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.hero h1 .highlight { color: var(--color-primary-600); }
.hero .animated-word {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary-500);
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}
.hero p {
  font-size: 1.25rem;
  color: #4b5563;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 1;
}
.hero .hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

/* ============================================================
   FEATURES / WHY CHOOSE US
   ============================================================ */
.features { padding: 5rem 0; background: #fff; }
.features .card {
  padding: 2rem;
  border: 1px solid #f3f4f6;
  text-align: left;
}
html[dir="rtl"] .features .card { text-align: right; }
.features .card .icon-box {
  width: 4rem; height: 4rem;
  background: linear-gradient(135deg, var(--color-primary-100), var(--color-primary-200));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-600);
  margin-bottom: 1.5rem;
}
.features .card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.features .card p { color: #4b5563; line-height: 1.7; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  padding: 4rem 0;
  background: linear-gradient(to right, var(--color-primary-600), var(--color-primary-700));
  color: #fff;
}
.stats-bar .stat { text-align: center; }
.stats-bar .stat .number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}
.stats-bar .stat .label {
  color: var(--color-primary-100);
  font-weight: 500;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-section { padding: 6rem 0; }
.service-card {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.15);
}
.service-card .service-header {
  background: linear-gradient(135deg, var(--color-primary-500), var(--color-primary-600));
  padding: 1.5rem;
  color: #fff;
}
.service-card .service-header .service-icon {
  width: 5rem; height: 5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255,255,255,0.3);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin-bottom: 1rem;
}
.service-card .service-header .service-icon img {
  width: 100%; height: 100%; object-fit: cover;
}
.service-card .service-header h3 { font-size: 1.5rem; color: #fff; }
.service-card .service-header p { color: var(--color-primary-100); }
.service-card .service-body {
  padding: 1.5rem;
}
.service-card .service-body ul { display: flex; flex-direction: column; gap: 0.75rem; }
.service-card .service-body li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: #374151;
}
.service-card .service-body li .check-icon {
  color: var(--color-primary-600);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* ============================================================
   SERVICE GRID (Homepage image cards)
   ============================================================ */
.service-image-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 768px) { .service-image-grid { grid-template-columns: repeat(4, 1fr); } }
.service-image-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  aspect-ratio: 1;
}
.service-image-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
}
.service-image-card:hover img { transform: scale(1.1); }
.service-image-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2), transparent);
}
.service-image-card .label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem;
  color: #fff;
  font-weight: 600;
  font-size: 1.125rem;
}

/* ============================================================
   ABOUT / STORY (two-column with image)
   ============================================================ */
.about-section { padding: 6rem 0; }
.about-section .content-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .about-section .content-grid { grid-template-columns: 1fr 1fr; }
}
.about-section .image-wrapper {
  position: relative;
}
.about-section .image-wrapper img {
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  width: 100%;
  object-fit: cover;
}
.about-section .image-wrapper .bg-accent {
  position: absolute;
  width: 12rem; height: 12rem;
  background: var(--color-primary-500);
  border-radius: 1rem;
  z-index: -1;
  bottom: -2rem; left: -2rem;
}
.about-section .image-wrapper .bg-circle {
  position: absolute;
  width: 8rem; height: 8rem;
  background: var(--color-primary-200);
  border-radius: 50%;
  z-index: -1;
  top: -2rem; right: -2rem;
}
html[dir="rtl"] .about-section .image-wrapper .bg-accent { left: auto; right: -2rem; }
html[dir="rtl"] .about-section .image-wrapper .bg-circle { right: auto; left: -2rem; }

/* ============================================================
   TEAM
   ============================================================ */
.team-section { padding: 6rem 0; }
.team-card {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  background: #fff;
  transition: all 0.3s;
}
.team-card:hover { transform: translateY(-5px); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.15); }
.team-card .team-image {
  overflow: hidden;
  height: 20rem;
}
.team-card .team-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
}
.team-card:hover .team-image img { transform: scale(1.1); }
.team-card .team-info {
  padding: 1.5rem;
}
.team-card .team-info h3 { font-size: 1.25rem; margin-bottom: 0.25rem; }
.team-card .team-info .role { color: var(--color-primary-600); font-weight: 600; margin-bottom: 0.5rem; }
.team-card .team-info .specialty { color: #6b7280; font-size: 0.875rem; margin-bottom: 0.75rem; }
.team-card .team-info .description { color: #9ca3af; font-size: 0.875rem; line-height: 1.6; }

/* ============================================================
   VALUES
   ============================================================ */
.values-section { padding: 6rem 0; background: #f9fafb; }
.value-card {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  text-align: center;
  transition: all 0.3s;
}
.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
}
.value-card .icon-box {
  width: 4rem; height: 4rem;
  background: linear-gradient(135deg, var(--color-primary-100), var(--color-primary-200));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-600);
  margin: 0 auto 1.5rem;
}
.value-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.value-card p { color: #4b5563; line-height: 1.7; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { padding: 6rem 0; }
.testimonial-card {
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  padding: 1.5rem;
  transition: transform 0.3s;
}
.testimonial-card:hover { transform: translateY(-5px); }
.testimonial-card .stars { display: flex; gap: 0.125rem; margin-bottom: 1rem; color: #fbbf24; }
.testimonial-card .content { color: #374151; font-style: italic; margin-bottom: 1rem; line-height: 1.7; }
.testimonial-card .meta { border-top: 1px solid #f3f4f6; padding-top: 1rem; }
.testimonial-card .meta .name { font-weight: 600; color: #111827; }
.testimonial-card .meta .treatment { font-size: 0.875rem; color: var(--color-primary-600); }
.testimonial-card .meta .location { font-size: 0.875rem; color: #6b7280; }

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio-section { padding: 6rem 0; }
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}
.portfolio-filters button {
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
  color: #374151;
}
.portfolio-filters button.active,
.portfolio-filters button:hover {
  background: var(--color-primary-600);
  color: #fff;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}
.portfolio-card {
  background: #fff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.3s;
}
.portfolio-card:hover { transform: translateY(-5px); }
.portfolio-card .ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; padding: 1rem; background: #f9fafb; }
.portfolio-card .ba-grid .ba-label { font-size: 0.75rem; font-weight: 600; text-align: center; margin-bottom: 0.5rem; }
.portfolio-card .ba-grid .ba-label.after { color: var(--color-primary-600); }
.portfolio-card .ba-grid .ba-image {
  aspect-ratio: 1;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.75rem;
  overflow: hidden;
}
.portfolio-card .ba-grid .ba-image.before { background: linear-gradient(135deg, #e5e7eb, #d1d5db); }
.portfolio-card .ba-grid .ba-image.after  { background: linear-gradient(135deg, var(--color-primary-100), var(--color-primary-200)); }
.portfolio-card .ba-grid .ba-image img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-card .details { padding: 1.5rem; }
.portfolio-card .details .category-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--color-primary-100);
  color: var(--color-primary-700);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}
.portfolio-card .details h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.portfolio-card .details p { color: #4b5563; margin-bottom: 0.75rem; }
.portfolio-card .details .duration { font-size: 0.875rem; color: #6b7280; display: flex; align-items: center; gap: 0.25rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { padding: 6rem 0; }
.contact-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary-500);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.15);
}
.contact-form .form-group { margin-bottom: 1.5rem; }

.branch-info-card {
  background: #f9fafb;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.branch-info-card h3 {
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.branch-info-card h3 .dot {
  width: 0.5rem; height: 0.5rem;
  background: var(--color-primary-500);
  border-radius: 50%;
}
.branch-info-card p, .branch-info-card a {
  color: #4b5563;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.branch-info-card a:hover { color: var(--color-primary-600); }

/* Google Maps iframes */
.map-container {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.map-container .map-header {
  padding: 1rem;
  background: var(--color-primary-50);
  border-bottom: 1px solid var(--color-primary-100);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.map-container iframe { width: 100%; height: 300px; border: 0; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 5rem 1rem;
  background: linear-gradient(to right, var(--color-primary-600), var(--color-primary-700));
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before,
.cta-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.cta-section::before { top: 0; left: 0; width: 16rem; height: 16rem; transform: translate(-50%, -50%); }
.cta-section::after { bottom: 0; right: 0; width: 24rem; height: 24rem; transform: translate(33%, 33%); }
.cta-section h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 1.5rem;
  position: relative; z-index: 1;
}
.cta-section p {
  font-size: 1.25rem;
  color: var(--color-primary-100);
  margin-bottom: 2.5rem;
  position: relative; z-index: 1;
}

/* ============================================================
   VISION / MISSION CARDS
   ============================================================ */
.vision-mission { padding: 6rem 0; background: #f9fafb; }
.vm-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  border: 1px solid #f3f4f6;
}
.vm-card .icon-box {
  width: 3.5rem; height: 3.5rem;
  background: var(--color-primary-100);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-600);
  margin-bottom: 1.5rem;
}
.vm-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.vm-card p { color: #4b5563; line-height: 1.7; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: linear-gradient(to bottom, #111827, #0f172a);
  color: #9ca3af;
  padding: 4rem 0 0;
}
.site-footer h4 {
  color: #fff;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  position: relative;
}
.site-footer h4::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 3rem;
  height: 2px;
  background: var(--color-primary-500);
}
html[dir="rtl"] .site-footer h4::after { left: auto; right: 0; }

.site-footer .footer-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 768px)  { .site-footer .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer .footer-grid { grid-template-columns: repeat(4, 1fr); } }

.site-footer .footer-description { color: #9ca3af; line-height: 1.7; margin-bottom: 1.5rem; }

.site-footer .social-icons { display: flex; gap: 0.75rem; }
.site-footer .social-icon {
  width: 2.5rem; height: 2.5rem;
  background: #1f2937;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: #9ca3af;
}
.site-footer .social-icon:hover {
  background: var(--color-primary-600);
  color: #fff;
  transform: scale(1.1);
}

.site-footer .footer-links { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1rem; }
.site-footer .footer-links a {
  color: #9ca3af;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.site-footer .footer-links a:hover { color: var(--color-primary-400); }

.site-footer .footer-branch { margin-bottom: 1.5rem; }
.site-footer .footer-branch h5 { color: #fff; font-weight: 500; margin-bottom: 0.5rem; }
.site-footer .footer-branch p,
.site-footer .footer-branch a {
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.site-footer .footer-branch a:hover { color: var(--color-primary-400); }

.footer-bottom {
  border-top: 1px solid #1f2937;
  padding: 1.5rem 0;
  margin-top: 3rem;
}
.footer-bottom .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 768px) {
  .footer-bottom .container {
    flex-direction: row;
    justify-content: space-between;
  }
}
.footer-bottom p { font-size: 0.875rem; color: #6b7280; }
.footer-bottom .bottom-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
}
.footer-bottom .bottom-links a { color: #6b7280; transition: color 0.2s; }
.footer-bottom .bottom-links a:hover { color: var(--color-primary-400); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: 8rem 1rem 5rem;
  background: linear-gradient(135deg, var(--color-primary-50), #fff, var(--color-primary-100));
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
}
.page-hero p {
  font-size: 1.25rem;
  color: #4b5563;
  max-width: 48rem;
  margin: 0 auto;
}

/* ============================================================
   BOOKING CALENDAR (simplified WP version)
   ============================================================ */
.booking-section { padding: 4rem 0; background: #f9fafb; }
.booking-calendar {
  max-width: 56rem;
  margin: 0 auto;
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
}
.booking-calendar .progress-bar {
  background: linear-gradient(to right, var(--color-primary-500), var(--color-primary-600));
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.booking-calendar .step-circle {
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: all 0.3s;
}
.booking-calendar .step-circle.active  { background: #fff; color: var(--color-primary-600); }
.booking-calendar .step-circle.pending { background: rgba(255,255,255,0.3); color: #fff; }
.booking-calendar .step-line {
  flex: 1;
  height: 4px;
  margin: 0 0.5rem;
  border-radius: 2px;
}
.booking-calendar .step-line.done     { background: #fff; }
.booking-calendar .step-line.pending  { background: rgba(255,255,255,0.3); }
.booking-calendar .body { padding: 1.5rem; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.pt-20 { padding-top: 5rem; }
.bg-gray { background: #f9fafb; }
.bg-white { background: #fff; }
