/*
Theme Name: Desert Projects
Theme URI: https://thedesertprojects.com
Author: The Desert Projects
Author URI: https://thedesertprojects.com
Description: Corporate MEP engineering theme for The Desert Projects, Muscat, Oman. Built with ACF for full Gutenberg-compatible content editing. Features Barlow Condensed + DM Sans typography, AOS scroll animations, and a red/blue/charcoal design system.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
License URI: https://thedesertprojects.com
Text Domain: desert-projects
Tags: business, corporate, engineering, mep, oman
*/

/* ============================================================
   DESIGN SYSTEM — Contemporary Gulf Corporate / Clean Power
   Primary Red:   #D10000
   Primary Blue:  #0000CC
   Charcoal:      #1A1A1A
   Light BG:      #F5F5F5
   Border:        #E0E0E0
   Body Font:     DM Sans
   Display Font:  Barlow Condensed
   ============================================================ */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: #1A1A1A;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

/* ---- CONTAINER ---- */
.dp-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 1024px) {
  .dp-container { padding-left: 2rem; padding-right: 2rem; }
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: #1A1A1A;
}

/* ---- SECTION LABEL ---- */
.dp-section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #D10000;
}
.dp-section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: #D10000;
  flex-shrink: 0;
}

/* ---- BUTTONS ---- */
.dp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #D10000;
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border: 2px solid #D10000;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
  text-decoration: none;
}
.dp-btn-primary:hover {
  background: #A80000;
  border-color: #A80000;
  color: #ffffff;
  transform: translateY(-1px);
}

.dp-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
  text-decoration: none;
}
.dp-btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-1px);
}

.dp-btn-blue {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #0000CC;
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border: 2px solid #0000CC;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
  text-decoration: none;
}
.dp-btn-blue:hover {
  background: #0000A0;
  border-color: #0000A0;
  color: #ffffff;
  transform: translateY(-1px);
}

/* ---- NAVBAR ---- */
#dp-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
#dp-navbar.scrolled,
#dp-navbar.dp-navbar--scrolled {
  border-bottom-color: #E0E0E0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.dp-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.dp-navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.dp-navbar-logo-img {
  background: white;
  border-radius: 4px;
  padding: 3px 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dp-navbar-logo img,
.dp-navbar-logo-img img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}
.dp-navbar-logo-text-main {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1A1A1A;
  line-height: 1.1;
}
.dp-navbar-logo-text-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666666;
  line-height: 1;
}

/* Desktop nav links */
.dp-nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.dp-nav-link {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: #1A1A1A;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: color 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.dp-nav-link:hover,
.dp-nav-link.active,
.dp-nav-link.dp-nav-link--active { color: #D10000; }
.dp-nav-cta {
  margin-left: 0.5rem;
  background: #D10000;
  color: #ffffff !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 1rem;
  border-radius: 2px;
  transition: background 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}
.dp-nav-cta:hover { background: #A80000; color: #ffffff !important; }

/* Services dropdown */
.dp-nav-has-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.dp-nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 280px;
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1100;
}
.dp-nav-has-dropdown:hover .dp-nav-dropdown-menu,
.dp-nav-has-dropdown .dp-nav-dropdown-menu:hover,
.dp-nav-dropdown-menu.dp-dropdown--visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dp-nav-dropdown-menu a {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1A1A1A;
  padding: 0.6rem 1.25rem;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.dp-nav-dropdown-menu a:hover {
  color: #D10000;
  background: #FFF5F5;
}

/* Hamburger button */
#dp-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #1A1A1A;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
#dp-hamburger svg { display: block; }

/* Mobile menu slide-in panel */
#dp-mobile-menu {
  display: none;
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: #1A1A1A;
  z-index: 1200;
  padding: 5rem 0 2rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
#dp-mobile-menu.dp-mobile-menu--open {
  display: block;
  transform: translateX(0);
}
#dp-mobile-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #ffffff;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
#dp-mobile-menu .dp-mobile-nav-link {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #ffffff;
  padding: 0.875rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s ease;
  text-decoration: none;
}
#dp-mobile-menu .dp-mobile-nav-link:hover { color: #D10000; }
#dp-mobile-menu .dp-mobile-services-label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  padding: 0.75rem 1.5rem 0.25rem;
}
#dp-mobile-menu .dp-mobile-service-link {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  padding: 0.6rem 1.5rem 0.6rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s ease;
  text-decoration: none;
}
#dp-mobile-menu .dp-mobile-service-link:hover { color: #D10000; }
.dp-mobile-nav-link-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dp-mobile-nav-link-wrapper .dp-mobile-nav-link {
  border-bottom: none !important;
  flex-grow: 1;
}
.dp-mobile-submenu-toggle {
  background: none;
  border: none;
  color: #ffffff;
  padding: 0.875rem 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.dp-mobile-nav-has-submenu--open .dp-mobile-submenu-toggle {
  transform: rotate(180deg);
  color: #D10000;
}
.dp-mobile-submenu {
  display: none;
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0.3s ease;
  background: rgba(0,0,0,0.2);
}
.dp-mobile-nav-has-submenu--open .dp-mobile-submenu {
  display: block;
  max-height: 800px;
  visibility: visible;
  opacity: 1;
}
#dp-mobile-menu .dp-mobile-cta {
  display: block;
  margin: 1.5rem 1.5rem 0;
  text-align: center;
  background: #D10000;
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.875rem 1.5rem;
  border-radius: 2px;
  text-decoration: none;
}

