/* ═══════════════════════════════════════════════════════════════
   SS BUILDERS MVS — Extended Pages & Sections Styles
   Seamlessly extends the existing design system
   ═══════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════
   WHY US — COMPARISON SECTION
   ══════════════════════════════════════════════════════════════ */
.why-us {
  background: linear-gradient(180deg, var(--deep-navy) 0%, var(--rich-black) 50%, var(--deep-navy) 100%);
}

.why-us__versus {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: var(--space-2xl);
}

.why-us__card {
  flex: 1;
  max-width: 520px;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--border-radius-xl);
  position: relative;
  overflow: hidden;
  transition: transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}

.why-us__card:hover {
  transform: translateY(-8px);
}

.why-us__card--premium {
  background: linear-gradient(135deg, rgba(245, 143, 124, 0.12) 0%, rgba(242, 196, 206, 0.06) 100%);
  border: 1.5px solid rgba(245, 143, 124, 0.3);
  box-shadow: 0 8px 40px rgba(245, 143, 124, 0.1);
}

.why-us__card--premium:hover {
  box-shadow: 0 16px 60px rgba(245, 143, 124, 0.2);
}

.why-us__card--premium::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(245, 143, 124, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.why-us__card--ordinary {
  background: var(--glass-white);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-white-border);
  opacity: 0.7;
}

.why-us__card--ordinary:hover {
  opacity: 0.85;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.why-us__card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--border-radius-pill);
  font-size: var(--fs-caption);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.why-us__card--premium .why-us__card-badge {
  background: linear-gradient(135deg, var(--electric-blue) 0%, var(--electric-blue-dark) 100%);
  color: var(--white);
}

.why-us__card--ordinary .why-us__card-badge {
  background: var(--midnight-blue);
  color: var(--text-secondary);
}

.why-us__card-title {
  font-size: var(--fs-h4);
  margin-bottom: var(--space-md);
  color: var(--white);
}

.why-us__card--ordinary .why-us__card-title {
  color: var(--text-secondary);
}

.why-us__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.why-us__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--fs-body-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

.why-us__feature-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  margin-top: 2px;
}

.why-us__card--premium .why-us__feature-icon {
  background: rgba(245, 143, 124, 0.2);
  color: var(--electric-blue);
}

.why-us__card--ordinary .why-us__feature-icon {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.why-us__vs-badge {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--electric-blue) 0%, var(--electric-blue-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  box-shadow: 0 0 40px var(--electric-blue-glow);
  z-index: 2;
}

/* ══════════════════════════════════════════════════════════════
   CONSTRUCTION CALCULATOR
   ══════════════════════════════════════════════════════════════ */
.calc-toggle {
  position: fixed;
  bottom: 8rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--electric-blue) 0%, var(--electric-blue-dark) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-modal);
  box-shadow: 0 4px 20px var(--electric-blue-glow);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--duration) var(--ease-out);
  font-size: 1.5rem;
}

.calc-toggle.visible {
  opacity: 1;
  transform: translateY(0);
}

.calc-toggle:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 30px var(--electric-blue-glow);
}

.calc-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 90%;
  max-width: 380px;
  max-height: 85vh;
  overflow-y: auto;
  background: rgba(44, 43, 48, 0.95);
  backdrop-filter: blur(var(--glass-blur-heavy));
  -webkit-backdrop-filter: blur(var(--glass-blur-heavy));
  border: 1px solid var(--glass-white-border);
  border-radius: var(--border-radius-xl);
  padding: var(--space-lg);
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -45%) scale(0.95);
  transition: all var(--duration) var(--ease-out);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.calc-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.calc-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.calc-panel__title {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  color: var(--white);
}

.calc-panel__close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--glass-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--duration-fast) ease;
  color: var(--text-secondary);
}

.calc-panel__close:hover {
  background: var(--glass-white-hover);
  color: var(--white);
}

