/*
Theme Name: حلول العزل - حلول البيوت
Theme URI: https://example.com/holool-alazl
Author: حلول البيوت للعزل المائي والحراري
Author URI: https://example.com/
Description: قالب ووردبريس احترافي متكامل ومتوافق مع السيو بنسبة 100% لشركة حلول العزل (حلول البيوت للعزل المائي والحراري وعزل الفوم في الرياض، الدمام، القصيم، وخميس مشيط). مجهز بنظام قوائم ووردبريس مخصصة، وتثبيت تلقائي للمحتوى بضغطة زر، وسكيما جوجل للأنشطة التجارية والأسئلة الشائعة.
Version: 1.3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: holool-alazl
Tags: one-column, two-columns, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, sticky-post, theme-options, translation-ready
*/

:root {
  --primary-color: #0284c7;        /* أزرق مائي موثوق */
  --primary-dark: #0369a1;
  --primary-light: #e0f2fe;
  --secondary-color: #0f172a;      /* كحلي داكن فاخر للعناوين والفوتر */
  --accent-color: #f97316;         /* برتقالي دافئ للدعوة للإجراء والعزل الحراري */
  --accent-hover: #ea580c;
  --whatsapp-color: #25d366;       /* أخضر الواتساب */
  --whatsapp-dark: #128c7e;
  --call-color: #0284c7;
  --text-main: #334155;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --font-arabic: 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.25s ease-in-out;
  --logo-height: 50px;
  --logo-max-width: 220px;
  --logo-height-mobile: 40px;
}

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

html {
  direction: rtl;
  text-align: right;
  font-size: 16px;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  font-family: var(--font-arabic);
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
  overflow-x: hidden;
  overflow-y: visible;
  position: relative;
  min-height: 100vh;
}

body.mobile-drawer-open {
  overflow: hidden;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

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

h1, h2, h3, h4, h5, h6 {
  color: var(--secondary-color);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.25rem;
}

ul, ol {
  padding-right: 1.5rem;
  margin-bottom: 1.25rem;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-arabic);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #ffffff !important;
}
.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background-color: var(--accent-color);
  color: #ffffff !important;
}
.btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background-color: var(--whatsapp-color);
  color: #ffffff !important;
}
.btn-whatsapp:hover {
  background-color: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color) !important;
}
.btn-outline:hover {
  background-color: var(--primary-color);
  color: #ffffff !important;
}

.btn-white {
  background-color: #ffffff;
  color: var(--secondary-color) !important;
}
.btn-white:hover {
  background-color: #f1f5f9;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.15rem;
}

/* Section Common */
.section {
  padding: 4.5rem 0;
}
.section-light {
  background-color: var(--bg-white);
}
.section-alt {
  background-color: #f1f5f9;
}
.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.5rem auto;
}
.section-badge {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.section-title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Top Bar */
.site-topbar {
  background-color: var(--secondary-color);
  color: #94a3b8;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.topbar-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #cbd5e1;
}
.topbar-item a {
  color: #cbd5e1;
}
.topbar-item a:hover {
  color: var(--accent-color);
}
.topbar-branches {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
}
.branch-pill {
  color: #38bdf8;
  font-weight: 600;
}

/* Header & Navbar */
.site-header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1.5rem;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

/* Site Branding & Custom Logo Dimensions */
.site-branding {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  max-width: 100%;
  min-width: 0;
}
.custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  text-decoration: none;
  max-width: 100%;
}
.custom-logo,
.custom-logo-link img,
.site-branding img,
.brand-logo img {
  display: block;
  width: auto !important;
  max-width: var(--logo-max-width, 220px) !important;
  height: auto !important;
  max-height: var(--logo-height, 50px) !important;
  object-fit: contain;
  object-position: right center;
  transition: var(--transition);
}

/* Default Icon & Typography Brand Logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  min-width: 0;
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  transition: var(--transition);
}
.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.brand-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--secondary-color);
  line-height: 1.2;
  white-space: nowrap;
}
.brand-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

/* Tablet Responsive Logo (<= 768px) */
@media (max-width: 768px) {
  .custom-logo,
  .custom-logo-link img,
  .site-branding img,
  .brand-logo img {
    max-width: 180px !important;
    max-height: var(--logo-height-mobile, 42px) !important;
  }
  .brand-logo {
    gap: 0.55rem;
  }
  .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 1.15rem;
  }
  .brand-title {
    font-size: 1.05rem;
  }
  .brand-tagline {
    font-size: 0.68rem;
  }
}

