/*
Theme Name: Abu Al-Hadad Demolition & Contracting (مؤسسة أبو الهداد)
Author: Abu Al-Hadad Team
Description: قالب ووردبريس احترافي متكامل مصمم خصيصاً لمؤسسات هدم المباني والعمائر والفلل، ترحيل الأنقاض، وفك الهناجر في المملكة العربية السعودية مع دعم كامل للغة العربية RTL وتخصيص الأقسام.
Version: 2.5.14
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: abu-alhadad
Domain Path: /languages
Tags: demolition, contracting, arabic, rtl-support, custom-colors, custom-menu, featured-images, theme-options, translation-ready, block-styles
*/

/* ==========================================================================
   1. Base Theme Variables & Reset
   ========================================================================== */
:root {
  color-scheme: only light !important;
  --navy: #1b2c4b;
  --navy-deep: #1b2c4b;
  --orange: #ff8602;
  --orange-hover: #e67700;
  --gray: #999897;
  --paper: #f7f8fa;
  --paper-card: #f1f5f9;
  --surface: #ffffff;
  --heading: #1b2c4b;
  --ink: #26344b;
  --muted: #666565;
  --line: #e2e5e9;
  --white: #ffffff;
  --header-bg: #ffffff;
  --header-text: #1b2c4b;
  --topbar-bg: #1b2c4b;
  --topbar-text: #ffffff;
  --button-text: #ffffff;
  --stats-number: #df7200;
  --footer-logo-width: 180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --font-main: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-sm: 0 2px 8px rgba(16, 24, 45, 0.04);
  --shadow-md: 0 8px 24px rgba(16, 24, 45, 0.08);
  --shadow-lg: 0 16px 40px rgba(16, 24, 45, 0.12);
  --shadow-orange: 0 10px 25px rgba(255, 134, 2, 0.28);
  --footer-bg: #1b2c4b;
  --footer-heading: #ffffff;
  --footer-text: #d4dae3;
  --footer-link: #e2e6ec;
  --footer-hover: #ff8602;
  --footer-border: #40506d;
  --footer-copyright: #c2cad6;
  --footer-copyright-bg: #14243f;
}

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

html {
  color-scheme: only light !important;
  scroll-behavior: smooth;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
}

