/* ==========================================================================
   RED CANYON REMODELING LLC - LUXURY ARCHITECTURAL STYLESHEET
   Brand Palette: Obsidian Black, Crimson Red (#D31A24), Charcoal, Crisp White
   ========================================================================== */

:root {
  /* Brand Colorimetry */
  --red-primary: #D31A24;
  --red-hover: #b3141d;
  --red-light: #FF2E36;
  --red-dark: #8c0f16;
  --red-glow: rgba(211, 26, 36, 0.45);
  --red-glow-lg: 0 0 35px rgba(211, 26, 36, 0.5);
  --red-subtle: rgba(211, 26, 36, 0.08);
  --red-border: rgba(211, 26, 36, 0.35);

  /* Dark Luxury Foundations */
  --bg-darkest: #0a0a0c;
  --bg-dark: #121215;
  --bg-surface: #18181c;
  --bg-card: #202026;
  --bg-card-hover: #292931;
  --bg-glass: rgba(18, 18, 22, 0.88);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.16);

  /* Typography */
  --text-white: #ffffff;
  --text-light: #f4f4f6;
  --text-body: #d4d4dc;
  --text-muted: #a1a1ae;
  --text-dim: #71717f;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.8);
  --shadow-red: 0 8px 30px rgba(211, 26, 36, 0.35);

  /* Animations & Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --max-width: 1280px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-darkest);
  color: var(--text-body);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  background: var(--bg-darkest);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-white);
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red-light);
  background: var(--red-subtle);
  border: 1px solid var(--red-border);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  box-shadow: 0 0 15px rgba(211, 26, 36, 0.15);
}

.section-tag::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-primary);
  box-shadow: 0 0 10px var(--red-light);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.section-title {
  font-size: clamp(2.15rem, 3.8vw, 3.15rem);
  margin-bottom: 1.25rem;
  color: var(--text-white);
  letter-spacing: -0.03em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 3rem;
  line-height: 1.75;
}

.text-center {
  text-align: center;
}
.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Architectural Dividers (Separations between sections) */
.section-separator {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border-subtle) 20%, var(--red-border) 50%, var(--border-subtle) 80%, transparent 100%);
  width: 100%;
  margin: 0;
}

.section-separator-glow {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(211, 26, 36, 0.1) 25%, var(--red-primary) 50%, rgba(211, 26, 36, 0.1) 75%, transparent 100%);
  box-shadow: 0 0 20px var(--red-glow);
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.topbar {
  background: #060608;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.65rem 0;
  position: relative;
  z-index: 101;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.topbar-item svg {
  color: var(--red-primary);
  flex-shrink: 0;
}

.topbar-link {
  color: var(--text-light);
  font-weight: 600;
}

.topbar-link:hover {
  color: var(--red-light);
  text-decoration: underline;
}

.topbar-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.header.scrolled {
  background: rgba(10, 10, 12, 0.96);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--red-border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo img {
  height: 54px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(211, 26, 36, 0.45));
  transition: transform var(--transition-normal);
}

.brand-logo:hover img {
  transform: scale(1.04);
}

.brand-name {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--text-white);
  line-height: 1.1;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
}

.brand-sub {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--red-light);
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2.25rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red-primary);
  box-shadow: 0 0 10px var(--red-primary);
  transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.65rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  text-align: center;
  white-space: normal;
  word-break: break-word;
  max-width: 100%;
  position: relative;
  overflow: hidden;
}

.btn svg {
  flex-shrink: 0;
}

.btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 20%;
  height: 200%;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(30deg);
  transition: none;
  pointer-events: none;
}

.btn:hover::after {
  left: 140%;
  transition: left 0.6s ease-in-out;
}

.btn-primary {
  background: var(--red-primary);
  color: var(--text-white);
  box-shadow: 0 4px 20px var(--red-glow);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: var(--red-light);
  box-shadow: 0 8px 32px rgba(211, 26, 36, 0.65);
  transform: translateY(-2px);
  color: var(--text-white);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--text-white);
  transform: translateY(-2px);
  color: var(--text-white);
}

.btn-outline-red {
  background: transparent;
  color: var(--red-light);
  border: 1px solid var(--red-border);
}

.btn-outline-red:hover {
  background: var(--red-subtle);
  border-color: var(--red-primary);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.05rem 1.85rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
  white-space: nowrap;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-white);
  padding: 0.5rem;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background: var(--bg-dark);
  border-left: 1px solid var(--border-subtle);
  z-index: 200;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right var(--transition-normal);
  box-shadow: var(--shadow-lg);
}

.mobile-drawer.active {
  right: 0;
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 1025px) {
  .mobile-drawer,
  .drawer-backdrop {
    display: none !important;
  }
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-close {
  color: var(--text-muted);
  font-size: 1.6rem;
  padding: 0.5rem;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0;
}

.drawer-nav a {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-light);
  padding: 0.4rem 0;
  transition: all var(--transition-fast);
}

.drawer-nav a.active,
.drawer-nav a:hover {
  color: var(--red-light);
  padding-left: 0.6rem;
}

/* ==========================================================================
   SCROLL REVEAL & ENTRANCE ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
  will-change: opacity, transform;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-zoom {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.revealed {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 5rem;
  overflow: hidden;
  background: var(--bg-darkest);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slider-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.4s ease-in-out, transform 9s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slider-img.active {
  opacity: 0.42;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: radial-gradient(circle at 65% 35%, rgba(211, 26, 36, 0.18) 0%, rgba(10, 10, 12, 0.75) 60%, rgba(10, 10, 12, 0.98) 100%),
              linear-gradient(to top, var(--bg-darkest) 0%, transparent 60%),
              linear-gradient(to bottom, var(--bg-darkest) 0%, transparent 20%);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 860px;
}

.hero-headline {
  font-size: clamp(2.6rem, 5.2vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--text-white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-headline .text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, var(--red-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-headline .text-red {
  color: var(--red-primary);
  text-shadow: 0 0 35px var(--red-glow);
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.75;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 2.75rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.trust-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.trust-text {
  display: flex;
  flex-direction: column;
}

.trust-text strong {
  font-size: 0.95rem;
  color: var(--text-white);
}

.trust-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-slider-nav {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.slider-dot {
  width: 32px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-dot.active {
  width: 50px;
  background: var(--red-primary);
  box-shadow: 0 0 12px var(--red-primary);
}

/* ==========================================================================
   METRICS / STATS TICKER
   ========================================================================== */