/* Mobile backdrop */
#dp-mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1150;
}
#dp-mobile-backdrop.dp-backdrop--visible { display: block; }

/* Responsive: hide desktop nav, show hamburger */
@media (max-width: 1024px) {
  .dp-nav-links { display: none !important; }
  #dp-hamburger { display: flex !important; }
  .dp-navbar-inner { height: 64px; }
  .dp-navbar-logo-text-sub { display: none; }
}

/* ---- PAGE HERO ---- */
.dp-page-hero {
  position: relative;
  height: 40vh;
  min-height: 280px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}
.dp-page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.dp-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.68);
}
.dp-page-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.dp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
}
.dp-breadcrumb a { color: rgba(255,255,255,0.6); transition: color 0.2s ease; }
.dp-breadcrumb a:hover { color: #D10000; }
.dp-breadcrumb span { color: rgba(255,255,255,0.9); }
.dp-page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: white;
}
.dp-page-hero .dp-hero-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  margin-top: 0.75rem;
}

/* ---- HOME HERO ---- */
.dp-home-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}
.dp-home-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.dp-home-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.68);
}
.dp-home-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 5rem;
  padding-bottom: 5rem;
  max-width: 700px;
}
.dp-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.5rem;
}
.dp-hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: #D10000;
  flex-shrink: 0;
}
.dp-home-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: white;
  margin-bottom: 0.25rem;
}
.dp-home-hero h1 .red { color: #D10000; }
.dp-hero-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  max-width: 520px;
}
.dp-hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---- STATS BAR ---- */
.dp-stats-bar {
  background: #1A1A1A;
  padding: 0;
}
.dp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 768px) {
  .dp-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
.dp-stat-box {
  padding: 2rem 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.dp-stat-box:last-child { border-right: none; }
@media (max-width: 768px) {
  .dp-stat-box:nth-child(2) { border-right: none; }
  .dp-stat-box { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .dp-stat-box:nth-child(3),
  .dp-stat-box:nth-child(4) { border-bottom: none; }
}
.dp-stat-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #D10000;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.dp-stat-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ---- SERVICES GRID (Home) ---- */
.dp-services-section { background: #F5F5F5; padding: 6rem 0; }
.dp-section-header { text-align: center; margin-bottom: 3.5rem; }
.dp-section-header .dp-section-label { justify-content: center; }
.dp-section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-top: 0.75rem;
}
.dp-services-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2rem;
  align-items: stretch;
}
.dp-services-grid > p { display: none !important; }
@media (max-width: 991px) {
  .dp-services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .dp-services-grid { grid-template-columns: 1fr; }
}
.dp-service-card {
  background: white;
  padding: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 3px solid transparent;
  cursor: default;
}
.dp-service-card:hover {
  border-bottom-color: #D10000;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}
.dp-service-icon {
  width: 56px;
  height: 56px;
  background: rgba(209,0,0,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #D10000;
  font-size: 1.5rem;
}
.dp-service-card h3 {
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.dp-service-card p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.dp-service-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #D10000;
  text-decoration: none;
  transition: gap 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.dp-service-link:hover { color: #A80000; }

/* ---- WHY US ---- */
.dp-why-section { background: white; padding: 6rem 0; }
.dp-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 900px) {
  .dp-why-grid { grid-template-columns: 1fr; gap: 3rem; }
}
.dp-why-image {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.14);
  aspect-ratio: 4/3;
}
.dp-why-image img { width: 100%; height: 100%; object-fit: cover; }
.dp-why-list { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.dp-why-item { display: flex; gap: 1rem; align-items: flex-start; }
.dp-why-check {
  width: 28px;
  height: 28px;
  background: rgba(209,0,0,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D10000;
  flex-shrink: 0;
  margin-top: 2px;
}
.dp-why-item-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1A1A1A;
  margin-bottom: 0.25rem;
}
.dp-why-item-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: #666;
  line-height: 1.6;
}

/* ---- PROJECTS GRID ---- */
.dp-projects-section { background: #F5F5F5; padding: 6rem 0; }
.dp-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.dp-project-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.dp-project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.dp-project-card:hover img { transform: scale(1.05); }
.dp-project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0) 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.dp-project-card:hover .dp-project-overlay { opacity: 1; }
.dp-project-tag {
  display: inline-block;
  background: #D10000;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.5rem;
  width: fit-content;
}
.dp-project-overlay h3 {
  font-size: 1.05rem;
  color: white;
  margin-bottom: 0.25rem;
}

/* ---- CTA BANNER ---- */
.dp-cta-banner {
  background: #D10000;
  padding: 5rem 0;
  text-align: center;
}
.dp-cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: white;
  margin-bottom: 0.75rem;
}
.dp-cta-banner p {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.5rem;
}
.dp-cta-banner .dp-btn-outline {
  border-color: rgba(255,255,255,0.8);
}

/* ---- ABOUT SECTIONS ---- */
.dp-about-story { background: white; padding: 6rem 0; }
.dp-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) {
  .dp-about-grid { grid-template-columns: 1fr; gap: 3rem; }
}
.dp-about-image {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.14);
  aspect-ratio: 4/3;
}
.dp-about-image img { width: 100%; height: 100%; object-fit: cover; }
.dp-pullquote {
  border-left: 4px solid #D10000;
  padding-left: 1.5rem;
  margin-top: 2rem;
}
.dp-pullquote p {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: #D10000;
  line-height: 1.4;
  font-style: italic;
}

/* ---- VALUES GRID ---- */
.dp-values-section { background: #F5F5F5; padding: 6rem 0; }
.dp-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.dp-value-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 4px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dp-value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.dp-value-icon {
  width: 64px;
  height: 64px;
  background: rgba(209,0,0,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: #D10000;
  font-size: 1.5rem;
}
.dp-value-card h3 {
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.dp-value-card p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: #666;
  line-height: 1.7;
}

/* ---- TEAM GRID ---- */
.dp-team-section { background: white; padding: 6rem 0; }
.dp-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.dp-team-card { text-align: center; }
.dp-team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.25rem;
  border: 3px solid #E0E0E0;
  transition: border-color 0.3s ease;
}
.dp-team-card:hover .dp-team-avatar { border-color: #D10000; }
.dp-team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.dp-team-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1A1A1A;
  margin-bottom: 0.25rem;
}
.dp-team-role {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: #666;
  letter-spacing: 0.04em;
}

/* ---- SERVICES PAGE ---- */
.dp-service-section { padding: 6rem 0; }
.dp-service-section:nth-child(even) { background: #F5F5F5; }
.dp-service-section:nth-child(odd) { background: white; }
.dp-service-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 900px) {
  .dp-service-split { grid-template-columns: 1fr; gap: 3rem; }
  .dp-service-split.reverse .dp-service-split-image { order: -1; }
}
.dp-service-split-image {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.14);
  aspect-ratio: 4/3;
}
.dp-service-split-image img { width: 100%; height: 100%; object-fit: cover; }
.dp-service-tag {
  display: inline-block;
  background: rgba(209,0,0,0.08);
  color: #D10000;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.875rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.dp-service-split h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1.25rem;
}
.dp-service-split p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.dp-service-bullets { margin-bottom: 2rem; }
.dp-service-bullet {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}
.dp-service-bullet-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D10000;
  flex-shrink: 0;
}
.dp-service-bullet span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: #444;
}

