/*
Theme Name: Al-Rahim Technical Services — al-rahim-technical-services-theme-v1
Theme URI: https://alrahimtechnicalservices.ae
Author: WP-Flash | SerpZenith
Author URI: https://wpflash.com
Description: Bespoke theme for Al-Rahim Technical Services FZC. Built with WP-Flash v4.0. Palette extracted from client logo; layout benchmarked against amanztechnicalservices.ae, arytechnicalservice.com, mytstechnicalservices.com.
Version: 1.1.5
License: Private
Text Domain: al-rahim-technical-services-theme-v1
*/

/* =====================
   CSS VARIABLES (logo-derived, Visual Identity v2)
   ===================== */
:root {
  --color-primary: #132231;
  --color-primary-rgb: 19, 34, 49;
  --color-secondary: #0B1620;
  --color-accent: #C72121;
  --color-accent-rgb: 199, 33, 33;
  --color-accent-dark: #A31818;
  --color-bg: #FAFAFA;
  --color-surface: #F4F5F6;
  --color-border: #E2E4E7;
  --color-text: #132231;
  --color-text-muted: #5B6672;
  --color-success: #16A34A;
  --color-warning: #F59E0B;

  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Roboto', sans-serif;

  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);

  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 48px;
  --spacing-xl: 80px;
  --spacing-2xl: 120px;

  --container: 1240px;
  --container-sm: 760px;
}

/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-accent-dark); }
ul, ol { list-style: none; }
.icon-svg { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: var(--color-primary); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* =====================
   TYPOGRAPHY
   ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 700;
}
h1 { font-size: clamp(34px, 5vw, 54px); }
h2 { font-size: clamp(28px, 4vw, 38px); }
h3 { font-size: clamp(20px, 3vw, 26px); }
h4 { font-size: 20px; }
h5 { font-size: 17px; }
p { margin-bottom: 1.2em; color: var(--color-text); }
p:last-child { margin-bottom: 0; }

/* =====================
   CONTAINER
   ===================== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: var(--container-sm); margin: 0 auto; padding: 0 24px; }

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.btn-primary:hover { background: var(--color-accent-dark); border-color: var(--color-accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); color: #fff; }
.btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-secondary:hover { background: rgba(255,255,255,0.12); color: #fff; border-color: #fff; }
.btn-dark { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.btn-dark:hover { background: var(--color-secondary); color: #fff; }
.btn-whatsapp { background: #25D366; color: #fff; border-color: #25D366; }
.btn-whatsapp:hover { background: #1DA851; border-color: #1DA851; color: #fff; }
.btn-phone { background: var(--color-primary); color: #fff; border-color: var(--color-primary); font-size: 16px; font-weight: 800; }
.btn-phone:hover { background: var(--color-secondary); color: #fff; }
.btn-lg { padding: 18px 36px; font-size: 18px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-full { width: 100%; justify-content: center; }

/* =====================
   CARDS
   ===================== */
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-title { font-size: 19px; font-weight: 700; margin-bottom: var(--spacing-xs); }
.card-icon {
  width: 56px; height: 56px;
  background: rgba(var(--color-accent-rgb), 0.10);
  color: var(--color-accent);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--spacing-sm);
  font-size: 26px;
}

/* =====================
   SECTIONS / KICKER
   ===================== */