.stats-section {
  background: var(--bg-dark);
  padding: 3.5rem 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
}

.stat-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--red-primary);
  box-shadow: 0 0 10px var(--red-glow);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--red-border);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-white);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
  font-family: 'Outfit', sans-serif;
}

.stat-number span {
  color: var(--red-primary);
}

.stat-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.35rem;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   BEFORE & AFTER DRAGGABLE COMPARISON SLIDER
   ========================================================================== */
.before-after-wrapper {
  position: relative;
  width: 100%;
  max-width: 1100px;
  height: 520px;
  margin: 0 auto 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 0, 0, 0.7);
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.before-after-img-under {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-after-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
}

.before-after-img-over {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  max-width: none;
  object-fit: cover;
}

.before-after-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #ffffff;
  z-index: 10;
  cursor: ew-resize;
  transform: translateX(-50%);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
  touch-action: none;
}

.before-after-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red-primary);
  border: 3px solid #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 20px var(--red-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  pointer-events: none;
}

.before-after-tag {
  position: absolute;
  top: 1.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 5;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.before-tag {
  left: 1.5rem;
  background: rgba(10, 10, 12, 0.85);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.after-tag {
  right: 1.5rem;
  background: rgba(10, 10, 12, 0.85);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.4);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.section-padding {
  padding: 7rem 0;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2.25rem;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--red-border);
  box-shadow: var(--shadow-lg), 0 0 35px var(--red-glow);
}

.service-img-wrap {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #000;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.08);
}

.service-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(10, 10, 12, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--red-border);
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.service-body {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-title {
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
  color: var(--text-white);
}

.service-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.service-features {
  list-style: none;
  margin-top: auto;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.service-features li svg {
  color: var(--red-primary);
  flex-shrink: 0;
}

.service-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--red-light);
  font-weight: 700;
  font-size: 0.9rem;
  transition: gap var(--transition-fast);
}

.link-arrow:hover {
  gap: 0.75rem;
  color: var(--text-white);
}

/* ==========================================================================
   PORTFOLIO & GALLERY
   ========================================================================== */
.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
}

.filter-btn {
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.filter-btn:hover {
  color: var(--text-white);
  border-color: var(--border-light);
}

.filter-btn.active {
  background: var(--red-primary);
  color: var(--text-white);
  border-color: var(--red-primary);
  box-shadow: 0 4px 18px var(--red-glow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 330px;
  background: #000;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover {
  transform: translateY(-6px);
  border-color: var(--red-border);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(211, 26, 36, 0.2);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.96) 0%, rgba(10, 10, 12, 0.4) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--red-light);
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.gallery-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

.gallery-caption {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.gallery-zoom-icon {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red-primary);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-10px);
  opacity: 0;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.gallery-item:hover .gallery-zoom-icon {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   PROCESS ROADMAP / TIMELINE
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
  position: relative;
}

.process-step {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.process-step:hover {
  transform: translateY(-6px);
  border-color: var(--red-border);
  box-shadow: var(--shadow-md), 0 0 25px rgba(211, 26, 36, 0.2);
}

.process-num {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--red-subtle);
  border: 1px solid var(--red-border);
  color: var(--red-light);
  font-size: 1.35rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-family: 'Outfit', sans-serif;
}

.process-step h4 {
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   WHY CHOOSE US / VALUE PROPOSITION
   ========================================================================== */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  transition: all var(--transition-normal);
}

.feature-box:hover {
  border-color: var(--red-border);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md), 0 0 25px rgba(211, 26, 36, 0.2);
}

.feature-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--red-subtle);
  border: 1px solid var(--red-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-primary);
  margin-bottom: 1.5rem;
}

.feature-box h4 {
  font-size: 1.3rem;
  margin-bottom: 0.85rem;
}

.feature-box p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  color: #f59e0b;
  margin-bottom: 1.25rem;
  font-size: 1.15rem;
}

.testimonial-quote {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--red-subtle);
  border: 1px solid var(--red-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--red-light);
}

.author-meta h5 {
  font-size: 1rem;
  color: var(--text-white);
  margin-bottom: 0.2rem;
}

.author-meta span {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* ==========================================================================
   QUOTE CALCULATOR & INTERACTIVE ESTIMATOR
   ========================================================================== */
.calculator-box {
  background: var(--bg-surface);
  border: 1px solid var(--red-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(211, 26, 36, 0.2);
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  width: 100%;
  max-width: 100%;
}

.calc-options {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.calc-group {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.calc-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.55rem;
}

.calc-select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0.85rem 2.25rem 0.85rem 1rem;
  background-color: var(--bg-card);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23FF2E36' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 16px;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-size: 0.92rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.calc-select:focus {
  outline: none;
  border-color: var(--red-primary);
  box-shadow: 0 0 0 3px var(--red-subtle);
}

/* Custom Range Slider Styling */
.calc-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  max-width: 100%;
  height: 8px;
  background: #282832;
  border-radius: 999px;
  outline: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin: 0.65rem 0 0.35rem;
  padding: 0;
  cursor: pointer;
}

.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red-primary);
  border: 2.5px solid #ffffff;
  box-shadow: 0 0 12px rgba(211, 26, 36, 0.7);
  cursor: pointer;
}

.calc-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red-primary);
  border: 2.5px solid #ffffff;
  box-shadow: 0 0 12px rgba(211, 26, 36, 0.7);
  cursor: pointer;
}

.calc-result-card {
  background: #0d0d10;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.calc-result-label {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.calc-result-price {
  font-size: clamp(1.75rem, 4.5vw, 2.65rem);
  font-weight: 900;
  color: var(--red-light);
  margin-bottom: 0.5rem;
  line-height: 1.15;
  text-shadow: 0 0 25px var(--red-glow);
  font-family: 'Outfit', sans-serif;
  word-break: break-word;
}

.calc-result-time {
  font-size: 0.925rem;
  color: var(--text-light);
  margin-bottom: 1.75rem;
}

/* ==========================================================================
   CONTACT FORM & DETAILS SECTION
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.contact-info-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2.25rem 0;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--red-subtle);
  border: 1px solid var(--red-border);
  color: var(--red-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-details h5 {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-details p, .contact-details a {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
}

.contact-details a:hover {
  color: var(--red-light);
  text-decoration: underline;
}

.service-areas-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-top: 2rem;
}

.service-areas-box h5 {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red-light);
  margin-bottom: 0.85rem;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.area-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  color: var(--text-light);
}

/* Form Styles */
.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  min-width: 0;
}