.calc-panel__close svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.calc-panel__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.calc-field__label {
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.calc-field__input,
.calc-field__select {
  padding: 0.75rem 1rem;
  background: var(--glass-white);
  border: 1px solid var(--glass-white-border);
  border-radius: var(--border-radius);
  color: var(--white);
  font-size: var(--fs-body-sm);
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
  width: 100%;
}

.calc-field__input:focus,
.calc-field__select:focus {
  border-color: var(--electric-blue);
  box-shadow: 0 0 0 3px var(--electric-blue-subtle);
  outline: none;
}

.calc-field__select option {
  background: var(--deep-navy);
  color: var(--white);
}

.calc-field__checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.calc-field__checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--electric-blue);
  cursor: pointer;
}

.calc-field__checkbox span {
  font-size: var(--fs-body-sm);
  color: var(--text-secondary);
}

.calc-result {
  margin-top: var(--space-md);
  padding: var(--space-md);
  background: linear-gradient(135deg, rgba(245, 143, 124, 0.1) 0%, rgba(242, 196, 206, 0.05) 100%);
  border: 1px solid rgba(245, 143, 124, 0.2);
  border-radius: var(--border-radius);
  text-align: center;
}

.calc-result__label {
  font-size: var(--fs-caption);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.calc-result__value {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--electric-blue);
}

.calc-result__note {
  font-size: var(--fs-caption);
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ══════════════════════════════════════════════════════════════
   OUR WORKFLOW — HORIZONTAL ROADMAP
   ══════════════════════════════════════════════════════════════ */
.workflow {
  background: var(--deep-navy);
  overflow: hidden;
}

.workflow__roadmap {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: var(--space-xl) 0;
  position: relative;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.workflow__roadmap::-webkit-scrollbar {
  display: none;
}

.workflow__roadmap::before {
  content: '';
  position: absolute;
  top: 52px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--midnight-blue) 10%, var(--midnight-blue) 90%, transparent 100%);
}

.workflow__step {
  flex: 0 0 auto;
  width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 var(--space-sm);
  opacity: 0;
  transform: translateY(30px);
}

.workflow__step.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s var(--ease-out);
}

.workflow__node {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--glass-white);
  border: 2px solid var(--electric-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 2;
  transition: all var(--duration) var(--ease-out);
}

.workflow__step:hover .workflow__node {
  background: var(--electric-blue);
  transform: scale(1.15);
  box-shadow: 0 0 30px var(--electric-blue-glow);
}

.workflow__connector {
  position: absolute;
  top: 24px;
  left: calc(50% + 24px);
  width: calc(100% - 48px);
  height: 2px;
  background: var(--electric-blue);
  opacity: 0.3;
  z-index: 1;
}

.workflow__step:last-child .workflow__connector {
  display: none;
}

.workflow__label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.workflow__desc {
  font-size: var(--fs-caption);
  color: var(--text-muted);
  line-height: 1.4;
}

/* ══════════════════════════════════════════════════════════════
   MATERIAL BRANDS — TRUSTED PARTNERS
   ══════════════════════════════════════════════════════════════ */
.brands {
  background: var(--rich-black);
}

.brands__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.brand-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 2.5rem) var(--space-md);
  background: var(--glass-white);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-white-border);
  border-radius: var(--border-radius);
  transition: all var(--duration) var(--ease-out);
  cursor: default;
}

.brand-card:hover {
  background: var(--glass-white-hover);
  border-color: rgba(245, 143, 124, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(245, 143, 124, 0.1);
}

.brand-card__name {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--duration) var(--ease-out);
  white-space: nowrap;
}

.brand-card:hover .brand-card__name {
  color: var(--electric-blue);
}


/* ══════════════════════════════════════════════════════════════
   FLOATING QUICK ACTIONS
   ══════════════════════════════════════════════════════════════ */
.quick-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  z-index: var(--z-card);
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--duration) var(--ease-out);
  pointer-events: none;
}