body {
  color-scheme: only light !important;
  margin: 0;
  padding: 0;
  background-color: var(--white);
  color: var(--ink);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

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

.abu-icon {
  display: block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  overflow: visible;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

/* ==========================================================================
   2. Typography & Headings
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 800;
  color: var(--navy-deep);
  margin-top: 0;
  margin-bottom: 0.5rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.25; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.35rem); line-height: 1.35; }
h3 { font-size: 1.25rem; line-height: 1.4; }
h4 { font-size: 1.1rem; line-height: 1.4; }

p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--muted);
}

/* ==========================================================================
   3. Buttons & Interactive Controls
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
  display: flex;
}

.btn-primary, .btn-orange {
  background-color: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover, .btn-orange:hover {
  background-color: var(--orange-hover);
  box-shadow: 0 14px 32px rgba(255, 134, 2, 0.4);
  color: var(--white);
}

.btn-ghost {
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
}

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

.btn-white {
  background-color: var(--white);
  color: var(--navy-deep);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background-color: #f1f5f9;
}

/* ==========================================================================
   4. Site Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.topbar {
  background-color: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-welcome {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-mini {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-mini a {
  color: rgba(255, 255, 255, 0.9);
}

.contact-mini a:hover {
  color: var(--orange);
}

.nav-wrap {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  min-height: 84px;
  padding: 10px 0;
  gap: clamp(12px, 1.6vw, 26px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-avatar {
  width: 46px;
  height: 46px;
  background-color: var(--navy-deep);
  color: var(--orange);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 17px;
  box-shadow: 0 4px 12px rgba(27, 44, 75, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  font-size: 18px;
  font-weight: 900;
  color: var(--navy-deep);
  line-height: 1.2;
}

.brand-text small {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.main-navigation {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  justify-content: center;
}

.nav-menu {
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: clamp(10px, 1.5vw, 26px);
  align-items: center;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  font-weight: 700;
  font-size: clamp(13.5px, 1.05vw, 15px);
  color: var(--navy-deep);
  padding: 8px 2px;
  display: inline-block;
  position: relative;
  white-space: nowrap;
  line-height: 1.4;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background-color: var(--orange);
  transition: width 0.25s ease;
}

.nav-menu a:hover {
  color: var(--orange);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  flex: 0 0 auto;
  white-space: nowrap;
}

.nav-mobile-extras {
  display: none;
}

.nav-overlay {
  display: none;
}

.nav-overlay[hidden] {
  display: none !important;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background-color: var(--navy-deep);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* ==========================================================================
   5. Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--navy-deep) 0%, #152238 100%);
  color: var(--white);
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 134, 2, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-title {
  color: var(--white);
  margin-bottom: 20px;
}

.hero-title span {
  display: block;
}

.highlight-orange {
  color: var(--orange);
}

.hero-description {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.trust-check {
  color: var(--orange);
  display: inline-flex;
  font-size: 18px;
}

.trust-check-icon {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

/* Hero Machinery Image Showcase & Floating Badges */
.hero-image-showcase {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(to bottom, #1b2c4b, #10182d);
  min-height: 380px;
}

.hero-machinery-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.hero-image-card:hover .hero-machinery-img {
  transform: scale(1.04);
}

.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0d1424 0%, rgba(13, 20, 36, 0.3) 60%, transparent 100%);
  pointer-events: none;
}

.hero-float-badge {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.hero-float-badge.top-right {
  top: 16px;
  right: 16px;
  background: rgba(16, 24, 45, 0.9);
  border: 1px solid rgba(255, 134, 2, 0.5);
  color: var(--white);
}

.hero-float-badge.top-left {
  top: 16px;
  left: 16px;
  background: rgba(24, 161, 96, 0.95);
  border: 1px solid #18a160;
  color: var(--white);
}

.hero-bottom-overlay-card {
  position: absolute;
  bottom: 16px;
  right: 16px;
  left: 16px;
  z-index: 5;
  background: rgba(16, 24, 45, 0.95);
  backdrop-filter: blur(10px);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.overlay-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.overlay-card-header .icon-wrap {
  font-size: 20px;
}

.overlay-card-header strong {
  display: block;
  font-size: 13px;
  color: var(--white);
  line-height: 1.3;
}

.overlay-card-header small {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

.projects-count-pill {
  margin-right: auto;
  font-size: 11px;
  font-weight: 800;
  color: var(--orange);
  background: rgba(255, 134, 2, 0.15);
  border: 1px solid rgba(255, 134, 2, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.overlay-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.overlay-card-actions .btn-sm {
  padding: 8px 12px;
  font-size: 12px;
  border-radius: var(--radius-sm);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.hero-location-bar {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-location-bar .loc-icon {
  display: inline-flex;
  color: var(--orange);
}

.location-svg-icon {
  width: 20px;
  height: 20px;
}

.hero-location-bar .loc-text {
  flex-grow: 1;
}

.hero-location-bar .loc-text strong {
  display: block;
  color: var(--white);
  font-size: 12px;
}

.hero-location-bar .loc-text small {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
}

.hero-location-bar .loc-link {
  color: var(--orange);
  font-weight: 800;
  font-size: 12px;
  white-space: nowrap;
}

.hero-location-bar .loc-link:hover {
  text-decoration: underline;
}

.calc-form .form-group {
  margin-bottom: 16px;
}

.calc-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background-color: var(--paper);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-control:focus {
  border-color: var(--orange);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 134, 2, 0.15);
}

/* ==========================================================================
   6. Stats Section
   ========================================================================== */
.stats-section {
  position: relative;
  margin-top: -40px;
  z-index: 10;
  margin-bottom: 50px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.stat-card {
  text-align: center;
  position: relative;
}

.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: var(--line);
}

.stat-icon {
  display: flex;
  justify-content: center;
  color: var(--navy);
  margin-bottom: 6px;
}

.stat-svg-icon {
  width: 28px;
  height: 28px;
  stroke-width: 1.75;
}

.stat-number {
  font-size: 32px;
  font-weight: 900;
  color: var(--stats-number, #df7200);
  line-height: 1.1;
  font-family: var(--font-main);
}

.stat-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy-deep);
  margin-top: 4px;
}

.stat-desc {
  font-size: 12px;
  color: var(--muted);
}

/* ==========================================================================
   7. Generic Section Structures & Headings
   ========================================================================== */
.section {
  padding: 80px 0;
}

.heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 32px;
  flex-wrap: wrap;
}

.section-kicker {
  display: inline-block;
  color: var(--orange);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.section-title {
  margin-bottom: 0;
}

.section-lead {
  font-size: 16px;
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 0;
}

.light-text h2, .light-text .section-title {
  color: var(--white);
}

.light-text p, .light-text .section-lead {
  color: rgba(255, 255, 255, 0.75);
}

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

/* ==========================================================================
   8. About Us Section
   ========================================================================== */
.about-section {
  background-color: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.about-card {
  background-color: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 134, 2, 0.3);
}

.about-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--navy);
  border: 1px solid rgba(255, 134, 2, .25);
  border-color: color-mix(in srgb, var(--orange) 25%, transparent);
  border-radius: 12px;
  background: #fff3e6;
  background: color-mix(in srgb, var(--orange) 10%, var(--surface, #fff));
  margin-bottom: 16px;
}

.about-svg-icon {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

.about-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.about-card p {
  font-size: 14px;
  line-height: 1.6;
  flex-grow: 1;
}

.about-badge {
  display: inline-block;
  align-self: flex-start;
  background-color: var(--paper);
  color: var(--navy-deep);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  margin-top: 12px;
}

/* ==========================================================================
   9. Services Section
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  position: relative;
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-img-wrap {
  position: relative;
  display: block;
  height: 220px;
  overflow: hidden;
}

.service-img-static {
  cursor: default;
}

.service-card-page-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}

.service-card.has-page-link {
  cursor: pointer;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.05);
}

.service-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background-color: rgba(16, 24, 45, 0.85);
  color: var(--white);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.service-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-body h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.service-body p {
  font-size: 14px;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* ==========================================================================
   10. Why Us Section
   ========================================================================== */
.why-us-section {
  background: linear-gradient(135deg, var(--navy-deep) 0%, #152238 100%);
  color: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform 0.25s, background-color 0.25s;
}

.why-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--orange);
}

.why-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--orange);
  margin-bottom: 12px;
  font-family: var(--font-main);
}

.why-card h3 {
  color: var(--white);
  font-size: 17px;
  margin-bottom: 10px;
}

.why-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ==========================================================================
   11. Process Steps Section
   ========================================================================== */
.process-section {
  background-color: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-card {
  background-color: var(--paper);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  border: 1px solid var(--line);
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.step-badge {
  width: 44px;
  height: 44px;
  background-color: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(255, 134, 2, 0.35);
  transition: transform .25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .process-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 134, 2, .35);
    border-color: color-mix(in srgb, var(--orange) 35%, transparent);
    box-shadow: 0 12px 28px rgba(27, 44, 75, .1);
  }

  .process-card:hover .step-badge {
    transform: scale(1.08);
  }
}

.process-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.process-card p {
  font-size: 14px;
  margin-bottom: 0;
}

/* ==========================================================================
   12. Projects Section
   ========================================================================== */
.projects-section {
  background-color: var(--paper);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.project-img-box {
  position: relative;
  height: 240px;
}

.project-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proj-city-tag {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background-color: rgba(16, 24, 45, 0.85);
  color: var(--white);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
}

.project-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-info h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.project-info p {
  font-size: 14px;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* ==========================================================================
   13. Partners Section
   ========================================================================== */
.partners-section {
  background-color: var(--white);
}

.partners-header {
  margin-bottom: 40px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.partner-card {
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, border-color 0.2s;
}

.partner-card:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
}

.partner-icon {
  display: inline-flex;
  color: var(--navy);
}

.partner-svg-icon {
  width: 28px;
  height: 28px;
}

.partner-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-deep);
}

/* ==========================================================================
   14. Compact Coverage List
   ========================================================================== */
.coverage-section {
  background-color: var(--paper);
}

.coverage-layout {
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(0, 1.5fr);
  align-items: start;
  gap: clamp(36px, 6vw, 76px);
}

.coverage-copy {
  padding-top: 10px;
}

.coverage-copy .section-title {
  margin-bottom: 14px;
}

.coverage-copy .section-lead {
  max-width: 420px;
}

.coverage-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.coverage-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  min-height: 112px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.coverage-item:nth-child(odd) {
  border-inline-end: 1px solid var(--line);
}

.coverage-item:nth-last-of-type(-n + 2) {
  border-bottom: 0;
}

.city-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--orange);
  border-radius: 50%;
  background: rgba(255, 134, 2, .1);
}

.coverage-pin-icon {
  width: 21px;
  height: 21px;
  stroke-width: 2;
}

.coverage-item h3 {
  font-size: 17px;
  margin-bottom: 4px;
}

.coverage-item p {
  font-size: 13px;
  margin-bottom: 0;
}

.coverage-note {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 24px;
  color: var(--navy);
  background: rgba(255, 134, 2, .07);
  border-top: 1px solid rgba(255, 134, 2, .18);
  font-size: 13px;
  font-weight: 700;
}

/* ==========================================================================
   15. Blog Section
   ========================================================================== */
.blog-section {
  background-color: var(--white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background-color: var(--paper);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-meta {
  margin-bottom: 12px;
}

.blog-date {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.blog-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-card p {
  font-size: 14px;
  flex-grow: 1;
  margin-bottom: 20px;
}

.read-more-link {
  color: var(--orange);
  font-weight: 700;
  font-size: 14px;
  align-self: flex-start;
}

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

/* ==========================================================================
   16. FAQ Section
   ========================================================================== */
.faq-section {
  background-color: var(--paper);
}

.faq-list {
  max-width: 860px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item details {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item details[open] {
  border-color: var(--orange);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 20px 24px;
  font-weight: 800;
  font-size: 16px;
  color: var(--navy-deep);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-toggle {
  font-size: 22px;
  color: var(--orange);
  font-weight: 700;
  transition: transform 0.25s ease;
}

details[open] .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 15px;
  line-height: 1.7;
}

.faq-answer p {
  margin-bottom: 0;
}

/* ==========================================================================
   17. CTA Section
   ========================================================================== */
.cta-section {
  padding: 60px 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--navy-deep) 0%, #152238 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-box::after {
  content: '';
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 134, 2, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-badge {
  display: inline-block;
  background-color: var(--orange);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.cta-content h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 10px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  margin-bottom: 0;
  max-width: 600px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 240px;
  position: relative;
  z-index: 2;
}

.cta-actions .cta-wa-btn {
  color: var(--navy);
  background-color: var(--orange);
  box-shadow: var(--shadow-orange);
}

.cta-actions .cta-wa-btn:hover {
  color: var(--white);
  background-color: var(--orange-hover);
  box-shadow: 0 14px 32px rgba(255, 134, 2, .35);
}

.cta-actions .cta-phone-btn {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .35);
  background-color: rgba(255, 255, 255, .1);
  box-shadow: none;
}

.cta-actions .cta-phone-btn:hover {
  color: var(--navy);
  border-color: var(--white);
  background-color: var(--white);
}

.cta-actions .cta-wa-btn:focus-visible,
.cta-actions .cta-phone-btn:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

/* ==========================================================================
   18. Site Footer
   ========================================================================== */
.site-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--footer-border);
}

.footer-brand h3 {
  color: var(--footer-heading);
  font-size: 20px;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--footer-text);
  font-size: 14px;
  line-height: 1.7;
  max-width: 380px;
}

.footer-links h4, .footer-contact h4 {
  color: var(--footer-heading);
  font-size: 16px;
  margin-bottom: 18px;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--footer-link);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--footer-hover);
  padding-right: 6px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--footer-text);
}