/* Mobile Responsive Logo (<= 480px) */
@media (max-width: 480px) {
  .navbar {
    padding: 0.6rem 0;
    gap: 0.5rem;
  }
  .site-branding {
    max-width: calc(100% - 90px);
  }
  .custom-logo,
  .custom-logo-link img,
  .site-branding img,
  .brand-logo img {
    max-width: 145px !important;
    max-height: var(--logo-height-mobile, 38px) !important;
  }
  .brand-logo {
    gap: 0.45rem;
  }
  .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }
  .brand-title {
    font-size: 0.95rem;
  }
  .brand-tagline {
    font-size: 0.62rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Extra Small Mobile (<= 360px) */
@media (max-width: 360px) {
  .custom-logo,
  .custom-logo-link img,
  .site-branding img,
  .brand-logo img {
    max-width: 125px !important;
    max-height: 34px !important;
  }
  .brand-title {
    font-size: 0.9rem;
  }
  .brand-tagline {
    display: none;
  }
}

/* Navigation */
.main-nav {
  display: none;
}
@media (min-width: 992px) {
  .main-nav {
    display: block;
  }
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-menu > li,
.nav-menu > .menu-item,
.nav-menu > .nav-item {
  position: relative;
  list-style: none;
}
.nav-menu a {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 0.925rem;
  padding: 0.4rem 0.2rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: var(--transition);
}
.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
  color: var(--primary-color);
}
.nav-menu .current-menu-item > a::after,
.nav-menu .current_page_item > a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

/* Dropdown Submenu Support */
.nav-menu .menu-item-has-children > a::after {
  content: '▾';
  font-size: 0.75rem;
  margin-right: 3px;
  transition: transform 0.2s ease;
}
.nav-menu .menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
}
.nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #ffffff;
  min-width: 220px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.5rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 1100;
}
.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-menu .sub-menu li {
  width: 100%;
  padding: 0;
  list-style: none;
}
.nav-menu .sub-menu a {
  display: block;
  padding: 0.55rem 1.25rem;
  color: var(--secondary-color);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}
.nav-menu .sub-menu a:hover {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  padding-right: 1.5rem;
}
.nav-menu .sub-menu a::after {
  display: none !important;
}

.header-cta {
  display: none !important;
}

.nav-toggle-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
@media (min-width: 992px) {
  .nav-toggle-btn {
    display: none;
  }
}
.nav-toggle-btn span {
  width: 26px;
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

/* Mobile Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 320px;
  background-color: #ffffff;
  z-index: 2000;
  box-shadow: -4px 0 25px rgba(0, 0, 0, 0.15);
  padding: 1.5rem;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-nav-drawer.active {
  display: flex;
}
.mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  z-index: 1999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.mobile-backdrop.active {
  display: block;
  pointer-events: auto;
  opacity: 1;
}
.mobile-nav-close {
  align-self: flex-start;
  background: #f1f5f9;
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 1.5rem;
}
.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mobile-nav-list li {
  list-style: none;
}
.mobile-nav-list a {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary-color);
  display: block;
}
.mobile-nav-list a:hover {
  color: var(--primary-color);
}
.mobile-nav-list .sub-menu {
  list-style: none;
  padding-right: 1rem;
  margin-top: 0.5rem;
  border-right: 2px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.mobile-nav-list .sub-menu a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #32c9e4 0%, #134074 100%);
  color: #ffffff;
  padding: 4.5rem 0 5rem 0;
  overflow: hidden;
}
.hero-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  opacity: 0.07;
  background-image: radial-gradient(#38bdf8 2px, transparent 2px);
  background-size: 32px 32px;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #7dd3fc;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}
.hero-title {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.35;
  color: #ffffff;
  margin-bottom: 1.25rem;
}
.hero-title span {
  color: #0f172a;
  display: inline-block;
}
.hero-desc {
  font-size: 1.15rem;
  line-height: 1.85;
  color: #cbd5e1;
  margin-bottom: 2rem;
  max-width: 650px;
}
.hero-points {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .hero-points {
    grid-template-columns: 1fr 1fr;
  }
}
.hero-point {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #e2e8f0;
}
.hero-point-icon {
  width: 22px;
  height: 22px;
  background-color: var(--accent-color);
  color: #ffffff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Quick Form Card */
.hero-form-card {
  background-color: #ffffff;
  color: var(--text-main);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.hero-form-header {
  text-align: center;
  margin-bottom: 1.5rem;
}
.hero-form-title {
  font-size: 1.4rem;
  color: var(--secondary-color);
  font-weight: 800;
  margin-bottom: 0.35rem;
}
.hero-form-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.form-group {
  margin-bottom: 1.1rem;
}
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.35rem;
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-arabic);
  font-size: 0.95rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: #f8fafc;
  color: var(--text-main);
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px var(--primary-light);
}
.hero-form-footer {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Trust / Certifications Bar */
.certifications-bar {
  background-color: #ffffff;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-color);
}
.certifications-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.cert-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #475569;
  font-weight: 700;
  font-size: 0.9rem;
}
.cert-icon {
  font-size: 1.35rem;
}