.quick-actions.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.quick-action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-pill);
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--duration) var(--ease-out);
  text-decoration: none;
  border: none;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.quick-action__label {
  position: absolute;
  right: 100%;
  margin-right: 0.75rem;
  padding: 0.375rem 0.75rem;
  background: rgba(44, 43, 48, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-white-border);
  border-radius: var(--border-radius-sm);
  font-size: var(--fs-caption);
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: all var(--duration-fast) var(--ease-out);
  pointer-events: none;
}

.quick-action:hover .quick-action__label {
  opacity: 1;
  transform: translateX(0);
}

.quick-action--call {
  background: linear-gradient(135deg, #10b981, #059669);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.quick-action--whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.quick-action--consult {
  background: linear-gradient(135deg, var(--electric-blue), var(--electric-blue-dark));
  color: var(--white);
  box-shadow: 0 4px 15px var(--electric-blue-glow);
}

.quick-action--calc {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.quick-action--top {
  background: var(--glass-white);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-white-border);
  color: var(--white);
}

.quick-action:hover {
  transform: translateY(-3px) scale(1.08);
}

.quick-action svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════
   PROJECT DETAIL MODAL
   ══════════════════════════════════════════════════════════════ */
.project-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration) var(--ease-out);
  padding: var(--space-lg);
}

.project-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.project-modal {
  width: 100%;
  max-width: 700px;
  max-height: 85vh;
  overflow-y: auto;
  background: rgba(44, 43, 48, 0.95);
  backdrop-filter: blur(var(--glass-blur-heavy));
  -webkit-backdrop-filter: blur(var(--glass-blur-heavy));
  border: 1px solid var(--glass-white-border);
  border-radius: var(--border-radius-xl);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  transform: translateY(30px) scale(0.95);
  transition: transform var(--duration) var(--ease-out);
}

.project-modal-overlay.open .project-modal {
  transform: translateY(0) scale(1);
}

.project-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--glass-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--duration-fast) ease;
  z-index: 2;
}

.project-modal__close:hover {
  background: var(--glass-white-hover);
}

.project-modal__close svg {
  width: 16px;
  height: 16px;
  stroke: var(--white);
  stroke-width: 2;
  fill: none;
}

.project-modal__header {
  margin-bottom: var(--space-md);
  position: relative;
}

.project-modal__type {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--electric-blue);
  color: var(--white);
  border-radius: var(--border-radius-pill);
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.project-modal__title {
  font-size: var(--fs-h3);
  color: var(--white);
  margin-bottom: 0.5rem;
}

.project-modal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.project-modal__detail {
  padding: var(--space-sm);
  background: var(--glass-white);
  border-radius: var(--border-radius);
  border: 1px solid var(--glass-white-border);
}

.project-modal__detail-label {
  font-size: var(--fs-caption);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.project-modal__detail-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}

.project-modal__materials {
  margin-bottom: var(--space-md);
}

.project-modal__materials h4 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.project-modal__material-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-modal__material-tag {
  padding: 0.3rem 0.75rem;
  background: rgba(245, 143, 124, 0.1);
  border: 1px solid rgba(245, 143, 124, 0.2);
  border-radius: var(--border-radius-pill);
  font-size: var(--fs-caption);
  color: var(--electric-blue);
}

.project-modal__review {
  padding: var(--space-md);
  background: var(--glass-white);
  border-radius: var(--border-radius);
  border: 1px solid var(--glass-white-border);
}