.form-header {
  margin-bottom: 2rem;
}

.form-header h3 {
  font-size: 1.85rem;
  margin-bottom: 0.5rem;
}

.form-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.35rem;
  width: 100%;
  max-width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-light);
}

.form-label span.req {
  color: var(--red-primary);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0.85rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-size: 0.92rem;
  text-overflow: ellipsis;
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input::placeholder, .form-textarea::placeholder {
  color: var(--text-dim);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--red-primary);
  box-shadow: 0 0 0 3px var(--red-subtle);
  background: #141418;
}

.form-textarea {
  resize: vertical;
  min-height: 125px;
}

.file-upload-zone {
  border: 2px dashed var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.75rem;
  text-align: center;
  background: var(--bg-card);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.file-upload-zone:hover {
  border-color: var(--red-primary);
  background: rgba(211, 26, 36, 0.05);
}

.file-upload-zone svg {
  color: var(--red-primary);
  margin-bottom: 0.5rem;
}

.file-upload-zone p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.file-upload-zone span {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.form-feedback {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  display: none;
  font-size: 0.95rem;
}

.form-feedback.success {
  display: block;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.45);
  color: #4ade80;
}

.form-feedback.error {
  display: block;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #f87171;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--red-border);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 1.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  cursor: pointer;
}

.faq-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-light);
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--red-primary);
  color: var(--text-white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-answer-inner {
  padding: 0 1.85rem 1.75rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 0.95rem;
}

/* ==========================================================================
   MODAL WIZARD (INTERACTIVE ESTIMATE BUILDER)
   ========================================================================== */
.modal-wizard {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(5, 5, 8, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.modal-wizard.active {
  display: flex;
  opacity: 1;
}

.modal-wizard-card {
  background: var(--bg-surface);
  border: 1px solid var(--red-border);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  padding: 2.75rem;
  position: relative;
  box-shadow: var(--shadow-lg), 0 0 50px var(--red-glow);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--text-white);
}

/* ==========================================================================
   FLOATING ACTION BUTTON (QUICK ESTIMATE TRIGGER)
   ========================================================================== */
.floating-quote-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  background: var(--red-primary);
  color: var(--text-white);
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 8px 30px rgba(211, 26, 36, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-normal);
}

.floating-quote-btn:hover {
  background: var(--red-light);
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 35px rgba(211, 26, 36, 0.75);
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5, 5, 8, 0.96);
  backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 1100px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img-wrap {
  position: relative;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
}

.lightbox-caption {
  margin-top: 1.25rem;
  text-align: center;
  color: var(--text-light);
  font-size: 1.05rem;
}

.lightbox-category {
  color: var(--red-light);
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  color: var(--text-white);
  font-size: 2rem;
  cursor: pointer;
  z-index: 1010;
  padding: 0.5rem;
}

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(20, 20, 24, 0.85);
  border: 1px solid var(--border-light);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lightbox-prev:hover, .lightbox-next:hover {
  background: var(--red-primary);
  border-color: var(--red-primary);
}

.lightbox-prev {
  left: 2rem;
}

.lightbox-next {
  right: 2rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #060608;
  border-top: 1px solid var(--border-subtle);
  padding: 5.5rem 0 2.25rem;
  margin-top: auto;
  position: relative;
}

.footer-top,
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer ul,
.footer-links,
.footer-col ul {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer ul li,
.footer-links li,
.footer-col li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-top: 1.25rem;
  max-width: 360px;
}

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--red-primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.925rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--red-light);
  padding-left: 0.35rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  font-size: 0.925rem;
  color: var(--text-muted);
}