/* Stats Bar */
.stats-bar {
  background-color: var(--bg-white);
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-color);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}
@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat-item {
  padding: 1rem;
  border-left: 1px solid var(--border-color);
}
.stat-item:last-child {
  border-left: none;
}
.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}
.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ===================================================
   INTERACTIVE COST CALCULATOR STYLES
   =================================================== */
.calculator-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  margin: 2rem auto;
  max-width: 960px;
}
.calculator-full {
  max-width: 100%;
}
.calculator-header {
  text-align: center;
  margin-bottom: 2rem;
}
.calculator-title {
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}
.calculator-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
}
.calc-field-group {
  margin-bottom: 1.75rem;
}
.calc-label {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.75rem;
}
.calc-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .calc-options-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.calc-radio-card {
  background: #f8fafc;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 0.75rem;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}
.calc-radio-card input {
  display: none;
}
.calc-radio-card.active, .calc-radio-card:hover {
  border-color: var(--primary-color);
  background-color: var(--primary-light);
}
.calc-radio-icon {
  font-size: 1.75rem;
}
.calc-radio-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--secondary-color);
}
.calc-area-badge {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.95rem;
}
.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-color);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  border: 2px solid #ffffff;
}
.calc-result-box {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .calc-result-box {
    grid-template-columns: 1.3fr 1fr;
  }
}
.calc-result-label {
  font-size: 0.95rem;
  color: #94a3b8;
}
.calc-result-price {
  font-size: 2.4rem;
  font-weight: 900;
  color: #38bdf8;
  line-height: 1.2;
}
.calc-currency {
  font-size: 1rem;
  color: #cbd5e1;
  font-weight: 600;
  margin-right: 0.5rem;
}
.calc-note {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 0.5rem;
  line-height: 1.6;
}

/* ===================================================
   BEFORE / AFTER COMPARISON COMPONENT
   =================================================== */
.before-after-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 2rem;
  margin: 3rem 0;
  box-shadow: var(--shadow-sm);
}
.before-after-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
@media (min-width: 768px) {
  .before-after-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.comparison-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
}
.comparison-badge {
  padding: 0.5rem 1rem;
  font-weight: 800;
  font-size: 0.9rem;
  text-align: center;
  color: #ffffff;
}
.comparison-badge-before { background-color: #ef4444; }
.comparison-badge-after { background-color: #10b981; }
.comparison-content {
  padding: 1.5rem;
  background-color: #f8fafc;
}
.comparison-content ul {
  padding-right: 1.25rem;
  margin-bottom: 0;
  font-size: 0.95rem;
}
.comparison-content li {
  margin-bottom: 0.5rem;
}

/* ===================================================
   FAQ ACCORDION COMPONENT
   =================================================== */
.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
}
.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.active {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}
.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary-color);
  text-align: right;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-icon-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--primary-color);
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-item.active .faq-icon-toggle {
  transform: rotate(45deg);
  background-color: var(--primary-color);
  color: #ffffff;
}
.faq-answer {
  display: none;
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: #475569;
  font-size: 1rem;
  line-height: 1.85;
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
}
.faq-item.active .faq-answer {
  display: block;
}

/* ===================================================
   NEIGHBORHOODS & LOCAL SEO BADGES
   =================================================== */