.c-label {
  color: var(--footer-hover);
  font-weight: 700;
}

.contact-item a {
  color: var(--footer-link);
}

.footer-wa-btn {
  display: inline-flex;
  margin-top: 8px;
  background-color: #087A36;
  color: var(--white) !important;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  align-self: flex-start;
}

.footer-wa-btn:hover {
  background-color: #06672E;
  color: var(--white) !important;
}

.footer-wa-btn:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

.copyright {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 0;
  font-size: 13px;
  color: var(--footer-copyright);
  text-align: center;
}

.copyright-text {
  display: block;
  white-space: nowrap;
}

.footer-copyright-bar {
  background: var(--footer-copyright-bg);
}

.footer-trust-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 520px;
  margin-top: 22px;
}

.footer-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--footer-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, .025);
}

.footer-trust-image {
  display: flex;
  flex: 0 0 60px;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 52px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

.footer-trust-image img {
  width: 100%;
  height: 100%;
  padding: 4px;
  object-fit: contain;
}

.footer-trust-image.is-linked:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}

.footer-trust-image.is-linked:focus-visible {
  outline: 3px solid var(--footer-hover);
  outline-offset: 3px;
}

.footer-trust-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.footer-trust-copy small {
  color: var(--footer-text);
  font-size: 11px;
  line-height: 1.5;
}