.footer-contact-item svg {
  color: var(--red-primary);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-contact-item a {
  color: var(--text-light);
}

.footer-contact-item a:hover {
  color: var(--red-light);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ==========================================================================
   PAGE HERO (SUBPAGES)
   ========================================================================== */
.page-hero {
  padding: 6.5rem 0 4rem;
  background: linear-gradient(180deg, #121217 0%, var(--bg-darkest) 100%);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
  position: relative;
}

.page-hero .section-title {
  margin-bottom: 1rem;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.breadcrumbs a:hover {
  color: var(--red-light);
}

/* Legal & Policy Pages Typography */
.policy-content {
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.8;
  color: var(--text-body);
}

.policy-content h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1rem;
  color: var(--text-white);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.5rem;
}

.policy-content h3 {
  font-size: 1.3rem;
  margin: 1.75rem 0 0.75rem;
  color: var(--text-light);
}

.policy-content p, .policy-content ul {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.policy-content ul {
  padding-left: 1.5rem;
}

.policy-content li {
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .calc-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .before-after-wrapper {
    height: 420px;
  }
}

/* ==========================================================================
   ENHANCED FORM CHECKBOX PILLS & SPECIAL PROJECTS SHOWCASE
   ========================================================================== */
.scope-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.scope-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-light);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.scope-checkbox-label:hover {
  border-color: var(--border-light);
  background: #1e1e24;
}

.scope-checkbox-label input[type="checkbox"] {
  accent-color: var(--red-primary);
  width: 17px;
  height: 17px;
  cursor: pointer;
}

.scope-checkbox-label:has(input:checked) {
  border-color: var(--red-primary);
  background: rgba(211, 26, 36, 0.1);
  color: var(--text-white);
  box-shadow: 0 0 10px rgba(211, 26, 36, 0.15);
}

.badge-fixed-price {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(211, 26, 36, 0.15);
  border: 1px solid rgba(211, 26, 36, 0.35);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  color: var(--red-light);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Special Projects Showcase Cards */
.special-project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.special-project-card:hover {
  border-color: rgba(211, 26, 36, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

.special-project-header {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.special-project-thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  background: #0d0d10;
}

.special-project-thumb {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
}

.special-project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.special-project-thumb:hover img {
  transform: scale(1.08);
}

.special-project-body {
  padding: 1.5rem 1.75rem;
  flex-grow: 1;
}

.special-project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-dim);
}


/* ==========================================================================
   MOBILE & TOUCH MOTION CALMING + COMPREHENSIVE RESPONSIVENESS
   "Que no se mueva tanto" & "Más agradable al ojo"
   ========================================================================== */

/* Disable jumpy hover translations on touch devices */
@media (hover: none) {
  .service-card:hover,
  .stat-card:hover,
  .feature-box:hover,
  .process-step:hover,
  .special-project-card:hover,
  .gallery-item:hover,
  .testimonial-card:hover,
  .btn:hover {
    transform: none !important;
  }
}

@media (max-width: 768px) {
  /* Motion Calming: eliminate horizontal wobble and jerky scroll translations */
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-zoom {
    transform: none !important;
    opacity: 0;
    transition: opacity 0.45s ease !important;
    will-change: opacity;
  }

  .revealed {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Calm continuous GPU scaling in Hero background */
  .hero-slider-img {
    transform: none !important;
    transition: opacity 1.2s ease-in-out !important;
  }

  .hero-slider-img.active {
    transform: none !important;
  }

  /* Layout Spacing & Rhythm */
  .section-padding {
    padding: 3.5rem 0 !important;
  }

  .page-hero {
    padding: 3.5rem 0 2rem !important;
  }

  .section-title {
    font-size: clamp(1.85rem, 6.2vw, 2.35rem) !important;
    margin-bottom: 0.85rem;
  }

  .section-subtitle {
    font-size: 0.95rem !important;
    line-height: 1.65;
    margin-bottom: 2rem !important;
  }

  /* Navigation & Mobile Header */
  .nav-menu, .nav-cta .btn {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-container {
    height: 68px;
  }

  .brand-logo img {
    height: 42px;
  }

  .brand-title {
    font-size: 1.05rem;
  }

  .brand-sub {
    font-size: 0.62rem;
  }

  /* Clean, Uncluttered Topbar */
  .topbar {
    padding: 0.45rem 0;
    font-size: 0.78rem;
  }

  .topbar-inner {
    flex-direction: row;
    justify-content: center;
    gap: 0.5rem;
  }

  .topbar-left {
    justify-content: center;
    width: auto;
    gap: 0.75rem;
  }

  .topbar-item:nth-child(2) {
    display: none;
  }

  .topbar-right {
    display: none;
  }

  /* Hero Section */
  .hero {
    min-height: auto;
    padding: 4.25rem 0 3.25rem;
  }

  .hero-badge-wrap {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .hero-headline {
    font-size: clamp(2rem, 7vw, 2.5rem);
    line-height: 1.15;
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-bottom: 2.25rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.95rem 1.5rem;
    font-size: 0.95rem;
  }

  .hero-trust-row {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding-top: 1.5rem;
  }

  .trust-item {
    width: 100%;
  }

  .hero-slider-nav {
    bottom: 1rem;
    right: 1.25rem;
  }

  .slider-dot {
    width: 22px;
    height: 3px;
  }

  .slider-dot.active {
    width: 36px;
  }

  /* Executive 2x2 Stats Grid */
  .stats-section {
    padding: 2rem 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
  }

  .stat-card {
    padding: 1.1rem 0.85rem !important;
    border-radius: var(--radius-sm);
  }

  .stat-number {
    font-size: 1.85rem !important;
    margin-bottom: 0.2rem;
  }

  .stat-label {
    font-size: 0.825rem !important;
    line-height: 1.25;
    margin-bottom: 0.25rem;
  }

  .stat-desc {
    font-size: 0.7rem !important;
    line-height: 1.35;
    color: var(--text-muted);
  }

  /* Before / After Draggable Slider */
  .before-after-wrapper {
    height: 290px;
    margin-bottom: 2rem;
    border-radius: var(--radius-md);
  }

  .before-after-button {
    width: 38px;
    height: 38px;
  }

  .before-after-tag {
    top: 0.85rem;
    padding: 0.25rem 0.65rem;
    font-size: 0.7rem;
  }

  .before-tag {
    left: 0.85rem;
  }

  .after-tag {
    right: 0.85rem;
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .service-img-wrap {
    height: 210px;
  }

  .service-body {
    padding: 1.5rem 1.25rem;
  }

  .service-title {
    font-size: 1.25rem;
    margin-bottom: 0.65rem;
  }

  .service-text {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
  }

  /* Special Projects Showcase */
  .special-project-header {
    padding: 1.25rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .special-project-header h3 {
    font-size: 1.25rem !important;
  }

  .special-project-thumb-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
    padding: 0.75rem 1rem !important;
  }

  .special-project-body {
    padding: 1.25rem 1rem;
  }

  .special-project-meta {
    gap: 0.75rem 1rem;
    font-size: 0.8rem;
  }

  /* Gallery & Horizontal Swipe Filters */
  .gallery-filters {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.65rem;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    margin-bottom: 2rem;
    scrollbar-width: none;
  }

  .gallery-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }

  .gallery-item {
    height: 250px;
  }

  .gallery-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(10, 10, 12, 0.95) 0%, rgba(10, 10, 12, 0.25) 60%, transparent 100%);
    padding: 1.25rem;
  }

  .gallery-zoom-icon {
    display: none;
  }

  /* Interactive Calculator */
  .calculator-box {
    padding: 1.35rem 1rem !important;
    border-radius: var(--radius-md);
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .calc-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.5rem;
    width: 100%;
  }

  .calc-select {
    font-size: 0.85rem;
    padding: 0.78rem 2rem 0.78rem 0.85rem;
  }

  .calc-result-card {
    padding: 1.35rem 1rem;
  }

  .calc-result-price {
    font-size: 1.85rem;
  }

  /* Scope Checklist & Contact Form */
  .scope-checkbox-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0.5rem;
  }

  .scope-checkbox-label {
    padding: 0.65rem 0.85rem;
    font-size: 0.825rem;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 2rem !important;
  }

  .contact-info-card {
    padding: 1.5rem 1rem !important;
  }

  .form-card {
    padding: 1.5rem 1rem !important;
  }

  .form-header h3 {
    font-size: 1.45rem;
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.15rem;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .form-input, .form-select, .form-textarea {
    padding: 0.8rem 0.9rem;
    font-size: 0.88rem;
  }

  /* Process / Timeline */
  .process-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1rem;
  }

  .process-step {
    padding: 1.5rem 1.25rem;
  }

  .process-num {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
    margin-bottom: 1rem;
  }

  /* Value Proposition / Why Choose Us */
  .why-us-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.25rem;
  }

  .feature-box {
    padding: 1.5rem 1.25rem;
  }

  .feature-icon-wrap {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.25rem;
  }

  .testimonial-card {
    padding: 1.5rem 1.25rem;
  }

  .testimonial-quote {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
  }

  /* Sleek Floating Quote Button */
  .floating-quote-btn {
    bottom: 1rem;
    right: 1rem;
    padding: 0.65rem 1.05rem;
    font-size: 0.8rem;
    background: rgba(211, 26, 36, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(211, 26, 36, 0.45);
  }

  /* Footer */
  .footer {
    padding: 3.5rem 0 2rem;
  }

  .footer-top,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 2rem !important;
    margin-bottom: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  /* Mobile Drawer & Modals */
  .mobile-drawer {
    width: 85%;
    max-width: 320px;
    padding: 1.75rem 1.5rem;
  }

  .modal-wizard-card {
    padding: 1.5rem 1.15rem;
    max-height: 85vh;
  }

  .lightbox {
    padding: 0.75rem;
  }

  .lightbox-prev, .lightbox-next {
    width: 40px;
    height: 40px;
    top: auto;
    bottom: 1.5rem;
    transform: none;
  }

  .lightbox-prev {
    left: 1.5rem;
  }

  .lightbox-next {
    right: 1.5rem;
  }

  .lightbox-close {
    top: 1rem;
    right: 1rem;
    font-size: 1.6rem;
  }

  .lightbox-img {
    max-height: 65vh;
  }
}

/* Specific micro-adjustments for narrow phones (320px - 480px) */
@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-headline {
    font-size: 1.95rem;
  }

  .stat-card {
    padding: 0.95rem 0.7rem !important;
  }

  .stat-number {
    font-size: 1.65rem !important;
  }

  .stat-label {
    font-size: 0.78rem !important;
  }

  .special-project-thumb-grid {
    padding: 0.65rem 0.75rem !important;
  }
}

/* ==========================================================================
   MULTI-SECTION HUB & RESPONSIVE SUBPAGE GRIDS
   (Dividido en apartados sin saturar la página principal)
   ========================================================================== */

/* Dedicated Section Hub Cards on Home Page (Apartados) */
.apartados-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.apartado-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.apartado-card:hover {
  border-color: var(--red-border);
  box-shadow: var(--shadow-md);
}

.apartado-img {
  position: relative;
  height: 195px;
  overflow: hidden;
  background: #08080a;
}

.apartado-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.apartado-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(10, 10, 12, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--red-border);
  color: var(--red-light);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.apartado-body {
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.apartado-body h3 {
  font-size: 1.3rem;
  color: var(--text-white);
  margin-bottom: 0.6rem;
}

.apartado-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.35rem;
  flex-grow: 1;
}

.apartado-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
}

.apartado-tag {
  font-size: 0.75rem;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-sm);
}

/* Responsive 2-Column Split Layouts (Used in Services & About pages) */
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 3.75rem;
  align-items: center;
}