/* ---- CONTACT PAGE ---- */
.dp-contact-section { background: white; padding: 6rem 0; }
.dp-contact-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 5rem;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .dp-contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}
.dp-contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.dp-contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(209,0,0,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D10000;
  flex-shrink: 0;
  font-size: 1rem;
}
.dp-contact-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 0.25rem;
}
.dp-contact-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: #1A1A1A;
  line-height: 1.5;
}
.dp-contact-value a { color: #0000CC; transition: color 0.2s ease; }
.dp-contact-value a:hover { color: #D10000; }
.dp-vatin-box {
  padding: 1rem 1.25rem;
  background: #F5F5F5;
  border-radius: 4px;
  border-left: 3px solid #E0E0E0;
  margin-bottom: 1.5rem;
}
.dp-services-sidebar {
  padding: 1.5rem;
  background: #F5F5F5;
  border-radius: 4px;
  border-left: 3px solid #D10000;
}
.dp-services-sidebar h4 {
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.dp-services-sidebar li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.dp-services-sidebar li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #D10000;
  flex-shrink: 0;
}
.dp-services-sidebar li span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: #444;
}

/* ---- CONTACT FORM ---- */
.dp-form-box {
  background: white;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.dp-form-box h3 {
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
}
.dp-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
@media (max-width: 600px) {
  .dp-form-row { grid-template-columns: 1fr; }
}
.dp-form-group { margin-bottom: 1.25rem; }
.dp-form-label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 0.4rem;
}
.dp-form-input,
.dp-form-select,
.dp-form-textarea {
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: #1A1A1A;
  background: #FAFAFA;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}
.dp-form-input:focus,
.dp-form-select:focus,
.dp-form-textarea:focus {
  border-color: #D10000;
  box-shadow: 0 0 0 3px rgba(209,0,0,0.08);
  background: white;
}
.dp-form-textarea { resize: vertical; min-height: 120px; }
.dp-form-select { appearance: none; cursor: pointer; }
.dp-form-submit {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: 0.875rem;
}

/* ---- PROJECTS FILTER ---- */
.dp-filter-tabs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.dp-filter-tab {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border: 1.5px solid #E0E0E0;
  border-radius: 2px;
  background: white;
  color: #666;
  cursor: pointer;
  transition: all 0.2s ease;
}
.dp-filter-tab:hover,
.dp-filter-tab.active {
  background: #D10000;
  border-color: #D10000;
  color: white;
}

/* ---- CASE STUDY ---- */
.dp-case-study {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}
.dp-case-study-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.dp-case-study-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
}
.dp-case-study-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.dp-case-metrics {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.dp-case-metric-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #D10000;
  line-height: 1;
}
.dp-case-metric-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 0.25rem;
}