.project-modal__review-text {
  font-style: italic;
  color: var(--text-secondary);
  font-size: var(--fs-body-sm);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.project-modal__review-author {
  font-weight: 600;
  color: var(--white);
  font-size: var(--fs-body-sm);
}

/* Before/After slider placeholder */
.project-card__ba-slider {
  position: relative;
  height: 200px;
  background: linear-gradient(90deg, rgba(245, 143, 124, 0.05) 50%, rgba(255, 255, 255, 0.03) 50%);
  border-radius: var(--border-radius);
  border: 1px dashed var(--glass-white-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-sm);
  overflow: hidden;
}

.project-card__ba-label {
  position: absolute;
  bottom: 0.75rem;
  padding: 0.25rem 0.5rem;
  background: rgba(0, 0, 0, 0.5);
  border-radius: var(--border-radius-sm);
  font-size: var(--fs-caption);
  color: var(--text-secondary);
}

.project-card__ba-label--before {
  left: 0.75rem;
}

.project-card__ba-label--after {
  right: 0.75rem;
}

.project-card__ba-divider {
  width: 2px;
  height: 100%;
  background: var(--electric-blue);
  position: relative;
}

.project-card__ba-divider::after {
  content: '⇔';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--electric-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--white);
}

.project-card__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: var(--space-sm);
}

.project-card__detail-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  background: var(--glass-white);
  border: 1px solid var(--glass-white-border);
  border-radius: var(--border-radius-pill);
  color: var(--text-secondary);
  font-size: var(--fs-caption);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.project-card__detail-btn:hover {
  background: var(--electric-blue);
  border-color: var(--electric-blue);
  color: var(--white);
}

/* ══════════════════════════════════════════════════════════════
   PROCESS PAGE
   ══════════════════════════════════════════════════════════════ */
.process-hero {
  padding-top: calc(var(--nav-height) + var(--space-3xl));
  padding-bottom: var(--space-2xl);
  background: linear-gradient(180deg, var(--rich-black) 0%, var(--deep-navy) 100%);
  position: relative;
}

.process-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-2xl) 0;
}

.process-timeline__line {
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--electric-blue) 0%, var(--midnight-blue) 50%, var(--electric-blue) 100%);
  opacity: 0.3;
}

.process-timeline__progress {
  position: absolute;
  left: 40px;
  top: 0;
  width: 2px;
  height: 0;
  background: var(--electric-blue);
  box-shadow: 0 0 10px var(--electric-blue-glow);
  transition: height 0.1s linear;
}

.process-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-md) 0;
  margin-left: 0;
}

.process-step__marker {
  flex-shrink: 0;
  width: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.process-step__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--glass-white);
  border: 2px solid var(--midnight-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all var(--duration) var(--ease-out);
}

.process-step.active .process-step__number,
.process-step:hover .process-step__number {
  background: var(--electric-blue);
  border-color: var(--electric-blue);
  color: var(--white);
  box-shadow: 0 0 20px var(--electric-blue-glow);
  transform: scale(1.1);
}

.process-step__icon {
  font-size: 1.5rem;
  margin-top: 0.5rem;
}

.process-step__content {
  flex: 1;
  padding: var(--space-md) var(--space-lg);
  background: var(--glass-white);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-white-border);
  border-radius: var(--border-radius-lg);
  transition: all var(--duration) var(--ease-out);
  cursor: pointer;
}

.process-step__content:hover {
  background: var(--glass-white-hover);
  border-color: rgba(245, 143, 124, 0.2);
  box-shadow: 0 8px 32px rgba(245, 143, 124, 0.1);
  transform: translateX(8px);
}

.process-step__title {
  font-size: var(--fs-h4);
  color: var(--white);
  margin-bottom: 0.25rem;
}

.process-step__subtitle {
  font-size: var(--fs-body-sm);
  color: var(--electric-blue);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.process-step__details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out), opacity 0.3s ease;
  opacity: 0;
}

.process-step__content:hover .process-step__details,
.process-step__content.expanded .process-step__details {
  max-height: 300px;
  opacity: 1;
}