.split-layout-reverse {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 3.75rem;
  align-items: center;
}

.mini-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Responsive 3-Column Phase Card (Used in Process page) */
.phase-card {
  display: grid;
  grid-template-columns: 90px minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  background: var(--bg-surface);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

@media (max-width: 960px) {
  .split-layout,
  .split-layout-reverse {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.75rem !important;
  }

  .phase-card {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.15rem !important;
    padding: 1.6rem 1.25rem !important;
  }
}

@media (max-width: 768px) {
  .btn,
  .btn-lg {
    padding: 0.88rem 1.15rem;
    font-size: 0.92rem;
    white-space: normal;
    line-height: 1.35;
  }

  .apartados-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.25rem;
  }

  .apartado-img {
    height: 175px;
  }

  .apartado-body {
    padding: 1.35rem 1.15rem;
  }

  .mini-feature-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0.75rem !important;
  }
}

/* ==========================================================================
   FEATURED FINANCING SECTION (High-Contrast & Standout Headline)
   ========================================================================== */
.financing-section {
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(211, 26, 36, 0.16) 0%, rgba(18, 18, 22, 0.98) 70%);
  border-top: 1px solid rgba(211, 26, 36, 0.35);
  border-bottom: 1px solid var(--border-subtle);
  padding: 5rem 0;
  overflow: hidden;
}

.financing-card-hero {
  background: rgba(24, 24, 28, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(211, 26, 36, 0.3);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(211, 26, 36, 0.12);
  position: relative;
}

.financing-headline {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.financing-subheadline {
  font-size: 1.15rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 820px;
  margin: 0 auto 2.5rem;
}

.financing-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.75rem;
}

.financing-feature-box {
  background: rgba(14, 14, 18, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.35rem;
  text-align: left;
  transition: all var(--transition-normal);
}

.financing-feature-box:hover {
  border-color: var(--red-border);
  transform: translateY(-3px);
  background: rgba(24, 24, 30, 0.9);
}

.financing-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(211, 26, 36, 0.15);
  color: var(--red-light);
  margin-bottom: 1rem;
}

.financing-feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.4rem;
}

.financing-feature-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.financing-cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   INDEPENDENT PROJECT ALBUMS (By House / Location)
   ========================================================================== */
.album-card-block {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 3.5rem;
  transition: border-color var(--transition-normal);
}

.album-card-block:hover {
  border-color: rgba(211, 26, 36, 0.4);
}