/* ---- FOOTER ---- */
#dp-footer {
  background: #1A1A1A;
  color: white;
}
.dp-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.dp-footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.dp-footer-logo-img {
  background: white;
  border-radius: 4px;
  padding: 4px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dp-footer-logo-img img {
  height: 32px;
  width: auto;
  object-fit: contain;
}
.dp-footer-brand-main {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: white;
  line-height: 1.1;
}
.dp-footer-brand-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  line-height: 1;
}
.dp-footer-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 240px;
  margin-bottom: 1rem;
}
.dp-footer-vatin {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
}
.dp-footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 1.25rem;
}
.dp-footer-col ul li { margin-bottom: 0.6rem; }
.dp-footer-col ul li a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}
.dp-footer-col ul li a:hover { color: #D10000; }
.dp-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.dp-footer-contact-icon {
  color: #D10000;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.875rem;
}
.dp-footer-contact-item a,
.dp-footer-contact-item span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.2s ease;
}
.dp-footer-contact-item a:hover { color: #D10000; }
.dp-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.dp-footer-bottom p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

/* ---- UTILITY ---- */
.dp-text-red { color: #D10000; }
.dp-text-blue { color: #0000CC; }
.dp-bg-light { background: #F5F5F5; }
.dp-bg-dark { background: #1A1A1A; }
.dp-mt-1 { margin-top: 1rem; }
.dp-mt-2 { margin-top: 2rem; }
.dp-mb-1 { margin-bottom: 1rem; }
.dp-mb-2 { margin-bottom: 2rem; }

/* ---- WP ADMIN BAR OFFSET ---- */
.admin-bar #dp-navbar { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar #dp-navbar { top: 46px; }
}

/* ============================================================
   MOBILE RESPONSIVENESS — Full overhaul
   Breakpoints: Mobile ≤767px | Tablet 768–1024px | Desktop 1025px+
   ============================================================ */

/* Prevent horizontal scroll globally */
html, body { overflow-x: hidden; }
.dp-no-scroll { overflow: hidden; }

/* Navbar scrolled / mobile states — defined in the NAVBAR block above */

/* ---- BUTTON ALIASES (for wp:html blocks) ---- */
.dp-btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
  text-decoration: none;
  min-height: 44px;
}
.dp-btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: #ffffff;
  color: #ffffff;
}
.dp-btn-outline-red {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #D10000;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border: 2px solid #D10000;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
  text-decoration: none;
  min-height: 44px;
}
.dp-btn-outline-red:hover {
  background: #D10000;
  color: #ffffff;
}

/* ---- SERVICE SINGLE PAGE ---- */
/* Process timeline */
.dp-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}
.dp-process-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 1rem);
  right: calc(12.5% + 1rem);
  height: 2px;
  background: #E0E0E0;
  z-index: 0;
}
.dp-process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.dp-process-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #D10000;
  color: #FFFFFF;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 2;
}
.dp-process-step h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.dp-process-step p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: #666;
  line-height: 1.6;
}