.section { padding: var(--spacing-xl) 0; }
.section-alt { background: var(--color-surface); }
.section-dark { background: var(--color-primary); color: #fff; }
.section-dark h2, .section-dark h3, .section-dark p { color: #fff; }
.kicker {
  display: inline-block;
  background: rgba(var(--color-accent-rgb), 0.10);
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-header { margin-bottom: var(--spacing-lg); }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 12px auto 0; }
.section-sub { color: var(--color-text-muted); font-size: 18px; max-width: 620px; margin-top: 8px; }

/* =====================
   TOP BAR (contact strip)
   ===================== */
.top-bar {
  background: var(--color-secondary);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
}
.top-bar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: rgba(255,255,255,0.9); font-weight: 600; }
.top-bar a:hover { color: #fff; }
.top-bar-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* =====================
   HEADER / NAV
   ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.site-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.site-logo-icon { height: 44px; width: auto; }
.site-logo-text { font-family: var(--font-heading); font-weight: 700; font-size: 18px; line-height: 1.2; color: var(--color-primary); }
.site-logo-text em { display: block; font-style: normal; font-weight: 500; font-size: 10.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-text-muted); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > li { position: relative; }
.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s;
  padding: 8px 0;
  display: inline-block;
}
.nav-links > li > a::after { content: '▾'; font-size: 10px; margin-left: 4px; opacity: 0.6; }
.nav-links > li.no-caret > a::after { content: ''; margin: 0; }
.nav-links a:hover { color: var(--color-accent); }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: -16px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  min-width: 280px;
  display: none;
  z-index: 50;
}
.nav-links > li:hover .nav-dropdown { display: block; }
.nav-dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 6px; font-weight: 500; font-size: 14px;
}
.nav-dropdown a::after { content: ''; }
.nav-dropdown a:hover { background: var(--color-surface); color: var(--color-accent); }
.nav-dropdown a .icon-svg { color: var(--color-accent); flex-shrink: 0; }
.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-cta .phone-link {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 15px;
  color: var(--color-primary);
}
.header-cta .phone-link .icon { color: var(--color-accent); }

/* Mobile nav */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; font-size: 24px; color: var(--color-primary); }
.nav-cta-mobile { display: none; } /* only shown inside the open mobile menu */
@media (max-width: 900px) {
  .header-inner { gap: 10px; }
  .site-logo { margin-right: auto; }            /* logo left, everything else pushed right */
  .site-logo-icon { height: 38px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--color-border);
    padding: 12px 24px 20px; gap: 4px; box-shadow: var(--shadow-md);
  }
  .nav-links.open > li { width: 100%; }
  .nav-dropdown { position: static; display: none; box-shadow: none; border: none; padding: 0 0 0 16px; }
  .nav-links.open > li.dropdown-open .nav-dropdown { display: block; }
  .nav-links.open .nav-cta-mobile { display: block; margin-top: 10px; }
  .nav-links.open .nav-cta-mobile a { color: #fff; padding: 13px 20px; justify-content: center; }
  .nav-links.open .nav-cta-mobile a:hover { color: #fff; }
  .nav-links .nav-cta-mobile > a::after { content: ''; margin: 0; }
  .hamburger { display: block; order: 3; }
  .header-cta { order: 2; gap: 6px; }
  .header-cta .phone-link { padding: 8px; }
  .header-cta .phone-link .text { display: none; }
  .header-cta .btn-primary { display: none; }   /* overflowing top-bar quote button → moved into the menu */
}

/* =====================
   HERO SECTION
   ===================== */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: #fff;
  padding: 72px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  right: -120px; top: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  border: 60px solid rgba(var(--color-accent-rgb), 0.14);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--spacing-xl);
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 13px; font-weight: 600;
  padding: 7px 16px; border-radius: 999px;
  margin-bottom: var(--spacing-md);
}
.hero-title { font-size: clamp(36px, 5.2vw, 58px); margin-bottom: var(--spacing-sm); line-height: 1.08; color: #fff; }
.hero-title span { color: var(--color-accent); }
.hero-subtitle { font-size: 18px; color: rgba(255,255,255,0.82); margin-bottom: var(--spacing-md); max-width: 540px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: var(--spacing-lg); }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.85); }
.trust-item .icon { color: var(--color-accent); }
.hero-visual {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  backdrop-filter: blur(2px);
}
.hero-visual img { border-radius: var(--radius); }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto var(--spacing-md); }
}

/* =====================
   STATS BAR
   ===================== */