.process-step__desc {
  font-size: var(--fs-body-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  padding-top: 0.5rem;
  border-top: 1px solid var(--glass-white-border);
}

.process-step__features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.process-step__feature {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.6rem;
  background: rgba(245, 143, 124, 0.08);
  border-radius: var(--border-radius-pill);
  font-size: var(--fs-caption);
  color: var(--electric-blue);
}

/* ══════════════════════════════════════════════════════════════
   MATERIALS PAGE REDESIGN
   ══════════════════════════════════════════════════════════════ */
.materials-hero {
  position: relative;
  padding-top: calc(var(--nav-height) + var(--space-3xl));
  padding-bottom: var(--space-3xl);
  overflow: hidden;
  background-color: var(--rich-black);
}

.blueprint-bg {
  background-color: #050a12; /* Darker navy */
}

.architectural-grid {
  position: absolute;
  inset: 0;
  background-size: 50px 50px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  z-index: 0;
  opacity: 0.6;
}

.animated-glow {
  position: absolute;
  top: -20%;
  left: 20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(245, 143, 124, 0.15) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 1;
  animation: glowPulse 8s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
  100% { transform: scale(1.1) translate(5%, 5%); opacity: 1; }
}

.floating-particles {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 100px 100px;
  background-position: 0 0;
  z-index: 0;
  animation: floatUp 30s linear infinite;
  opacity: 0.5;
}

@keyframes floatUp {
  0% { background-position: 0 0; }
  100% { background-position: 0 -100px; }
}

.materials-container {
  position: relative;
  z-index: 2;
}

.materials-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.materials-header .subtitle {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-top: var(--space-md);
  line-height: 1.6;
}

.materials-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.stat-item {
  text-align: center;
  padding: var(--space-md) var(--space-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(10px);
  min-width: 180px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--electric-blue);
  margin-left: 2px;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

/* Brands Showcase Grid/Carousel */
.brands-showcase {
  position: relative;
  width: 100%;
}

.brands-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

/* Mobile infinite scroll */
@media (max-width: 1024px) {
  .brands-track {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .brands-showcase {
    overflow-x: hidden;
    padding: var(--space-md) 0;
  }
  .brands-track {
    display: flex;
    gap: var(--space-md);
    width: max-content;
    animation: infiniteScroll 20s linear infinite;
  }
  .brands-track:hover {
    animation-play-state: paused;
  }
  .brand-card {
    width: 280px;
    flex-shrink: 0;
  }
}

@keyframes infiniteScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - (var(--space-md) / 2))); } /* Requires duplicated cards in JS for seamless */
}

/* Glass Card */
.brand-card {
  position: relative;
  perspective: 1000px;
  cursor: pointer;
}

.brand-card__inner {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  overflow: visible; 
  transform-style: preserve-3d;
}

/* Light Sweep */
.brand-card__inner::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  transition: left 0.6s ease;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
}

.brand-card:hover .brand-card__inner::after {
  left: 200%;
}

.brand-card:hover .brand-card__inner {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(245, 143, 124, 0.4);
  box-shadow: 0 15px 40px rgba(245, 143, 124, 0.15);
}

.brand-logo-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.brand-card:hover .brand-logo-wrapper {
  transform: scale(1.1) translateZ(20px);
}

.brand-logo {
  max-width: 90%;
  max-height: 130px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

/* Brand Info Popup */
.brand-info-popup {
  position: absolute;
  bottom: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%) translateY(10px) scale(0.95);
  width: 280px;
  background: rgba(10, 15, 25, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(245, 143, 124, 0.3);
  border-radius: 16px;
  padding: var(--space-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 143, 124, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 100;
  pointer-events: none;
}

.brand-info-popup::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: rgba(10, 15, 25, 0.95) transparent transparent transparent;
}

.brand-info-popup::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 9px;
  border-style: solid;
  border-color: rgba(245, 143, 124, 0.3) transparent transparent transparent;
  margin-top: 1px;
  z-index: -1;
}

.brand-card:hover .brand-info-popup {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

.popup-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.popup-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: rgba(255,255,255,0.9);
  border-radius: 8px;
  padding: 4px;
}