/* Deliverables list */
.dp-deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.dp-deliverable-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: #FFFFFF;
  border-radius: 4px;
  border-left: 3px solid #D10000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.dp-deliverable-icon {
  color: #D10000;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.dp-deliverable-item span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: #333;
  line-height: 1.5;
}

/* FAQ Accordion */
.dp-faq-list { max-width: 800px; margin: 0 auto; }
.dp-faq-item {
  border-bottom: 1px solid #E0E0E0;
}
.dp-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1A1A1A;
  min-height: 44px;
  gap: 1rem;
}
.dp-faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: #D10000;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.dp-faq-item.dp-faq-open .dp-faq-question::after {
  transform: rotate(45deg);
}
.dp-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.dp-faq-answer-inner {
  padding: 0 0 1.25rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: #555;
  line-height: 1.8;
}

/* Differentiator boxes */
.dp-diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.dp-diff-box {
  background: #FFFFFF;
  border-radius: 4px;
  padding: 2rem 1.75rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  border-top: 3px solid #D10000;
  transition: transform 0.3s ease;
}
.dp-diff-box:hover { transform: translateY(-3px); }
.dp-diff-box h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.dp-diff-box p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: #555;
  line-height: 1.7;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* ---- TABLET (768px – 1024px) ---- */
@media (max-width: 1024px) {
  .dp-nav-links { gap: 0; }
  .dp-nav-link { padding: 0.5rem 0.6rem; font-size: 0.8rem; }
  .dp-nav-cta { padding: 0.55rem 1rem; font-size: 0.75rem; }

  .dp-process-grid { grid-template-columns: repeat(2, 1fr); }
  .dp-process-grid::before { display: none; }

  .dp-diff-grid { grid-template-columns: repeat(2, 1fr); }
  .dp-deliverables-grid { grid-template-columns: 1fr; }

  .dp-service-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .dp-service-split.reverse .dp-service-split-image { order: -1; }
}