.album-header-bar {
  padding: 1.75rem 2rem;
  background: linear-gradient(90deg, rgba(24, 24, 28, 0.95), rgba(32, 32, 38, 0.95));
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.album-title-group h3 {
  font-size: 1.65rem;
  color: var(--text-white);
  margin: 0 0 0.35rem 0;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.01em;
}

.album-location {
  font-size: 0.92rem;
  color: var(--red-light);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.album-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0.75rem;
  padding: 1.5rem 2rem;
  background: #0d0d10;
}

/* STRICTLY UNIFORM 4:3 ORIENTATION ACROSS ALL PHOTOS (No loose or vertical mismatches) */
.album-photo-thumb,
.subtheme-photo-thumb {
  position: relative;
  aspect-ratio: 4/3 !important;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  background: #141418;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.album-photo-thumb:hover,
.subtheme-photo-thumb:hover {
  border-color: var(--red-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(211, 26, 36, 0.25);
}

.album-photo-thumb img,
.subtheme-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center !important;
  transition: transform var(--transition-normal), filter var(--transition-normal);
  image-rendering: -webkit-optimize-contrast;
  display: block;
}

.album-photo-thumb:hover img,
.subtheme-photo-thumb:hover img {
  transform: scale(1.05);
}

.album-meta-footer {
  padding: 1.5rem 2rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.album-meta-desc {
  color: var(--text-light);
  font-size: 0.93rem;
  line-height: 1.6;
  max-width: 820px;
}

/* ==========================================================================
   EXPANDABLE SUBTHEMES FOR SPECIAL PROJECTS (Clean, Structured, Touch-Friendly)
   ========================================================================== */
.sp-subthemes-wrapper {
  padding: 1.25rem 2rem 2rem 2rem;
  background: #0c0c0f;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sp-subtheme-block {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: rgba(22, 22, 27, 0.7);
  overflow: hidden;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.sp-subtheme-block:hover {
  border-color: rgba(211, 26, 36, 0.35);
}

.sp-subtheme-block.active {
  border-color: rgba(211, 26, 36, 0.6);
  background: rgba(26, 26, 32, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.sp-subtheme-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.4rem;
  background: transparent;
  color: var(--text-white);
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background 0.2s ease;
  min-height: 52px;
}

.sp-subtheme-toggle:hover {
  background: rgba(255, 255, 255, 0.02);
}

.sp-subtheme-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.sp-subtheme-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(211, 26, 36, 0.15);
  color: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  border: 1px solid rgba(211, 26, 36, 0.25);
}

.sp-subtheme-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-white);
  margin: 0;
  letter-spacing: -0.01em;
}

.sp-subtheme-pill {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
}

.sp-subtheme-block.active .sp-subtheme-pill {
  background: rgba(211, 26, 36, 0.18);
  color: var(--red-light);
  border-color: rgba(211, 26, 36, 0.35);
}

.sp-subtheme-chevron {
  width: 22px;
  height: 22px;
  color: var(--red-light);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.sp-subtheme-block.active .sp-subtheme-chevron {
  transform: rotate(180deg);
}

.sp-subtheme-body {
  display: none;
  padding: 0.5rem 1.4rem 1.5rem 1.4rem;
  border-top: 1px solid var(--border-subtle);
  animation: fadeInSubtheme 0.25s ease-out forwards;
}

.sp-subtheme-block.active .sp-subtheme-body {
  display: block;
}

@keyframes fadeInSubtheme {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.sp-subtheme-desc {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0.75rem 0 1.25rem 0;
  padding-left: 0.5rem;
  border-left: 2px solid var(--red-primary);
}

.sp-subtheme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0.85rem;
}

/* Video Container inside Subtheme */
.sp-video-container {
  max-width: 820px;
  margin: 0.5rem auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  background: #000;
}

.sp-video-container video {
  width: 100%;
  max-height: 480px;
  display: block;
  outline: none;
}

/* Project Controls Bar */
.sp-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.85rem 1.4rem;
  background: rgba(14, 14, 18, 0.9);
  border-bottom: 1px solid var(--border-subtle);
}

.sp-toggle-all-btn {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.sp-toggle-all-btn:hover {
  background: rgba(211, 26, 36, 0.15);
  color: var(--red-light);
  border-color: rgba(211, 26, 36, 0.4);
}

/* ==========================================================================
   GLOBAL FINANCING CALLOUTS & BADGES (High Prominence)
   ========================================================================== */
.financing-banner-strip {
  background: linear-gradient(90deg, rgba(211, 26, 36, 0.2), rgba(18, 18, 22, 0.95), rgba(211, 26, 36, 0.2));
  border-top: 1px solid rgba(211, 26, 36, 0.4);
  border-bottom: 1px solid rgba(211, 26, 36, 0.4);
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  flex-wrap: wrap;
  box-shadow: 0 4px 20px rgba(211, 26, 36, 0.15);
}

.financing-banner-strip strong {
  color: #fff;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.financing-banner-strip span {
  color: var(--text-light);
  font-size: 0.9rem;
}

.financing-banner-strip .btn-sm {
  padding: 0.3rem 0.85rem;
  font-size: 0.82rem;
}

.financing-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(211, 26, 36, 0.16);
  border: 1px solid rgba(211, 26, 36, 0.45);
  color: var(--red-light);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.financing-pill-badge svg {
  flex-shrink: 0;
  color: var(--red-light);
}

.service-financing-box {
  background: rgba(211, 26, 36, 0.08);
  border-left: 3px solid var(--red-primary);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  margin: 1.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-light);
}

.service-financing-box strong {
  color: var(--text-white);
}

/* ==========================================================================
   POLICIES & MANDATORY AGREEMENT CHECKBOX (Modern Web Guidance Compliant)
   ========================================================================== */
.policies-wrapper {
  background: var(--bg-surface);
  border: 1px solid rgba(211, 26, 36, 0.3);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.policies-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.policies-header h4 {
  font-size: 1.25rem;
  color: var(--text-white);
  margin: 0;
  font-family: 'Outfit', sans-serif;
}

.policies-scroll-list {
  max-height: 280px;
  overflow-y: auto;
  padding-right: 0.75rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--red-primary) var(--bg-card);
}

.policies-scroll-list::-webkit-scrollbar {
  width: 6px;
}
.policies-scroll-list::-webkit-scrollbar-track {
  background: var(--bg-card);
  border-radius: 4px;
}
.policies-scroll-list::-webkit-scrollbar-thumb {
  background: var(--red-primary);
  border-radius: 4px;
}

.policy-clause {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-body);
}

.policy-clause strong {
  color: var(--red-light);
  display: inline;
  font-weight: 700;
}

.policy-commitment-box {
  background: rgba(211, 26, 36, 0.08);
  border-left: 3px solid var(--red-primary);
  padding: 0.85rem 1.15rem;
  border-radius: 4px;
  font-size: 0.87rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: 0.5rem;
}

/* Accessible Checkbox with >=48px Touch Target */
.policy-agreement-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem;
  cursor: pointer;
  transition: border-color var(--transition-fast);
  min-height: 48px;
}

.policy-agreement-row:hover {
  border-color: var(--red-border);
}

.policy-checkbox {
  appearance: auto;
  accent-color: var(--red-primary);
  width: 22px;
  height: 22px;
  cursor: pointer;
  margin-top: 2px;
  flex-shrink: 0;
}

.policy-checkbox:focus-visible {
  outline: 2px solid var(--red-light);
  outline-offset: 3px;
}

.policy-checkbox-label {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-white);
  cursor: pointer;
  user-select: none;
}

.policy-checkbox-label strong {
  display: block;
  color: var(--text-white);
  margin-bottom: 0.2rem;
}