.footer-trust-copy strong {
  color: var(--footer-heading);
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

/* ==========================================================================
   19. Floating Quick Contact Action Buttons
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #087A36;
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(8, 122, 54, 0.4);
  transition: transform 0.25s, box-shadow 0.25s;
}

.float-wa:hover {
  transform: translateY(-3px) scale(1.03);
  background-color: #06672E;
  box-shadow: 0 12px 30px rgba(8, 122, 54, 0.6);
  color: var(--white);
}

.float-wa:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.float-wa svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.float-call {
  width: 50px;
  height: 50px;
  background-color: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--orange);
  transition: transform 0.25s;
}

.float-call svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.float-call:hover {
  transform: translateY(-3px) scale(1.05);
}

/* ==========================================================================
   20. Scroll Animations & Keyframes
   ========================================================================== */
@keyframes animFadeUp {
  from { opacity: 0; transform: translate3d(0, 32px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes animFadeDown {
  from { opacity: 0; transform: translate3d(0, -32px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes animZoomIn {
  from { opacity: 0; transform: scale3d(0.92, 0.92, 0.92); }
  to { opacity: 1; transform: scale3d(1, 1, 1); }
}
@keyframes animSlideRight {
  from { opacity: 0; transform: translate3d(40px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes animSlideLeft {
  from { opacity: 0; transform: translate3d(-40px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes animFlipUp {
  from { opacity: 0; transform: perspective(600px) rotateX(16deg) translate3d(0, 24px, 0); }
  to { opacity: 1; transform: perspective(600px) rotateX(0deg) translate3d(0, 0, 0); }
}
@keyframes animScaleBlur {
  from { opacity: 0; filter: blur(8px); transform: scale(0.95); }
  to { opacity: 1; filter: blur(0); transform: scale(1); }
}

.theme-anim-fade-up { animation-name: animFadeUp; animation-fill-mode: both; }
.theme-anim-fade-down { animation-name: animFadeDown; animation-fill-mode: both; }
.theme-anim-zoom-in { animation-name: animZoomIn; animation-fill-mode: both; }
.theme-anim-slide-right { animation-name: animSlideRight; animation-fill-mode: both; }
.theme-anim-slide-left { animation-name: animSlideLeft; animation-fill-mode: both; }
.theme-anim-flip-up { animation-name: animFlipUp; animation-fill-mode: both; transform-origin: center top; }
.theme-anim-scale-blur { animation-name: animScaleBlur; animation-fill-mode: both; }

.theme-speed-slow { animation-duration: 900ms; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
.theme-speed-normal { animation-duration: 500ms; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
.theme-speed-fast { animation-duration: 260ms; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }

/* ==========================================================================
   21. Responsive Breakpoints & Mobile Optimization
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-card:nth-child(2)::after {
    display: none;
  }
  .about-grid, .why-grid, .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid, .projects-grid, .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .nav-cta {
    display: none;
  }
  .hero-section {
    padding: 40px 0 60px;
  }
  .stats-section {
    margin-top: 0;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    padding: 20px;
  }
  .about-grid, .why-grid, .process-grid, .services-grid, .projects-grid, .blog-grid {
    grid-template-columns: 1fr;
  }
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-box {
    flex-direction: column;
    padding: 32px 24px;
    text-align: center;
  }
  .cta-actions {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .copyright {
    flex-direction: column;
    text-align: center;
  }
  .floating-actions {
    bottom: 16px;
    left: 16px;
  }
}

/* ========================================================================== 
   22. Version 2 responsive and component refinements
   ========================================================================== */
.site-header:not(.is-sticky) {
  position: relative;
  top: auto;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 0 1 auto;
}

.site-branding__logo {
  flex: 0 0 auto;
  display: block;
  line-height: 0;
}

.custom-logo,
.default-logo {
  width: auto;
  height: 58px;
  max-width: 154px;
  object-fit: contain;
}

.brand-text {
  min-width: 0;
}

.brand-text strong,
.brand-text small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main-navigation {
  min-width: 0;
}

.nav-menu .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  display: none;
  min-width: 220px;
  margin: 0;
  padding: 10px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu {
  display: block;
}

.hero-grid > *,
.heading-row > *,
.footer-grid > * {
  min-width: 0;
}

.hero-title {
  font-size: clamp(2.2rem, 4.3vw, 4.65rem);
  line-height: 1.18;
  text-wrap: balance;
}

.hero-image-card {
  min-height: 0;
  aspect-ratio: 4 / 3;
  margin: 0;
  isolation: isolate;
}

.hero-machinery-img {
  height: 100%;
  min-height: 0;
}

.hero-single-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 36px);
  padding: 10px 15px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(16, 24, 45, .86);
  backdrop-filter: blur(8px);
}

.card-actions {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.service-card .card-actions {
  align-items: stretch;
  flex-direction: column;
}

.service-request-btn {
  width: 100%;
}

.card-actions .btn {
  padding: 9px 16px;
  font-size: 13px;
}

.card-actions.only-request {
  justify-content: flex-start;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin: -18px 0 30px;
}

.portfolio-filter {
  padding: 8px 16px;
  color: var(--navy-deep);
  font-family: inherit;
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

.portfolio-filter:hover,
.portfolio-filter.is-active {
  color: #fff;
  border-color: var(--orange);
  background: var(--orange);
}

.project-card[hidden] {
  display: none !important;
}

.layout-gallery .project-card {
  min-height: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.layout-gallery .project-gallery-image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #e9eef5;
}

.layout-gallery .project-gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.layout-gallery .project-card:hover .project-gallery-image img {
  transform: scale(1.025);
}

.project-gallery-caption {
  padding: 14px 4px 0;
  background: transparent;
}

.project-gallery-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
}

.project-gallery-caption h3 {
  margin: 8px 0 0;
  color: var(--navy-deep);
  font-size: 18px;
  line-height: 1.45;
}

.project-gallery-caption h3 a {
  color: inherit;
}

.project-gallery-caption h3 a:hover {
  color: var(--orange);
}

.layout-gallery .project-category {
  padding: 0;
  color: var(--orange);
  border-radius: 0;
  background: transparent;
}

.layout-gallery .project-location {
  color: var(--muted);
}

.project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #fff;
  background: linear-gradient(to top, rgba(9, 16, 31, .97) 0%, rgba(9, 16, 31, .36) 62%, rgba(9, 16, 31, .06) 100%);
}

.project-overlay h3 {
  margin: 8px 0 6px;
  color: #fff;
  font-size: 19px;
}

.project-overlay p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
}

.project-category,
.project-location {
  width: fit-content;
  font-size: 12px;
  font-weight: 700;
}

.project-location,
.entry-location {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.project-location-icon,
.entry-location-icon {
  width: 15px;
  height: 15px;
  color: var(--orange);
  stroke-width: 2;
}

.project-category {
  padding: 4px 10px;
  color: #fff;
  border-radius: 999px;
  background: var(--orange);
}

.layout-cards .project-card {
  min-height: 330px;
}

.layout-cards .project-overlay {
  position: relative;
  min-height: 190px;
  background: var(--navy-deep);
}

.blog-card {
  padding: 0;
  overflow: hidden;
  background: var(--white);
}

.blog-image {
  display: block;
  height: 215px;
  overflow: hidden;
  background: var(--paper-card);
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.045);
}

.blog-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.blog-card-content .read-more-link {
  margin-top: auto;
}

.partner-card img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.rev-avatar {
  overflow: hidden;
}

.rev-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flexible-section {
  background: var(--white);
}

.flexible-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.flexible-image {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.flexible-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.flexible-image-right .flexible-image {
  order: -1;
}

.flexible-center .flexible-grid {
  display: block;
  max-width: 850px;
  text-align: center;
}

.flexible-center .flexible-content {
  margin-inline: auto;
}

.footer-logo {
  width: auto;
  height: 70px;
  max-width: 180px;
  margin-bottom: 14px;
  object-fit: contain;
}

.footer-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-menu li + li {
  margin-top: 8px;
}

.footer-menu a {
  color: var(--footer-link);
}

.footer-menu a:hover {
  color: var(--footer-hover);
}

.empty-state {
  padding: 26px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.page-intro-section {
  padding: 72px 0 34px;
  background: var(--paper);
}

.page-intro {
  max-width: 860px;
  margin-bottom: 40px;
}

.page-intro h1 {
  margin-bottom: 16px;
}

.page-copy {
  color: var(--ink);
  line-height: 1.9;
}

.page-copy > * {
  max-width: 850px;
}

.page-copy img {
  border-radius: var(--radius-md);
}

.page-featured-image {
  margin: 0 0 34px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.page-featured-image img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.single-post-layout {
  max-width: 920px;
}

.entry-header {
  margin-bottom: 28px;
}

.entry-thumbnail {
  margin: 0 0 32px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.entry-thumbnail img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.entry-taxonomy {
  color: var(--orange);
  font-size: 14px;
  font-weight: 700;
}

.entry-action {
  margin-top: 32px;
}

.contact-grid,
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.contact-card,
.feature-card {
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.contact-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  color: var(--navy);
  border-radius: 13px;
  background: rgba(255, 134, 2, .1);
  margin-bottom: 14px;
}

.contact-svg-icon {
  width: 28px;
  height: 28px;
  stroke-width: 1.8;
}

.contact-card h2,
.feature-card h2 {
  font-size: 19px;
}

.page-cta {
  margin-top: 34px;
  padding: 42px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: var(--navy-deep);
}

.page-cta h2 {
  color: #fff;
}

.page-cta p {
  max-width: 650px;
  margin-inline: auto;
  color: rgba(255, 255, 255, .72);
}

.reveal-ready {
  opacity: 0;
  transform: translateY(24px);
}

.reveal-ready.is-revealed {
  opacity: 1;
  transform: none;
  transition: opacity .55s ease, transform .55s ease;
}

@media (max-width: 1360px) {
  .brand-text small { font-size: 11.5px; }
  .nav-cta { padding-inline: 18px; font-size: 13.5px; }
}

@media (max-width: 1180px) {
  .brand-text small { display: none; }
  .custom-logo, .default-logo { height: 52px; max-width: 132px; }
  .nav-cta { padding-inline: 15px; font-size: 13px; }
}

@media (max-width: 1100px) {
  .nav-wrap { position: relative; min-height: 76px; }
  .brand-text small { display: block; }
  .brand-text strong { white-space: normal; }
  .mobile-toggle { display: flex; z-index: 52; margin-right: auto; }
  .nav-cta { display: none; }
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(15, 23, 42, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }
  .nav-overlay.is-visible { opacity: 1; pointer-events: auto; }
  .main-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 50;
    display: none;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    padding: 14px;
    border: 1px solid var(--line);
    border-top: 3px solid var(--orange);
    border-radius: 0 0 16px 16px;
    background: #fff;
    box-shadow: var(--shadow-lg);
  }
  .main-navigation.is-open { display: block; }
  .main-navigation .nav-menu {
    position: static;
    inset: auto;
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .main-navigation .nav-menu > li { width: 100%; border-bottom: 1px solid var(--line); }
  .main-navigation .nav-menu > li:last-child { border-bottom: 0; }
  .nav-menu a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
    font-size: 15.5px;
    border-radius: 8px;
    white-space: normal;
  }
  .nav-menu a:hover { background: var(--paper); }
  .nav-menu a::after { display: none; }
  .nav-menu > li.current-menu-item > a,
  .nav-menu > li.current_page_item > a,
  .nav-menu > li.is-section-active > a {
    color: var(--orange);
    background: var(--paper);
  }
  .main-navigation.has-section-active .nav-menu > li.current-menu-item:not(.is-section-active) > a,
  .main-navigation.has-section-active .nav-menu > li.current_page_item:not(.is-section-active) > a,
  .main-navigation.has-section-active .nav-menu > li.abu-menu-default-current:not(.is-section-active) > a {
    color: var(--navy-deep);
    background: transparent;
  }
  .nav-menu .sub-menu { position: static; display: block; min-width: 0; padding: 0 16px 4px 0; border: 0; box-shadow: none; }
  .nav-mobile-extras {
    display: block;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .nav-mobile-cta {
    display: flex;
    width: 100%;
    justify-content: center;
  }
  .nav-mobile-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
    margin-top: 10px;
    font-size: 13.5px;
    font-weight: 700;
  }
  .nav-mobile-contact a { color: var(--muted); }
  .nav-mobile-contact a:hover { color: var(--orange); }
  .mobile-toggle.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .mobile-toggle.is-active span:nth-child(2) { opacity: 0; }
  .mobile-toggle.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  body.menu-open { overflow: hidden; }
}

@media (max-width: 900px) {
  .hero-section { padding: 58px 0 76px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-content { max-width: 720px; }
  .hero-image-showcase { width: 100%; }
  .coverage-layout { grid-template-columns: 1fr; gap: 30px; }
  .coverage-copy .section-lead { max-width: 620px; }
  .services-grid, .projects-grid, .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1200px); }
  .section { padding: 58px 0; }
  .nav-wrap { padding: 9px 0; }
  .custom-logo, .default-logo { height: 48px; max-width: 112px; }
  .brand-text strong { max-width: 180px; font-size: 15px; }
  .hero-section { padding: 42px 0 56px; }
  .hero-grid { gap: 30px; }
  .hero-title { font-size: clamp(2rem, 11vw, 3.1rem); }
  .hero-description { font-size: 16px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; margin-bottom: 28px; }
  .hero-actions .btn { width: 100%; }
  .hero-trust-row { display: grid; gap: 10px; }
  .hero-image-card { aspect-ratio: 4 / 3; }
  .hero-location-bar { align-items: flex-start; flex-wrap: wrap; }
  .hero-location-bar .loc-link { width: 100%; padding-right: 30px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; padding: 18px 12px; }
  .stat-number { font-size: 26px; }
  .stat-title { font-size: 13px; }
  .stat-desc { display: none; }
  .heading-row { align-items: flex-start; margin-bottom: 32px; }
  .services-grid, .projects-grid, .blog-grid, .about-grid, .why-grid, .process-grid { grid-template-columns: 1fr; }
  .coverage-list { grid-template-columns: 1fr; }
  .coverage-item { min-height: 0; padding: 18px; }
  .coverage-item:nth-child(odd) { border-inline-end: 0; }
  .coverage-item:nth-last-of-type(-n + 2) { border-bottom: 1px solid var(--line); }
  .coverage-item:last-of-type { border-bottom: 0; }
  .coverage-note { padding: 14px 18px; }
  .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-trust-items { grid-template-columns: 1fr; max-width: 100%; }
  .service-img-wrap, .blog-image { height: 210px; }
  .layout-gallery .project-card { min-height: 0; }
  .layout-gallery .project-gallery-image { aspect-ratio: 4 / 3; }
  .project-overlay { padding: 20px; }
  .card-actions { align-items: stretch; flex-direction: column; }
  .card-actions .btn { width: 100%; }
  .flexible-grid { grid-template-columns: 1fr; gap: 28px; }
  .flexible-image { order: -1; }
  .cta-box { padding: 30px 22px; }
  .floating-actions { left: 12px; bottom: 12px; }
  .float-wa { width: 50px; height: 50px; justify-content: center; padding: 0; border-radius: 50%; }
  .float-wa span:last-child { display: none; }
  .contact-grid, .feature-cards { grid-template-columns: 1fr; }
  .page-cta { padding: 30px 22px; }
}

@media (max-width: 380px) {
  .brand-text strong { max-width: 130px; }
  .hero-title { font-size: 1.9rem; }
  .partners-grid { grid-template-columns: 1fr; }
}

/* Keep the site's authored light palette when the device requests dark mode. */
@media (prefers-color-scheme: dark) {
  :root,
  html,
  body {
    color-scheme: only light !important;
  }

  html,
  body {
    background-color: #fff !important;
  }

  body {
    color: var(--ink) !important;
  }

  .site-header,
  .main-navigation {
    color-scheme: only light !important;
    background-color: var(--white) !important;
  }

  input:not([type="button"]):not([type="submit"]):not([type="reset"]),
  textarea,
  select,
  option {
    color-scheme: only light !important;
    color: var(--ink) !important;
    border-color: var(--line) !important;
    background-color: var(--white) !important;
  }

  input::placeholder,
  textarea::placeholder {
    color: var(--muted) !important;
    opacity: 1;
  }

  img,
  picture,
  video,
  canvas,
  svg {
    filter: none !important;
    mix-blend-mode: normal !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   16. RTL Alignment Corrections
   ========================================================================== */
body,
.section,
.container,
.heading-row,
.hero-content,
.service-body,
.project-gallery-caption,
.project-overlay,
.review-card {
  direction: rtl;
  text-align: right;
}

.hero-title,
.hero-description,
.hero-badge,
.section-kicker,
.section-title,
.section-lead,
.service-body h3,
.service-body p,
.project-overlay h3,
.project-overlay p,
.project-gallery-caption h3,
.card-title,
.card-text {
  text-align: right;
  unicode-bidi: plaintext;
}

.heading-row {
  justify-content: flex-start;
  align-items: flex-end;
}

.heading-row > div {
  flex: 1 1 340px;
}

.heading-row .section-lead {
  flex: 1 1 320px;
  text-align: right;
}

.text-center,
.text-center .section-title,
.text-center .section-lead,
.text-center .section-kicker,
.text-center p {
  text-align: center;
}

.hero-actions,
.hero-trust-row,
.card-actions {
  justify-content: flex-start;
}

[dir="ltr"],
a[href^="tel:"],
.phone-number {
  unicode-bidi: isolate;
}

/* ==========================================================================
   17. Project Booking Button
   ========================================================================== */
.project-actions {
  margin-top: 14px;
}

.layout-cards .project-actions {
  padding: 0 18px 18px;
}

.project-book-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 800;
  border-radius: var(--radius-md, 12px);
}

.project-book-btn span[aria-hidden="true"] {
  transition: transform .25s ease;
}

.project-book-btn:hover span[aria-hidden="true"] {
  transform: translateX(-4px);
}

/* ==========================================================================
   18. Testimonials / Reviews Section
   ========================================================================== */
.reviews-section {
  background: linear-gradient(180deg, var(--paper, #f5f7fa) 0%, #ffffff 100%);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 26px 24px;
  border: 1px solid var(--line, #e6e9ef);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px -22px rgba(11, 17, 32, .5);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  overflow: hidden;
}

.review-card::before {
  content: "”";
  position: absolute;
  top: -18px;
  left: 18px;
  color: rgba(255, 134, 2, .16);
  font-size: 96px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.review-card::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--orange, #ff8602);
  opacity: 0;
  transition: opacity .28s ease;
}

.review-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 134, 2, .45);
  box-shadow: 0 22px 44px -26px rgba(11, 17, 32, .55);
}

.review-card:hover::after {
  opacity: 1;
}

.review-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #ffb020;
  direction: ltr;
  text-align: right;
}

.review-star-icon {
  width: 17px;
  height: 17px;
}

.review-text {
  flex: 1;
  color: var(--ink, #1b2437);
  font-size: 15.5px;
  line-height: 1.9;
}

.review-text p {
  margin: 0 0 10px;
  text-align: right;
}

.review-text p:last-child {
  margin-bottom: 0;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line, #e6e9ef);
}

.rev-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  color: var(--navy);
  border-radius: 50%;
  background: var(--paper, #f1f4f9);
  overflow: hidden;
}

.review-user-icon {
  width: 23px;
  height: 23px;
  stroke-width: 1.9;
}

.rev-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.review-meta strong {
  display: block;
  color: var(--navy-deep, #0b1120);
  font-size: 15px;
}

.review-meta small {
  display: block;
  margin-top: 2px;
  color: var(--muted, #6b7280);
  font-size: 13px;
}

@media (max-width: 1024px) {
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .heading-row .section-lead { flex-basis: 100%; }
}

/* ==========================================================================
   Section headings — unified RTL stacked layout (v2.5.0)
   ========================================================================== */
.heading-row {
  display: block;
  margin-bottom: 44px;
  direction: rtl;
  text-align: right;
}

.heading-row > div {
  flex: none;
}

.heading-row .section-kicker {
  position: relative;
  padding-inline-start: 34px;
  padding-inline-end: 0;
  margin-bottom: 10px;
}

.heading-row .section-kicker::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-inline-end: auto;
  top: 50%;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  transform: translateY(-50%);
}

.heading-row .section-title {
  margin-bottom: 14px;
  text-wrap: balance;
}

.heading-row .section-lead {
  flex: none;
  max-width: 640px;
  margin: 0;
  text-align: right;
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted, #6b7280);
}

.light-text .heading-row .section-lead {
  color: rgba(255, 255, 255, 0.75);
}

.text-center .heading-row,
.heading-row.text-center {
  text-align: center;
}

.text-center .heading-row .section-lead,
.heading-row.text-center .section-lead {
  margin-inline: auto;
  text-align: center;
}

.text-center .heading-row .section-kicker::after,
.heading-row.text-center .section-kicker::after {
  display: none;
}

.text-center .heading-row .section-kicker,
.heading-row.text-center .section-kicker {
  padding-inline-start: 0;
  padding-inline-end: 0;
}

@media (max-width: 680px) {
  .heading-row { margin-bottom: 30px; }
  .heading-row .section-lead { font-size: 15.5px; }
}

/* ==========================================================================
   2.5.14 — subtle hover motion for the project process cards
   ========================================================================== */
body {
  background-color: var(--surface, var(--white));
  color: var(--ink);
}

h1, h2, h3, h4, h5, h6,
.section-title {
  color: var(--heading, var(--navy-deep));
}

.site-header {
  background-color: var(--header-bg, var(--white));
}

.topbar {
  color: var(--topbar-text, #fff);
  background-color: var(--topbar-bg, var(--navy));
}

.topbar a,
.topbar span {
  color: inherit;
}

.nav-menu a,
.brand-text strong,
.mobile-toggle {
  color: var(--header-text, var(--navy));
}

.mobile-toggle span {
  background-color: var(--header-text, var(--navy));
}

.btn-primary,
.btn-orange,
.header-cta,
.footer-wa-btn {
  color: var(--button-text, #fff);
  background-color: var(--orange);
}

.btn-primary:hover,
.btn-orange:hover,
.header-cta:hover,
.footer-wa-btn:hover {
  color: var(--button-text, #fff);
  background-color: var(--orange-hover);
}

.section-heading-center {
  width: min(100%, 820px);
  margin: 0 auto 46px;
  text-align: center;
  direction: rtl;
}

.section-heading-center .section-kicker {
  display: inline-block;
  margin: 0 0 10px;
  padding: 0;
  color: var(--orange);
  text-align: center;
}

.section-heading-center .section-kicker::before,
.section-heading-center .section-kicker::after {
  display: none !important;
  content: none !important;
}

.section-heading-center .section-title {
  margin: 0;
  text-align: center;
  text-wrap: balance;
}

.section-heading-center .section-lead {
  max-width: 680px;
  margin: 13px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
  text-align: center;
}

.section-heading-center.light-text .section-title {
  color: #fff;
}

.section-heading-center.light-text .section-lead {
  color: rgba(255, 255, 255, .78);
}

.coverage-section .section-heading-center {
  margin-bottom: 34px;
}

.coverage-list {
  width: 100%;
}

.footer-logo {
  width: min(100%, var(--footer-logo-width, 180px));
  height: auto;
  max-height: 90px;
}

/* Professional alternate hero: restrained layout, real project image, no floating badges. */
.hero-modern-section {
  position: relative;
  overflow: hidden;
  padding: clamp(62px, 7vw, 98px) 0 clamp(70px, 8vw, 108px);
  background: linear-gradient(135deg, var(--surface, #fff) 0%, var(--paper) 100%);
}

.hero-modern-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy) 0 72%, var(--orange) 72% 100%);
}

.hero-modern-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(410px, .95fr);
  align-items: center;
  gap: clamp(48px, 7vw, 88px);
}

.hero-modern-content {
  max-width: 650px;
}

.hero-modern-eyebrow {
  margin: 0 0 18px;
  padding-inline-start: 14px;
  color: var(--navy);
  border-inline-start: 3px solid var(--orange);
  font-size: 14px;
  font-weight: 800;
}

.hero-modern-title {
  margin: 0 0 22px;
  color: var(--navy);
  font-size: clamp(2.55rem, 5vw, 4.45rem);
  line-height: 1.18;
  letter-spacing: -.025em;
}

.hero-modern-title span {
  display: block;
}

.hero-modern-highlight {
  margin-top: 5px;
  color: var(--orange);
}

.hero-modern-description {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 2;
}

.hero-modern-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 31px;
}

.hero-modern-call {
  color: var(--navy);
  border: 1px solid var(--line);
  background: var(--surface, #fff);
}

.hero-modern-call:hover {
  color: var(--navy);
  border-color: var(--gray);
  background: var(--surface, #fff);
}

.hero-modern-phone-icon {
  width: 20px;
  height: 20px;
  color: currentColor;
}

.hero-modern-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin-top: 28px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}

.hero-modern-trust > div {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.hero-modern-check-icon {
  width: 18px;
  height: 18px;
  color: var(--orange);
  stroke-width: 2.2;
}

.hero-modern-visual {
  min-width: 0;
}

.hero-modern-figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  min-height: 460px;
  border-radius: 6px 32px 6px 6px;
  background: var(--navy);
}

.hero-modern-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(27, 44, 75, .35));
  pointer-events: none;
}

.hero-modern-figure img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.hero-modern-note {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  margin-top: 14px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface, #fff);
}

.hero-modern-note-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: var(--orange);
  border-radius: 50%;
  background: rgba(255, 134, 2, .1);
}

.hero-modern-pin-icon {
  width: 22px;
  height: 22px;
}

.hero-modern-note strong,
.hero-modern-note small {
  display: block;
}

.hero-modern-note strong {
  color: var(--navy);
  font-size: 14px;
}

.hero-modern-note small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 980px) {
  .hero-modern-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-modern-content {
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
  }

  .hero-modern-eyebrow {
    display: inline-block;
  }

  .hero-modern-description {
    margin-inline: auto;
  }

  .hero-modern-actions,
  .hero-modern-trust {
    justify-content: center;
  }

  .hero-modern-visual {
    width: min(100%, 720px);
    margin-inline: auto;
  }
}

@media (max-width: 680px) {
  .section-heading-center {
    margin-bottom: 31px;
  }

  .section-heading-center .section-lead {
    font-size: 15px;
  }

  .hero-modern-section {
    padding: 45px 0 66px;
  }

  .hero-modern-title {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .hero-modern-description {
    font-size: 15px;
    line-height: 1.9;
  }

  .hero-modern-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-modern-actions .btn {
    width: 100%;
  }

  .hero-modern-trust {
    display: grid;
    justify-content: stretch;
    text-align: right;
  }

  .hero-modern-figure,
  .hero-modern-figure img {
    min-height: 330px;
    height: 330px;
  }

  .hero-modern-figure {
    border-radius: 5px 22px 5px 5px;
  }
}