/* ---- MOBILE (≤767px) ---- */
@media (max-width: 767px) {
  /* Navbar */
  .dp-nav-links { display: none !important; }
  #dp-hamburger { display: flex !important; }
  .dp-navbar-inner { height: 64px; }
  .dp-navbar-logo img { height: 36px; }
  .dp-navbar-logo-text-main { font-size: 0.9rem; }
  .dp-navbar-logo-text-sub { display: none; }

  /* Hero */
  .dp-home-hero { min-height: 100svh; padding-top: 64px; }
  .dp-home-hero-content { padding-top: 3rem; padding-bottom: 3rem; }
  .dp-hero-buttons { flex-direction: column; align-items: flex-start; }
  .dp-hero-buttons a { width: 100%; text-align: center; justify-content: center; }

  /* Page hero */
  .dp-page-hero { height: auto; min-height: 45vh; padding-top: 64px; }

  /* Stats bar: 2×2 grid */
  .dp-stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .dp-stat-box { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .dp-stat-box:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08) !important; }
  .dp-stat-box:nth-child(3),
  .dp-stat-box:nth-child(4) { border-bottom: none !important; }

  /* Services grid: 1 column */
  .dp-services-grid { grid-template-columns: 1fr !important; }

  /* Why us grid: 1 column */
  .dp-why-grid { grid-template-columns: 1fr !important; gap: 2rem; }

  /* About grid: stack */
  .dp-about-grid { grid-template-columns: 1fr !important; gap: 2rem; }

  /* Services page alternating: stack, image always on top */
  .dp-service-split { grid-template-columns: 1fr !important; gap: 2rem; }
  .dp-service-split .dp-service-split-image { order: -1 !important; }

  /* Projects grid: 1 column */
  .dp-projects-grid { grid-template-columns: 1fr !important; }

  /* Contact grid: stack */
  .dp-contact-grid { grid-template-columns: 1fr !important; gap: 2rem; }

  /* Form rows: 1 column */
  .dp-form-row { grid-template-columns: 1fr !important; }

  /* Values grid: 1 column */
  .dp-values-grid { grid-template-columns: 1fr !important; }

  /* Process: 1 column */
  .dp-process-grid { grid-template-columns: 1fr !important; }
  .dp-process-grid::before { display: none; }

  /* Diff grid: 1 column */
  .dp-diff-grid { grid-template-columns: 1fr !important; }

  /* Footer: 1 column */
  .dp-footer-grid { grid-template-columns: 1fr !important; gap: 2rem; padding: 3rem 0 2rem; }
  .dp-footer-bottom { flex-direction: column; text-align: center; }

  /* Sections: halve padding */
  .dp-services-section,
  .dp-why-section,
  .dp-projects-section,
  .dp-about-story,
  .dp-values-section,
  .dp-team-section,
  .dp-service-section,
  .dp-contact-section,
  .dp-cta-banner { padding: 3rem 0; }

  /* CTA banner buttons */
  .dp-cta-banner .dp-btn-outline,
  .dp-cta-banner .dp-btn-outline-white { width: 100%; text-align: center; justify-content: center; }

  /* Buttons: touch-friendly */
  .dp-btn-primary,
  .dp-btn-outline,
  .dp-btn-outline-white,
  .dp-btn-outline-red,
  .dp-btn-blue { min-height: 44px; }

  /* Case metrics: wrap */
  .dp-case-metrics { gap: 1.5rem; }

  /* Service row in wp:html blocks */
  .dp-service-row { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .dp-service-row-reverse { direction: ltr !important; }
  .dp-service-row img { order: -1; }

  /* About row in wp:html blocks */
  .dp-about-row { grid-template-columns: 1fr !important; gap: 2rem !important; }

  /* Contact layout in wp:html blocks */
  .dp-contact-layout { grid-template-columns: 1fr !important; gap: 2rem !important; }

  /* Why grid in wp:html blocks */
  .dp-why-grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; }

  /* Services grid in wp:html blocks */
  .dp-services-grid { grid-template-columns: 1fr !important; }
}