.popup-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.popup-category {
  font-size: 0.75rem;
  color: var(--electric-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

.popup-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
  text-align: left;
}

.popup-badges {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.qa-badge {
  font-size: 0.75rem;
  color: var(--white);
  background: rgba(245, 143, 124, 0.15);
  border: 1px solid rgba(245, 143, 124, 0.3);
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  font-weight: 500;
}
/* ══════════════════════════════════════════════════════════════
   GALLERY PAGE
   ══════════════════════════════════════════════════════════════ */
.gallery-hero {
  padding-top: calc(var(--nav-height) + var(--space-3xl));
  padding-bottom: var(--space-2xl);
  background: linear-gradient(180deg, var(--rich-black) 0%, var(--deep-navy) 100%);
}

.gallery__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: var(--space-2xl);
}

.gallery__filter {
  padding: 0.5rem 1.25rem;
  background: var(--glass-white);
  border: 1px solid var(--glass-white-border);
  border-radius: var(--border-radius-pill);
  color: var(--text-secondary);
  font-size: var(--fs-body-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.gallery__filter:hover {
  background: var(--glass-white-hover);
  color: var(--white);
}

.gallery__filter.active {
  background: var(--electric-blue);
  border-color: var(--electric-blue);
  color: var(--white);
}

.gallery__masonry {
  columns: 3;
  column-gap: var(--space-md);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery__masonry.filtering {
  opacity: 0;
  transform: translateY(10px);
}

.gallery__item {
  break-inside: avoid;
  margin-bottom: var(--space-md);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all var(--duration) var(--ease-out);
}

.gallery__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.gallery__item[data-category] {
  display: block;
}

.gallery__item.hidden {
  display: none;
}

.gallery__placeholder {
  aspect-ratio: auto;
  min-height: 200px;
  background: linear-gradient(135deg, rgba(245, 143, 124, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--duration) var(--ease-out);
}

.gallery__item:hover .gallery__placeholder {
  background: rgba(245, 143, 124, 0.08);
  border-color: rgba(245, 143, 124, 0.25);
}

.gallery__placeholder-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(245, 143, 124, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration) var(--ease-out);
}

.gallery__item:hover .gallery__placeholder-icon {
  background: rgba(245, 143, 124, 0.2);
  transform: scale(1.1);
}

.gallery__placeholder-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--electric-blue);
  stroke-width: 1.5;
  fill: none;
}

.gallery__placeholder-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.gallery__placeholder-hint {
  font-size: var(--fs-caption);
  color: var(--text-muted);
}

.gallery__category-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.6rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  border-radius: var(--border-radius-pill);
  font-size: var(--fs-caption);
  font-weight: 500;
  color: var(--white);
  opacity: 0;
  transform: translateY(-4px);
  transition: all var(--duration-fast) ease;
}

.gallery__item:hover .gallery__category-badge {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration) ease;
}

.lightbox-overlay.open {
  opacity: 1;
  visibility: visible;
}

.lightbox__content {
  background: rgba(44, 43, 48, 0.95);
  border: 1px solid var(--glass-white-border);
  border-radius: var(--border-radius-xl);
  padding: var(--space-2xl);
  transform: scale(0.9);
  transition: transform var(--duration) var(--ease-out);
  max-width: 1000px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
}

.lightbox__split {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
}