.stats-bar { background: var(--color-accent); color: #fff; padding: 36px 0; }
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.stat-number { font-family: var(--font-heading); font-size: 40px; font-weight: 700; line-height: 1; }
.stat-label { font-size: 13px; opacity: 0.9; margin-top: 6px; text-transform: uppercase; letter-spacing: 0.06em; }
@media (max-width: 600px) { .stats-inner { grid-template-columns: repeat(2, 1fr); } }

/* =====================
   SERVICES GRID
   ===================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card { position: relative; overflow: hidden; }
.service-card .card-title a { color: var(--color-text); }
.service-card .card-title a:hover { color: var(--color-accent); }
.service-card p { color: var(--color-text-muted); font-size: 15px; margin-bottom: 16px; }
.service-card .service-link { font-weight: 700; font-size: 14px; color: var(--color-accent); display: inline-flex; align-items: center; gap: 4px; }
.service-card .service-link:hover { color: var(--color-accent-dark); }

/* =====================
   WHY CHOOSE US / RISK CARDS
   ===================== */
.why-grid, .risk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.risk-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: #fff;
}
.risk-number {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 700;
  color: rgba(var(--color-accent-rgb), 0.14);
  line-height: 1;
  margin-bottom: -8px;
}
.risk-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.risk-card p { color: var(--color-text-muted); font-size: 15px; margin: 0; }
.risk-card .check-icon { color: var(--color-accent); font-size: 28px; margin-bottom: 8px; }
.check-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* =====================
   TRUST BADGE ROW
   ===================== */
.trust-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.trust-badge {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--color-text);
  padding: 9px 16px; background: #fff;
  border: 1px solid var(--color-border); border-radius: 999px;
}
.trust-badge .icon { color: var(--color-accent); font-size: 16px; }
/* Trust row inside the dark page hero (inner pages) */
.page-trust-row { margin: 16px 0 0; }
.page-hero .trust-badge { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.2); color: #fff; }

/* =====================
   TESTIMONIALS
   ===================== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.testimonial-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.testimonial-stars { color: var(--color-accent); font-size: 16px; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-text { font-style: italic; color: var(--color-text); line-height: 1.6; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 44px; height: 44px; background: var(--color-primary); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 15px; }
.testimonial-location { font-size: 13px; color: var(--color-text-muted); }

/* =====================
   LOCATIONS GRID
   ===================== */
.locations-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.location-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px; background: #fff;
  border: 1px solid var(--color-border); border-radius: var(--radius);
  font-size: 14px; font-weight: 600; color: var(--color-text);
  transition: all 0.2s;
}
.location-chip:hover { border-color: var(--color-accent); color: var(--color-accent); }
.location-chip .icon { color: var(--color-accent); }

/* =====================
   CTA SECTION
   ===================== */