/* ---- TABLET ONLY (768px–1024px) ---- */
@media (min-width: 768px) and (max-width: 1024px) {
  /* Stats: keep 4 columns but reduce padding */
  .dp-stat-box { padding: 1.5rem 0.75rem; }

  /* Services: 2 columns */
  .dp-services-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Values: 2 columns */
  .dp-values-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Projects: 2 columns */
  .dp-projects-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Footer: 2 columns */
  .dp-footer-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Service row in wp:html blocks */
  .dp-service-row { gap: 2.5rem !important; }

  /* Section padding */
  .dp-services-section,
  .dp-why-section,
  .dp-projects-section,
  .dp-about-story,
  .dp-values-section,
  .dp-service-section,
  .dp-contact-section { padding: 4rem 0; }
}

/* Duplicate navbar/backdrop blocks removed — all navbar styles are in the NAVBAR section above */

/* ============================================================
   MOBILE OVERRIDES FOR INLINE-STYLED GRIDS IN BLOCK TEMPLATES
   These !important rules override inline style="grid-template-columns:..."
   set directly on elements in the wp:html block templates.
   ============================================================ */

@media (max-width: 767px) {

  /* ---- Stats bar: 2×2 grid ---- */
  .dp-stats-bar > div,
  .dp-stats-bar [style*="grid-template-columns"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .dp-stat-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  }
  .dp-stat-item:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,0.08) !important; }
  .dp-stat-item:nth-child(3),
  .dp-stat-item:nth-child(4)    { border-bottom: none !important; }

  /* ---- Services grid: 1 column ---- */
  .dp-services-grid,
  .dp-services-grid[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  .dp-why-grid,
  .dp-why-grid[style*="grid-template-columns"],
  .dp-diff-grid,
  .dp-diff-grid[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  /* ---- Service split (alternating image/text): stack ---- */
  .dp-service-row,
  .dp-service-row[style*="grid-template-columns"],
  .dp-service-split,
  .dp-service-split[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    direction: ltr !important;
  }
  .dp-service-row img,
  .dp-service-split img { order: -1 !important; }

  /* ---- About grid: stack ---- */
  .dp-about-row,
  .dp-about-row[style*="grid-template-columns"],
  .dp-about-grid,
  .dp-about-grid[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  /* ---- Projects grid: 1 column ---- */
  .dp-projects-grid,
  .dp-projects-grid[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  /* ---- Contact layout: stack ---- */
  .dp-contact-layout,
  .dp-contact-layout[style*="grid-template-columns"],
  .dp-contact-grid,
  .dp-contact-grid[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  /* ---- Form rows: 1 column ---- */
  .dp-form-row,
  .dp-form-row[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  /* ---- Values grid: 1 column ---- */
  .dp-values-grid,
  .dp-values-grid[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  /* ---- Process steps: 1 column ---- */
  .dp-process-grid,
  .dp-process-grid[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  .dp-process-grid::before { display: none !important; }

  /* ---- Team grid: 1 column ---- */
  .dp-team-grid,
  .dp-team-grid[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  /* ---- Footer: 1 column ---- */
  .dp-footer-grid,
  .dp-footer-grid[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .dp-footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 0.75rem !important;
  }

  /* ---- Generic inline-grid containers: force single column ---- */
  [style*="grid-template-columns:repeat(3"],
  [style*="grid-template-columns: repeat(3"],
  [style*="grid-template-columns:repeat(4"],
  [style*="grid-template-columns: repeat(4"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:repeat(2"],
  [style*="grid-template-columns: repeat(2"] {
    grid-template-columns: 1fr !important;
  }

  /* ---- Section padding: halve on mobile ---- */
  section[style*="padding:6rem"],
  section[style*="padding: 6rem"],
  section[style*="padding:5rem"],
  section[style*="padding: 5rem"],
  section[style*="padding:4rem"],
  section[style*="padding: 4rem"] {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  /* ---- Hero buttons: stack ---- */
  .dp-hero-content [style*="display:flex"],
  .dp-hero-content [style*="display: flex"] {
    flex-direction: column !important;
    align-items: center !important;
  }
  .dp-hero-content a {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }

  /* ---- CTA banner buttons: stack ---- */
  .dp-cta-banner [style*="display:flex"],
  .dp-cta-banner [style*="display: flex"] {
    flex-direction: column !important;
    align-items: center !important;
  }
  .dp-cta-banner a { width: 100% !important; text-align: center !important; justify-content: center !important; }

  /* ---- Typography scaling ---- */
  h1, h2 { word-break: break-word; }
  [style*="font-size:clamp"] { /* clamp already handles this */ }

  /* ---- Touch-friendly tap targets ---- */
  a, button, input, select, textarea {
    min-height: 44px;
  }
  .dp-btn-primary,
  .dp-btn-outline,
  .dp-btn-outline-white,
  .dp-btn-outline-red,
  .dp-btn-blue {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* ---- Images: full width ---- */
  .dp-service-card img,
  .dp-project-card img,
  .dp-service-row img,
  .dp-about-row img {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* ---- Containers: full padding ---- */
  .dp-container,
  [style*="max-width:1280px"],
  [style*="max-width: 1280px"] {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* ---- TABLET (768px – 1023px): 2-column grids ---- */
@media (min-width: 768px) and (max-width: 1023px) {

  [style*="grid-template-columns:repeat(3"],
  [style*="grid-template-columns: repeat(3"],
  .dp-services-grid,
  .dp-values-grid,
  .dp-projects-grid,
  .dp-diff-grid,
  .dp-team-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  [style*="grid-template-columns:repeat(4"],
  [style*="grid-template-columns: repeat(4"],
  .dp-stats-bar > div {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .dp-service-row,
  .dp-about-row,
  .dp-service-split {
    grid-template-columns: 1fr !important;
  }

  .dp-footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  section[style*="padding:6rem"],
  section[style*="padding: 6rem"] {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }
}
/* ============================================================
   HERO SLIDER (RECOVERY & UPGRADE)
   ============================================================ */
.dp-hero-slider-section {
  position: relative;
  height: 92vh;
  width: 100%;
}
.dp-hero-swiper {
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: relative;
  overflow: hidden;
}
.slide-split {
  display: flex;
  width: 100%;
  height: 100%;
}
.slide-left, .slide-right {
  width: 50%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 6s ease-out;
}
.hero-slide.swiper-slide-active .slide-left,
.hero-slide.swiper-slide-active .slide-right {
  transform: scale(1.1);
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.8) 100%);
  z-index: 2;
}
.slide-content-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 100%;
  pointer-events: none;
}
.slide-content {
  max-width: 700px;
  pointer-events: auto;
}
.slide-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: white;
  margin: 1rem 0;
}
.slide-content h1 .red { color: #D10000; }
.slide-content p {
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  max-width: 550px;
}
.hero-buttons {
  display: flex;
  gap: 1.25rem;
}

/* Swiper Customization */
.dp-hero-swiper .swiper-button-next,
.dp-hero-swiper .swiper-button-prev {
  color: white;
  width: 50px;
  height: 50px;
  background: rgba(0,0,0,0.2);
  border-radius: 50%;
  backdrop-filter: blur(4px);
}
.dp-hero-swiper .swiper-button-next::after,
.dp-hero-swiper .swiper-button-prev::after {
  font-size: 1.2rem;
  font-weight: bold;
}
.dp-hero-swiper .swiper-pagination-bullet {
  background: white;
  opacity: 0.5;
  width: 12px;
  height: 12px;
}
.dp-hero-swiper .swiper-pagination-bullet-active {
  background: #D10000;
  opacity: 1;
}

@media (max-width: 768px) {
  .slide-split { flex-direction: column; }
  .slide-left, .slide-right { width: 100%; height: 50%; }
  .slide-content { text-align: center; }
  .hero-buttons { justify-content: center; }
}