.policy-checkbox-label span {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .financing-card-hero {
    padding: 2rem 1.25rem;
  }
  .financing-headline {
    font-size: 1.85rem;
  }
  .album-header-bar,
  .album-photo-grid,
  .album-meta-footer {
    padding: 1.25rem 1rem !important;
  }
  .album-photo-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }
  .policies-wrapper {
    padding: 1.25rem 1rem;
  }

  /* Ultra-clean Mobile Subthemes and Photo Grid */
  .sp-subthemes-wrapper {
    padding: 1rem 0.85rem 1.25rem 0.85rem !important;
    gap: 0.75rem !important;
  }

  .sp-subtheme-toggle {
    padding: 0.95rem 1rem !important;
    min-height: 48px;
  }

  .sp-subtheme-title {
    font-size: 1rem !important;
  }

  .sp-subtheme-body {
    padding: 0.25rem 0.85rem 1rem 0.85rem !important;
  }

  .sp-subtheme-desc {
    font-size: 0.86rem !important;
    margin: 0.5rem 0 0.85rem 0 !important;
  }

  .sp-subtheme-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }

  .subtheme-photo-thumb,
  .album-photo-thumb {
    aspect-ratio: 4/3 !important;
    border-radius: 6px !important;
  }

  .sp-controls-bar {
    padding: 0.75rem 1rem !important;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .sp-toggle-all-btn {
    justify-content: center;
    width: 100%;
    padding: 0.55rem 1rem;
  }

  .financing-banner-strip {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }

  /* Clean up topbar on phones */
  .topbar-inner {
    flex-direction: column;
    gap: 0.35rem;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
  }

  .topbar-left {
    flex-direction: column;
    gap: 0.25rem;
    align-items: center;
  }

  .topbar-item {
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   DESKTOP MENU & HEADER REFINEMENT
   ========================================================================== */
.topbar-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--red-light);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
}

.topbar-phone-link:hover {
  color: var(--text-white);
  text-decoration: none;
}

.topbar-phone-link svg {
  color: var(--red-primary);
}

.official-logo-header {
  height: 60px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: drop-shadow(0 2px 12px rgba(211, 26, 36, 0.4));
  transition: transform 0.25s ease;
}

.official-logo-header:hover {
  transform: scale(1.03);
}

.nav-phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-phone-pill svg {
  color: var(--red-light);
}

.nav-phone-pill:hover {
  background: rgba(211, 26, 36, 0.15);
  border-color: rgba(211, 26, 36, 0.4);
  color: var(--red-light);
}

/* ==========================================================================
   LUXURY DROPDOWN MENU (Navigation Bar)
   ========================================================================== */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.dropdown-caret {
  width: 11px;
  height: 11px;
  stroke-width: 2.5;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
  color: var(--text-muted);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 245px;
  background: #151518;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  padding: 0.65rem 0;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 1px rgba(255, 255, 255, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s ease;
  z-index: 1000;
  list-style: none;
  margin: 0;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu,
.nav-item-dropdown.active .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-item-dropdown:hover .dropdown-caret,
.nav-item-dropdown:focus-within .dropdown-caret {
  transform: rotate(180deg);
  color: var(--red-light);
}

.dropdown-item {
  display: block;
  padding: 0.7rem 1.35rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: #cfcfd6;
  text-decoration: none;
  transition: all 0.15s ease;
  text-align: left;
  border-left: 2px solid transparent;
}

.dropdown-item:hover,
.dropdown-item.active {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-white);
  border-left-color: var(--red-light);
  padding-left: 1.55rem;
}

/* Mobile Drawer Dropdown Accordion */
.drawer-dropdown {
  margin: 0.35rem 0 0.85rem;
  border-left: 2px solid rgba(211, 26, 36, 0.4);
  padding-left: 0.85rem;
  transition: border-color 0.25s ease;
}

.drawer-dropdown.active {
  border-left-color: var(--red-light);
}

.drawer-dropdown-title {
  width: 100%;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0;
  cursor: pointer;
  user-select: none;
  text-align: left;
  transition: color 0.2s ease;
}

.drawer-dropdown-title:hover {
  color: var(--red-light);
}

.drawer-dropdown-title .dropdown-chevron {
  width: 18px;
  height: 18px;
  color: var(--red-light);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.drawer-dropdown.active .drawer-dropdown-title .dropdown-chevron {
  transform: rotate(180deg);
}

.drawer-sublinks {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, margin 0.25s ease;
  margin-top: 0;
  pointer-events: none;
}

.drawer-dropdown.active .drawer-sublinks {
  max-height: 280px;
  opacity: 1;
  margin-top: 0.4rem;
  pointer-events: auto;
}

.drawer-sublinks a {
  font-size: 0.92rem;
  color: var(--text-muted);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.drawer-sublinks a:hover,
.drawer-sublinks a.active {
  color: var(--red-light);
  background: rgba(255, 255, 255, 0.05);
  padding-left: 0.85rem;
}

/* ==========================================================================
   SPECIAL PROJECTS HUB & DETAIL CARDS (Clean, Concise, Mobile-Friendly)
   ========================================================================== */
.hub-intro-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.project-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.project-hub-card {
  background: rgba(20, 20, 24, 0.95);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.project-hub-card:hover {
  transform: translateY(-5px);
  border-color: rgba(211, 26, 36, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(211, 26, 36, 0.15);
}

.hub-card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.hub-card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  transition: transform 0.4s ease;
}

.project-hub-card:hover .hub-card-thumb-wrap img {
  transform: scale(1.05);
}

.hub-card-tag-pill {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(10, 10, 12, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
}

.hub-card-body {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hub-card-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--red-light);
  margin-bottom: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hub-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.25;
  margin: 0 0 0.85rem;
}

.hub-card-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex: 1;
}

.hub-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.hub-chip {
  font-size: 0.78rem;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.hub-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

/* Individual Project Detail Hero & Specs Bar */
.project-detail-header-card {
  background: rgba(20, 20, 24, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin-bottom: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.project-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.spec-cell {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
}

.spec-cell-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.spec-cell-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-white);
}

.project-nav-buttons-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border-subtle);
  margin-top: 3rem;
}

@media (max-width: 1024px) {
  .project-hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .project-hub-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .project-specs-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .project-detail-header-card {
    padding: 1.5rem 1.25rem;
  }
  .project-nav-buttons-bar {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ==========================================================================
   DEDICATED FULL-WIDTH SPECIAL PROJECTS SECTIONS (Desktop Optimized)
   ========================================================================== */
.project-jump-bar {
  background: #0d0d10;
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.85rem 0;
  position: sticky;
  top: 84px;
  z-index: 90;
  backdrop-filter: blur(12px);
}

.project-jump-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.jump-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.jump-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  transition: all 0.2s ease;
}

.jump-link:hover,
.jump-link.active {
  background: rgba(211, 26, 36, 0.18);
  border-color: rgba(211, 26, 36, 0.45);
  color: var(--red-light);
}

.special-project-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border-subtle);
  scroll-margin-top: 130px;
}