.lightbox__image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--border-radius-md);
  object-fit: contain;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.lightbox__details {
  flex: 0 0 350px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.lightbox__details .lightbox__title {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  color: var(--white);
  line-height: 1.2;
}

.lightbox__details .lightbox__category {
  display: inline-block;
  padding: 0.35rem 1.25rem;
  background: rgba(245, 143, 124, 0.15);
  color: var(--primary);
  border-radius: 20px;
  font-weight: 500;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.lightbox__details .lightbox__location {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.6;
}

.lightbox__details .lightbox__location svg {
  width: 18px;
  height: 18px;
  vertical-align: text-top;
  margin-right: 8px;
  color: var(--primary);
  display: inline-block;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .lightbox__split {
    flex-direction: column;
    padding: var(--space-xl);
  }
  
  .lightbox__details {
    flex: auto;
    width: 100%;
    align-items: center;
    text-align: center;
  }
  
  .lightbox__img {
    max-height: 50vh;
  }
}
/* Custom scrollbar for lightbox */
.lightbox__content::-webkit-scrollbar {
  width: 6px;
}
.lightbox__content::-webkit-scrollbar-thumb {
  background: var(--glass-white);
  border-radius: 10px;
}

.lightbox-overlay.open .lightbox__content {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
}

.lightbox__close svg {
  width: 18px;
  height: 18px;
  stroke: var(--white);
  stroke-width: 2;
  fill: none;
}

.lightbox__placeholder-large {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, rgba(245, 143, 124, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: var(--space-md);
}

.lightbox__placeholder-large svg {
  width: 48px;
  height: 48px;
  stroke: var(--electric-blue);
  stroke-width: 1.5;
  fill: none;
}

.lightbox__title {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  color: var(--white);
}

.lightbox__category {
  font-size: var(--fs-body-sm);
  color: var(--electric-blue);
}

/* ══════════════════════════════════════════════════════════════
   SHARED PAGE HEADER (for new pages)
   ══════════════════════════════════════════════════════════════ */
.page-header {
  text-align: center;
  padding-top: calc(var(--nav-height) + var(--space-3xl));
  padding-bottom: var(--space-2xl);
  position: relative;
}

.page-header .text-overline {
  margin-bottom: var(--space-sm);
  display: block;
}

.page-header h1 {
  margin-bottom: var(--space-md);
}

.page-header p {
  font-size: var(--fs-body-lg);
  max-width: 600px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px var(--electric-blue-glow); }
  50% { box-shadow: 0 0 40px var(--electric-blue-glow), 0 0 60px rgba(245, 143, 124, 0.1); }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .why-us__versus {
    flex-direction: column;
    align-items: center;
  }

  .why-us__vs-badge {
    transform: rotate(90deg);
  }

  .why-us__card {
    max-width: 100%;
  }

  .brands__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__masonry {
    columns: 2;
  }
}

@media (max-width: 768px) {
  .brands__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .project-modal__grid {
    grid-template-columns: 1fr;
  }

  .materials__grid {
    grid-template-columns: 1fr;
  }

  .gallery__masonry {
    columns: 1;
  }

  .process-step {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 0;
  }

  .process-timeline__line,
  .process-timeline__progress {
    left: 20px;
  }

  .process-step__marker {
    width: 40px;
  }

  .process-step__number {
    width: 40px;
    height: 40px;
    font-size: 0.875rem;
  }

  .workflow__roadmap {
    padding: var(--space-lg) var(--space-sm);
  }

  .workflow__step {
    width: 180px;
  }
  .calc-panel {
    width: 95%;
  }

  .quick-actions {
    bottom: 1rem;
    right: 1rem;
  }

  .quick-action {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .why-us__card {
    padding: 1.5rem;
  }

  .why-us__vs-badge {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }

  .gallery__filters {
    gap: 0.375rem;
  }

  .gallery__filter {
    padding: 0.375rem 0.875rem;
    font-size: var(--fs-caption);
  }
}

/* ══════════════════════════════════════════════════════════════
   3D ENHANCEMENTS
   ══════════════════════════════════════════════════════════════ */

/* Tilt Card Reflection */
.project-card {
  transform-style: preserve-3d;
  position: relative;
  overflow: visible; /* Required for depth shadow */
}

.project-card__reflection {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--duration) ease;
}

.project-card__depth-shadow {
  position: absolute;
  top: 5%;
  left: 5%;
  width: 90%;
  height: 90%;
  background: rgba(0, 0, 0, 0.5);
  border-radius: inherit;
  filter: blur(20px);
  pointer-events: none;
  z-index: -1;
  transition: transform 0.1s linear;
}

/* Ensure 3D canvases don't block interactions */
canvas {
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

#map-3d-overlay {
  pointer-events: none !important;
}