.cta-section { background: var(--color-primary); color: #fff; text-align: center; padding: var(--spacing-xl) 0; position: relative; overflow: hidden; }
.cta-section h2 { color: #fff; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 18px; max-width: 560px; margin: 0 auto var(--spacing-md); }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =====================
   FAQ SECTION
   ===================== */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item:first-child { border-top: 1px solid var(--color-border); }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; gap: 16px; }
.faq-question::-webkit-details-marker { display: none; }
.faq-chevron { font-size: 22px; color: var(--color-accent); flex-shrink: 0; transition: transform 0.2s ease; font-weight: 400; }
details[open] .faq-chevron { transform: rotate(45deg); }
.faq-answer { padding: 0 0 20px; color: var(--color-text-muted); line-height: 1.7; }
.faq-answer p { margin: 0; }

/* =====================
   BREADCRUMB
   ===================== */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  padding: 28px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -100px; top: -140px;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 50px solid rgba(var(--color-accent-rgb), 0.14);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .kicker { background: rgba(255,255,255,0.12); color: #fff; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.65); flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,0.75); font-weight: 600; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .current { color: var(--color-accent); font-weight: 700; }
.breadcrumb .sep { color: rgba(255,255,255,0.35); }

/* =====================
   FEATURED IMAGE BAND (service/knowledge/answer pages)
   ===================== */
.page-featured-image { background: var(--color-surface); padding: var(--spacing-lg) 0; }
.page-featured-image .featured-img {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

/* =====================
   CONTENT PAGE — style existing Gutenberg block markup
   ===================== */
.content-page { padding: var(--spacing-lg) 0 var(--spacing-xl); }
/* Two-column layout: article + sticky conversion sidebar */
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: var(--spacing-lg);
  align-items: start;
}
.content-main { min-width: 0; }
.content-page .entry-content { max-width: none; margin: 0; }
/* In-column featured image */
.content-featured { margin-bottom: var(--spacing-md); }
.content-featured .featured-img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
@media (max-width: 960px) {
  .content-layout { grid-template-columns: 1fr; }
  .content-sidebar { order: 2; }
}
.entry-content h1.wp-block-heading:first-child { margin-bottom: var(--spacing-sm); font-size: clamp(30px, 4.4vw, 44px); }
.entry-content h1.wp-block-heading:first-child + p.wp-block-paragraph {
  font-size: 19px;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: var(--spacing-lg);
}
.entry-content .wp-block-heading { margin-top: var(--spacing-lg); margin-bottom: var(--spacing-sm); }
.entry-content .wp-block-heading:first-child { margin-top: 0; }
.entry-content h2.wp-block-heading { font-size: clamp(24px, 3.4vw, 32px); }
.entry-content h3.wp-block-heading { font-size: clamp(19px, 2.6vw, 23px); color: var(--color-primary); }
.entry-content p.wp-block-paragraph { color: var(--color-text-muted); font-size: 16.5px; line-height: 1.75; }
.entry-content ul.wp-block-list { list-style: none; margin: 0 0 1.2em; padding: 0; }
.entry-content ul.wp-block-list li {
  position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--color-text-muted);
}
.entry-content ul.wp-block-list li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--color-accent); font-weight: 700;
}
.entry-content ol.wp-block-list { padding-left: 22px; margin-bottom: 1.2em; }
.entry-content ol.wp-block-list li { color: var(--color-text-muted); margin-bottom: 10px; padding-left: 6px; }
.entry-content a:not(.wp-block-button__link) { color: var(--color-accent); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(var(--color-accent-rgb),0.3); }
.entry-content a:not(.wp-block-button__link):hover { color: var(--color-accent-dark); }
.entry-content .wp-block-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin: var(--spacing-md) 0; }
.entry-content .wp-block-button__link {
  display: inline-flex; align-items: center; padding: 14px 28px !important;
  border-radius: var(--radius) !important; font-weight: 700 !important; text-decoration: none !important;
  transition: all 0.2s ease;
}
.entry-content .wp-block-button__link:hover { filter: brightness(0.92); transform: translateY(-2px); }
.entry-content .wp-block-group.has-background {
  border-radius: var(--radius-lg) !important;
  margin: var(--spacing-lg) 0;
}
.entry-content .wp-block-group.has-background .wp-block-heading,
.entry-content .wp-block-group.has-background p { color: #fff; }
.entry-content .wp-block-group__inner-container { max-width: 640px; margin: 0 auto; text-align: center; padding: 0 24px; }
.entry-content script { display: none !important; }

/* Rich components rendered inside stored page content (pillar + knowledge pages) */
.entry-content .trust-row { margin: 4px 0 var(--spacing-md); }
.entry-content .services-grid,
.entry-content .risk-grid,
.entry-content .locations-grid { margin: 0 0 var(--spacing-md); }
.entry-content .faq-list { margin: 0 0 var(--spacing-md); }
.entry-content .card-title a,
.entry-content .service-link,
.entry-content .location-chip { text-decoration: none; }
.entry-content .card-title a { color: var(--color-text); font-weight: 700; }
.entry-content .card-title a:hover { color: var(--color-accent); }
.entry-content .location-chip { color: var(--color-text); font-weight: 600; }
.entry-content .location-chip:hover { color: var(--color-accent); }

/* =====================
   SIDEBAR / RELATED
   ===================== */
.related-services { background: var(--color-surface); border-radius: var(--radius-lg); padding: 28px; margin-top: var(--spacing-lg); }
.related-services h3 { margin-bottom: 14px; font-size: 17px; }
.related-services ul { display: flex; flex-direction: column; gap: 8px; }
.related-services a { font-weight: 600; font-size: 14.5px; color: var(--color-text); }
.related-services a:hover { color: var(--color-accent); }
.related-services a .icon-svg { color: var(--color-accent); margin-right: 6px; }

/* =====================
   DESKTOP FLOATING ACTION BUTTONS (Call + WhatsApp)
   ===================== */
.float-stack {
  position: fixed;
  bottom: 24px; right: 22px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}
.float-btn {
  display: flex;
  align-items: center;
  gap: 0;
  height: 56px;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  color: #fff;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.float-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 34px rgba(0,0,0,0.28); }
.float-icon {
  width: 56px; height: 56px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.float-icon .icon-svg { width: 26px; height: 26px; }
/* Label reveals on hover — pill expands to the left */
.float-label {
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: max-width 0.28s ease, opacity 0.2s ease, padding 0.28s ease;
  padding-right: 0;
}
.float-btn:hover .float-label { max-width: 160px; opacity: 1; padding-right: 22px; }
.call-float { background: var(--color-accent); }
.call-float:hover { background: var(--color-accent-dark); }
.whatsapp-float { background: #25D366; }
.whatsapp-float:hover { background: #1DA851; }

/* Gentle attention pulse on the call button */
@keyframes arts-pulse {
  0%   { box-shadow: var(--shadow-lg), 0 0 0 0 rgba(var(--color-accent-rgb), 0.45); }
  70%  { box-shadow: var(--shadow-lg), 0 0 0 14px rgba(var(--color-accent-rgb), 0); }
  100% { box-shadow: var(--shadow-lg), 0 0 0 0 rgba(var(--color-accent-rgb), 0); }
}
@media (prefers-reduced-motion: no-preference) {
  .call-float { animation: arts-pulse 2.6s infinite; }
}

/* =====================
   STICKY MOBILE CALL BAR (two full-width buttons, one row)
   ===================== */
.mobile-call-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: var(--color-primary);
  box-shadow: 0 -6px 24px rgba(0,0,0,0.22);
}
.mobile-call-bar-inner { display: grid; grid-template-columns: 1fr 1fr; }
.mobile-call-btn, .mobile-whatsapp-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  color: #fff; text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600; font-size: 16px; letter-spacing: 0.02em;
  padding: 15px 10px;
  padding-bottom: max(15px, env(safe-area-inset-bottom));
}
.mobile-call-btn .icon-svg, .mobile-whatsapp-btn .icon-svg { width: 20px; height: 20px; }
.mobile-call-btn { background: var(--color-accent); }
.mobile-call-btn:active { background: var(--color-accent-dark); }
.mobile-whatsapp-btn { background: #25D366; }
.mobile-whatsapp-btn:active { background: #1DA851; }
@media (max-width: 767px) {
  .mobile-call-bar { display: block; }
  body { padding-bottom: 62px; }
  .float-stack { display: none; }
}

/* =====================
   FOOTER
   ===================== */
.site-footer { background: var(--color-secondary); color: rgba(255,255,255,0.75); padding: var(--spacing-xl) 0 var(--spacing-md); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: var(--spacing-md);
}
.footer-brand .footer-logo-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-brand .footer-logo-badge img { height: 40px; width: auto; display: block; }
.footer-logo-text { font-family: var(--font-heading); font-weight: 700; font-size: 17px; color: #fff; }
.footer-brand p { font-size: 14px; opacity: 0.75; margin-bottom: 14px; color: rgba(255,255,255,0.92); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 15px;
}
.footer-social a:hover { background: var(--color-accent); }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 13px; opacity: 0.6; flex-wrap: wrap; gap: 8px; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* =====================
   404
   ===================== */
.error-404 { text-align: center; padding: var(--spacing-2xl) 0; }
.error-404 .error-code { font-family: var(--font-heading); font-size: 100px; font-weight: 700; color: rgba(var(--color-accent-rgb), 0.15); line-height: 1; }

/* =====================
   CONVERSION SIDEBAR (service / sub pages)
   ===================== */
.sidebar-sticky { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 18px; }
.sidebar-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
/* Quote card — dark, high-contrast conversion block */
.sidebar-quote {
  background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-md);
}
.sidebar-quote-kicker {
  display: inline-block;
  background: rgba(var(--color-accent-rgb), 0.9);
  color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}
.sidebar-quote h3 { color: #fff; font-size: 23px; margin-bottom: 8px; }
.sidebar-quote p { color: rgba(255,255,255,0.82); font-size: 14.5px; margin-bottom: 18px; }
.sidebar-quote .btn { margin-bottom: 10px; }
.sidebar-quote .btn:last-of-type { margin-bottom: 0; }
.sidebar-quote .btn-phone { background: #fff; color: var(--color-primary); border-color: #fff; }
.sidebar-quote .btn-phone:hover { background: var(--color-surface); color: var(--color-primary); }
.sidebar-quote .btn-phone .icon-svg { color: var(--color-accent); }
.sidebar-trust { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.14); display: flex; flex-direction: column; gap: 9px; }
.sidebar-trust li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,0.9); }
.sidebar-trust li .icon-svg { color: #4ade80; flex-shrink: 0; width: 18px; height: 18px; }

/* Services list card */
.sidebar-services h4, .sidebar-hours h4 { font-size: 16px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--color-border); }
.sidebar-service-list { display: flex; flex-direction: column; gap: 2px; }
.sidebar-service-list a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 8px;
  font-size: 14px; font-weight: 600; color: var(--color-text);
  transition: background 0.15s, color 0.15s;
}
.sidebar-service-list a .icon-svg { color: var(--color-accent); flex-shrink: 0; width: 18px; height: 18px; }
.sidebar-service-list a:hover { background: var(--color-surface); color: var(--color-accent); }
.sidebar-service-list li.is-current a { background: rgba(var(--color-accent-rgb), 0.08); color: var(--color-accent); }
.sidebar-service-list li.is-current a::before { content: ''; }

/* Hours card */
.sidebar-hours-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; margin-bottom: 10px; color: var(--color-text-muted); }
.sidebar-hours-row span { display: flex; align-items: center; gap: 7px; }
.sidebar-hours-row .icon-svg { color: var(--color-accent); width: 18px; height: 18px; }
.sidebar-hours-row strong { color: var(--color-text); font-weight: 700; }
.sidebar-hours-note { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--color-text-muted); margin: 0; }
.sidebar-hours-note .icon-svg { color: var(--color-accent); width: 16px; height: 16px; }

/* On mobile the sticky sidebar becomes a normal stacked block */
@media (max-width: 960px) {
  .sidebar-sticky { position: static; }
}

/* =====================
   RELATED SERVICE CARDS (bottom of article)
   ===================== */
.related-cards-wrap { margin-top: var(--spacing-lg); padding-top: var(--spacing-lg); border-top: 1px solid var(--color-border); }
.related-cards-title { font-size: 22px; margin-bottom: var(--spacing-md); }
.related-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.related-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.related-card:hover { border-color: var(--color-accent); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.related-card-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: rgba(var(--color-accent-rgb), 0.10);
  color: var(--color-accent);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.related-card-icon .icon-svg { width: 24px; height: 24px; }
.related-card-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.related-card-name { font-family: var(--font-heading); font-weight: 600; font-size: 15px; color: var(--color-text); line-height: 1.25; }
.related-card-cta { display: flex; align-items: center; gap: 3px; font-size: 12.5px; font-weight: 600; color: var(--color-accent); }
.related-card-cta .icon-svg { width: 14px; height: 14px; }

/* =====================
   INNER-PAGE CTA BAND (full-width, centered)
   ===================== */
.inner-cta {
  background:
    radial-gradient(circle at 15% 20%, rgba(var(--color-accent-rgb), 0.28) 0%, transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(var(--color-accent-rgb), 0.20) 0%, transparent 45%),
    linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: #fff;
  padding: var(--spacing-xl) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.inner-cta::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 22px);
  pointer-events: none;
}
.inner-cta-content { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.inner-cta-content .kicker { background: rgba(var(--color-accent-rgb), 0.9); color: #fff; }
.inner-cta-content h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); margin-bottom: 14px; line-height: 1.1; }
.inner-cta-content p { color: rgba(255,255,255,0.82); font-size: 18px; margin: 0 auto var(--spacing-md); max-width: 600px; }
.inner-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.inner-cta-badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px;
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255,255,255,0.14);
}
.inner-cta-badges span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.88); }
.inner-cta-badges .icon-svg { color: var(--color-accent); width: 19px; height: 19px; }
@media (max-width: 560px) {
  .inner-cta { padding: var(--spacing-lg) 0; }
  .inner-cta-actions { flex-direction: column; }
  .inner-cta-actions .btn { width: 100%; justify-content: center; }
}

/* =====================
   SCHEMA (hidden)
   ===================== */
.schema-hidden { display: none !important; }