.neighborhoods-container {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.neighborhood-tag {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.service-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}
.service-card:hover::before {
  opacity: 1;
}
.service-icon-wrapper {
  width: 62px;
  height: 62px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}
.service-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}
.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.service-link {
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Branches Grid */
.branches-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .branches-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .branches-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.branch-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.branch-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-full);
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: auto;
}
.status-indicator-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
}
.branch-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.branch-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background-color: #f0fdf4;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 1rem auto;
}
.branch-name {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.branch-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.branch-btn {
  width: 100%;
}

/* SEO Article Section */
.seo-article-section {
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.seo-article-wrapper {
  background-color: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
}
@media (min-width: 768px) {
  .seo-article-wrapper {
    padding: 3.5rem;
  }
}
.seo-article-title {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}
.seo-article-content {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #334155;
}
.seo-article-content p {
  margin-bottom: 1.4rem;
}
.article-highlight-box {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.08), rgba(249, 115, 22, 0.08));
  border-right: 4px solid var(--primary-color);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
  font-weight: 600;
}

/* Posts Grid */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .posts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.post-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.post-thumbnail-link {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #e2e8f0;
}
.post-thumbnail-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.post-card:hover .post-thumbnail-link img {
  transform: scale(1.05);
}
.post-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.post-card-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.post-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.post-card-title a {
  color: var(--secondary-color);
}
.post-card-title a:hover {
  color: var(--primary-color);
}
.post-card-excerpt {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.post-card-footer {
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Call to Action Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #1e293b 100%);
  color: #ffffff;
  padding: 4rem 0;
  border-radius: var(--radius-lg);
  text-align: center;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}
.cta-banner-content {
  max-width: 750px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.cta-banner-title {
  font-size: 2.2rem;
  color: #ffffff;
  margin-bottom: 1rem;
}
.cta-banner-desc {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.8;
}
.cta-banner-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Inner Page Layout */
.page-header {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #1e293b 100%);
  color: #ffffff;
  padding: 3.5rem 0;
  text-align: center;
}
.page-title {
  font-size: 2.3rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
}
.page-subtitle {
  color: #cbd5e1;
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 1rem;
}
.breadcrumbs a {
  color: #cbd5e1;
}
.breadcrumb-separator {
  opacity: 0.5;
}
.inner-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 3.5rem 0;
}
@media (min-width: 992px) {
  .inner-layout-grid {
    grid-template-columns: 2.6fr 1fr;
  }
}
.main-content-area {
  background-color: #ffffff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}
.single-post-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
}
.single-featured-image {
  margin-bottom: 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.post-body {
  font-size: 1.1rem;
  line-height: 1.95;
  color: #1e293b;
}
.post-body h2 {
  font-size: 1.65rem;
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--primary-light);
}
.post-body h3 {
  font-size: 1.35rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}
.post-body p {
  margin-bottom: 1.5rem;
}
.social-share-box {
  background-color: #f8fafc;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2.5rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}
.share-label {
  font-weight: 700;
  color: var(--secondary-color);
}
.share-buttons {
  display: flex;
  gap: 0.5rem;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff !important;
}
.share-whatsapp { background-color: #25d366; }
.share-twitter { background-color: #0f172a; }
.share-facebook { background-color: #1877f2; }

/* Sidebar */
.sidebar-widget {
  background-color: #ffffff;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}
.widget-title {
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 45px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}
.widget-services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.widget-services-list li {
  margin-bottom: 0.75rem;
}
.widget-services-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  background-color: #f8fafc;
  border-radius: var(--radius-sm);
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 0.95rem;
}
.widget-services-list a:hover {
  background-color: var(--primary-light);
  color: var(--primary-dark);
}
.widget-call-box {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: #ffffff;
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
}
.widget-call-box h4 {
  color: #ffffff;
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}
.widget-call-box p {
  color: #e0f2fe;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Site Footer */
.site-footer {
  background-color: var(--secondary-color);
  color: #94a3b8;
  padding-top: 4.5rem;
  font-size: 0.925rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}
.footer-col-title {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35px;
  height: 2px;
  background-color: var(--accent-color);
}
.footer-about p {
  color: #94a3b8;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.6rem;
}
.footer-links a {
  color: #cbd5e1;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--accent-color);
  padding-right: 5px;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer-contact-icon {
  color: var(--accent-color);
  margin-top: 3px;
}
.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

.sticky-action-bar,
.sticky-btn {
  display: none !important;
}

.sticky-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Pagination */
.posts-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3.5rem;
}
.posts-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--secondary-color);
  font-weight: 700;
  transition: var(--transition);
}
.posts-pagination .page-numbers:hover,
.posts-pagination .page-numbers.current {
  background-color: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}