.special-project-section:nth-of-type(even) {
  background: rgba(14, 14, 18, 0.6);
}

.special-project-section:nth-of-type(odd) {
  background: #09090b;
}

.sp-section-header {
  margin-bottom: 3rem;
}

.sp-header-badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.sp-type-badge {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

.sp-main-title {
  font-size: clamp(2.2rem, 3.8vw, 3.1rem);
  color: var(--text-white);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.85rem 0;
}

.sp-location-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--red-light);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.sp-hero-summary {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 900px;
  margin: 0;
}

/* Phase Accordions & Carousel Controls ("desplegar a gusto" & carrusel) */
.sp-phase-header {
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
  padding: 0.5rem 0.25rem 1rem 0.25rem;
}

.sp-phase-header:hover {
  background: rgba(255, 255, 255, 0.02);
}

.sp-phase-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.sp-phase-header:hover .sp-phase-toggle-btn {
  color: var(--red-light);
  border-color: rgba(211, 26, 36, 0.4);
}

.sp-phase-chevron {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--red-light);
}

.sp-phase-card.collapsed .sp-phase-chevron {
  transform: rotate(-90deg);
}

.sp-phase-card.collapsed .sp-phase-body {
  display: none !important;
}

.sp-phase-global-toggles {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

/* Carousel Controls & Track */
.sp-carousel-wrapper {
  position: relative;
  width: 100%;
  margin-top: 0.5rem;
}

.sp-carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  padding: 0 0.25rem;
}

.sp-carousel-hint {
  font-size: 0.84rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.sp-carousel-hint::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-light);
  box-shadow: 0 0 8px rgba(211, 26, 36, 0.6);
}

.sp-carousel-nav-btns {
  display: flex;
  gap: 0.5rem;
}

.sp-carousel-arrow {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sp-carousel-arrow:hover {
  background: var(--red-primary);
  border-color: var(--red-light);
  transform: scale(1.05);
}

.sp-carousel-track {
  display: flex;
  gap: 1.15rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(211, 26, 36, 0.4) transparent;
  padding-bottom: 0.85rem;
  padding-top: 0.25rem;
}

.sp-carousel-track::-webkit-scrollbar {
  height: 6px;
}

.sp-carousel-track::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
}

.sp-carousel-track::-webkit-scrollbar-thumb {
  background: rgba(211, 26, 36, 0.5);
  border-radius: 4px;
}

.sp-carousel-track .subtheme-photo-thumb {
  flex: 0 0 calc(33.333% - 0.8rem);
  min-width: 270px;
  scroll-snap-align: start;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

@media (max-width: 1024px) {
  .sp-carousel-track .subtheme-photo-thumb {
    flex: 0 0 calc(50% - 0.6rem);
    min-width: 260px;
  }
}

@media (max-width: 768px) {
  .sp-carousel-track {
    gap: 0.85rem;
  }
  .sp-carousel-track .subtheme-photo-thumb {
    flex: 0 0 85% !important;
    min-width: 270px !important;
    max-width: 340px !important;
    scroll-snap-align: center;
  }
  .sp-carousel-track .gallery-overlay {
    padding: 1rem 0.85rem 0.85rem;
  }
  .sp-carousel-track .gallery-title {
    font-size: 1rem !important;
    white-space: normal !important;
    line-height: 1.3 !important;
  }
}

/* Phase Cards - Distinct sub-blocks within each project section */
.sp-phase-card {
  background: rgba(20, 20, 24, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: border-color 0.25s ease;
}

.sp-phase-card:hover {
  border-color: rgba(211, 26, 36, 0.35);
}

.sp-phase-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.sp-phase-title-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sp-phase-number {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-light);
  background: rgba(211, 26, 36, 0.15);
  border: 1px solid rgba(211, 26, 36, 0.3);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
}

.sp-phase-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-white);
  margin: 0 0 0.2rem 0;
}

.sp-phase-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.sp-phase-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 1.75rem 0;
  max-width: 950px;
}

/* Desktop Photo Grid: Wide, beautifully proportioned, uniform 4:3 */
.sp-desktop-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.sp-desktop-photo-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.sp-desktop-photo-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.sp-desktop-photo-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.sp-video-box {
  max-width: 820px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.sp-video-box video {
  width: 100%;
  max-height: 480px;
  display: block;
}

.sp-section-footer {
  background: rgba(14, 14, 18, 0.95);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1rem;
}

.sp-section-footer strong {
  display: block;
  font-size: 1.1rem;
  color: var(--text-white);
  margin-bottom: 0.25rem;
  font-family: 'Outfit', sans-serif;
}

.sp-section-footer span {
  font-size: 0.92rem;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .sp-desktop-photo-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .official-logo-header {
    height: 48px;
    max-width: 170px;
  }
  .nav-phone-pill {
    padding: 0.4rem 0.75rem;
    font-size: 0.82rem;
  }
  .sp-phase-card {
    padding: 1.25rem 1rem;
  }
  .sp-desktop-photo-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 0.85rem !important;
    padding-bottom: 0.85rem !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(211, 26, 36, 0.4) transparent;
  }
  .sp-desktop-photo-grid .subtheme-photo-thumb {
    flex: 0 0 85% !important;
    min-width: 270px !important;
    max-width: 340px !important;
    scroll-snap-align: center !important;
    aspect-ratio: 4 / 3 !important;
  }
  .sp-desktop-photo-grid .gallery-title {
    font-size: 1.05rem !important;
    white-space: normal !important;
    line-height: 1.35 !important;
  }
  .project-jump-bar {
    top: 70px;
  }
  .sp-section-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

@media (max-width: 540px) {
  .nav-phone-pill span {
    display: none;
  }
  .nav-phone-pill {
    padding: 0.45rem;
    border-radius: var(--radius-full);
  }
  .official-logo-header {
    height: 42px;
    max-width: 150px;
  }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spin-icon {
  animation: spin 1s linear infinite;
  display: inline-block;
  vertical-align: middle;
}
