/* ── Modal System ── */
.p-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.p-modal.is-active {
  opacity: 1;
  pointer-events: auto;
}

.p-modal__backdrop {
  position: absolute;
  inset: 0;
  background: var(--bg-overlay);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.p-modal__container {
  position: relative;
  width: 100%;
  max-width: 1100px;
  max-height: 90vh;
  background: var(--bg-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6);
  transform: translateY(30px) scale(0.98);
  transition: transform 0.5s var(--ease-spring);
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .p-modal {
    padding: 0;
  }
  .p-modal__container {
    max-width: 100%;
    max-height: 100vh;
    height: 100vh;
    border-radius: 0;
  }
  .p-modal__body {
    padding: 16px;
  }
  .p-modal__header-new {
    padding: 14px 16px;
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--bg-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .p-modal__title {
    font-size: var(--text-lg) !important;
    line-height: 1.2 !important;
  }
  .p-modal__layout {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .case-carousel, .service-image-box {
    height: 220px !important;
    order: -1;
  }
  /* Metric cards on mobile: compact, no overflow */
  .metric-grid {
    gap: 6px;
  }
  .metric-card {
    padding: 10px 4px;
    min-height: 80px;
  }
  /* DO NOT override font-size here — let the clamp() in base rule handle it */
}

@media (max-width: 480px) {
  .p-modal__close-new {
    width: 36px;
    height: 36px;
  }
  .metric-grid {
    gap: 4px;
  }
  .metric-card {
    padding: 8px 3px;
    min-height: 72px;
  }
  .metric-card__label {
    font-size: 7px;
    letter-spacing: 0.05em;
  }
}

.p-modal.is-active .p-modal__container {
  transform: translateY(0) scale(1);
}

/* Modal Internal Spacing Improvement */
.p-modal__body {
  flex: 1;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  padding: var(--space-8) var(--space-10);
  padding-bottom: var(--space-20); /* Extra space at bottom */
  scrollbar-width: thin;
  scrollbar-color: var(--color-orange) var(--bg-tertiary);
  overscroll-behavior: contain;
  min-height: 0;
}

.p-modal__body::-webkit-scrollbar {
  width: 6px;
}
.p-modal__body::-webkit-scrollbar-track {
  background: var(--bg-tertiary);
}
.p-modal__body::-webkit-scrollbar-thumb {
  background-color: var(--color-orange);
  border-radius: 4px;
}



.p-modal__header-new {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* Better for multi-line titles */
  padding: var(--space-6) var(--space-10);
  background: var(--bg-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: sticky;
  top: 0;
  z-index: 10;
  gap: var(--space-6);
}

.p-modal__brand {
  flex: 1;
  min-width: 0; /* Important for flex child with text */
}

.p-modal__title {
  font-size: var(--text-2xl);
  line-height: 1.1;
  margin: 0;
  font-weight: 800;
  word-wrap: break-word;
}

.p-modal__close-new {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-top: 4px; /* Align slightly with title top */
}

@media (max-width: 992px) {
  .p-modal__layout {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .case-carousel, .service-image-box {
    height: 300px;
    order: -1;
  }
}

.p-modal__info {
  padding-right: var(--space-4);
}

/* Modal Internal Spacing Improvement */
.p-modal__info {
  container-type: inline-size;
  min-width: 0;
}

.p-modal__info .metric-grid {
  margin: 16px 0;
}

/* Premium Carousel Controls */
.case-carousel__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.case-carousel__btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.4);
}

/* ── Dashboard Table Widget (Economic Calendar Style) ── */
.dashboard-widget {
  width: 100%;
  background: #0d121f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  margin-top: var(--space-6);
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.dashboard-widget::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 200, 180, 0.4), transparent);
}

/* Widget Toolbar (replaces notion-controls) */
.dashboard-widget__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
  gap: var(--space-3);
}

.dashboard-widget__title {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.dashboard-widget__title svg {
  width: 18px;
  height: 18px;
  color: var(--color-orange);
}

.dashboard-widget__filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.dashboard-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.dashboard-filter:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.dashboard-filter.is-active {
  background: rgba(0, 200, 180, 0.12);
  border-color: rgba(0, 200, 180, 0.3);
  color: #00c8b4;
}

.dashboard-filter__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dashboard-widget__title-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: var(--space-4);
}

.dashboard-widget__pagination--top {
  margin-left: auto;
}

@media (max-width: 768px) {
  .dashboard-widget__title-group {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }
  .dashboard-widget__pagination--top {
    margin-left: 0;
  }
}

/* Table Structure */
.dashboard-table {
  width: 100%;
  border-collapse: collapse;
}

.dashboard-table thead th {
  padding: var(--space-4) var(--space-5);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #00c8b4; /* Solid bright color for better readability */
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
}

.dashboard-table thead th .sort-icon {
  display: inline-flex;
  vertical-align: middle;
  margin-left: 4px;
  opacity: 0.4;
}

.dashboard-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, transform 0.2s ease;
  background: #0d121f;
}

.dashboard-table tbody tr:nth-child(even) {
  background: #111827;
}

.dashboard-table tbody tr:hover {
  background: #1a2540;
  transform: translateX(2px);
}

.dashboard-table tbody tr:last-child {
  border-bottom: none;
}

.dashboard-table tbody td {
  padding: var(--space-4) var(--space-5);
  font-size: 13px;
  color: #e2e8f0; /* Brighter color for readability */
  line-height: 1.4;
  vertical-align: middle;
}

.dashboard-table .td-date {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-weight: 500;
  white-space: nowrap;
  font-size: 13px;
}

.dashboard-table .td-client {
  font-weight: 600;
  color: var(--text-primary);
}

.dashboard-table .td-desc {
  max-width: 300px;
  font-size: 12px;
  color: var(--text-secondary);
}

.dashboard-table .td-contract {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Category Badges (solid background like reference) */
.cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.cat-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cat-badge--hot-tapping { background: rgba(255, 107, 0, 0.15); color: #ff9d5c; }
.cat-badge--hot-tapping .cat-badge__dot { background: #ff6b00; }

.cat-badge--suministros { background: rgba(79, 195, 247, 0.15); color: #81d4fa; }
.cat-badge--suministros .cat-badge__dot { background: #4fc3f7; }

.cat-badge--integridad { background: rgba(129, 199, 132, 0.15); color: #a5d6a7; }
.cat-badge--integridad .cat-badge__dot { background: #81c784; }

.cat-badge--mantenimiento { background: rgba(206, 147, 216, 0.15); color: #e1bee7; }
.cat-badge--mantenimiento .cat-badge__dot { background: #ce93d8; }

.cat-badge--rehabilitacion { background: rgba(229, 115, 115, 0.15); color: #ef9a9a; }
.cat-badge--rehabilitacion .cat-badge__dot { background: #e57373; }

.cat-badge--line-stop { background: rgba(255, 241, 118, 0.12); color: #fff59d; }
.cat-badge--line-stop .cat-badge__dot { background: #fff176; }

.cat-badge--revestimientos { background: rgba(255, 183, 77, 0.15); color: #ffe0b2; }
.cat-badge--revestimientos .cat-badge__dot { background: #ffb74d; }

.cat-badge--default { background: rgba(255, 255, 255, 0.06); color: var(--text-secondary); }
.cat-badge--default .cat-badge__dot { background: var(--text-muted); }

/* Widget Footer (pagination inside widget) */
.dashboard-widget__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.01);
}

.dashboard-widget__status {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.dashboard-widget__pagination {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dash-page-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.dash-page-btn:hover:not(:disabled) {
  background: rgba(0, 200, 180, 0.1);
  border-color: rgba(0, 200, 180, 0.3);
  color: #00c8b4;
}

.dash-page-btn.is-active {
  background: rgba(0, 200, 180, 0.15);
  border-color: #00c8b4;
  color: #00c8b4;
}

.dash-page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Responsive Table */
@media (max-width: 992px) {
  .dashboard-table thead {
    display: none;
  }
  .dashboard-table, .dashboard-table tbody, .dashboard-table tr, .dashboard-table td {
    display: block;
  }
  .dashboard-table tbody tr {
    padding: var(--space-5) var(--space-5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .dashboard-table tbody td {
    padding: 3px var(--space-5);
    display: flex;
    gap: 8px;
    align-items: center;
  }
  .dashboard-table tbody td::before {
    content: attr(data-label);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #00c8b4; /* Solid color for mobile labels */
    min-width: 95px;
    flex-shrink: 0;
    opacity: 0.9;
  }
  .dashboard-table .td-desc {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .dashboard-widget__toolbar {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-4);
  }
  .dashboard-widget__filters {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    flex-wrap: nowrap;
  }
  .dashboard-widget__footer {
    flex-direction: column;
    gap: var(--space-3);
    text-align: center;
    padding: var(--space-4);
  }
  .dashboard-table tbody td {
    font-size: 12px;
  }
}

/* Legacy notion classes (keep for fallback) */
.notion-tag { display: none; }
.notion-table-container { display: none; }

/* Modal Split Layout Override */
.p-modal__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: start;
  min-width: 0;
}

.p-modal__layout > * {
  min-width: 0;
}

/* Only constrain overflow on the carousel, not the info panel */
.p-modal__layout > .case-carousel {
  overflow: hidden;
}

/* Removed duplicate p-modal__header-new */

.p-modal__tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid var(--color-orange);
  color: var(--color-orange);
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-4);
}

/* Removed duplicate p-modal__title */

.p-modal__scope {
  margin-top: var(--space-8);
  padding: var(--space-6);
  background: rgba(255, 107, 0, 0.03);
  border: 1px solid rgba(255, 107, 0, 0.1);
  border-left: 4px solid var(--color-orange);
  border-radius: var(--radius-md) var(--radius-xl) var(--radius-xl) var(--radius-md);
  position: relative;
  overflow: hidden;
}

.p-modal__scope::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60px; height: 60px;
  background: radial-gradient(circle at top right, rgba(255, 107, 0, 0.1), transparent 70%);
  pointer-events: none;
}

.p-modal__scope-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: var(--color-orange);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.p-modal__scope-content {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.p-modal__cta {
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.case-carousel, .service-image-box {
  height: clamp(400px, 50vh, 550px);
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-xl);
  min-height: 0;
}

.case-carousel__track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-carousel__img, .service-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.case-carousel__nav {
  position: absolute;
  bottom: var(--space-6);
  right: var(--space-6);
  display: flex;
  gap: var(--space-2);
  z-index: 10;
}

.case-carousel__btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: hsla(220, 35%, 10%, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid hsla(0, 0%, 100%, 0.1);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.case-carousel__btn:hover {
  background: var(--color-orange);
  color: var(--text-inverse);
  box-shadow: 0 0 15px hsla(25, 100%, 54%, 0.4);
}

/* ── Service Block (Split Layout) ── */
.service-item {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-12);
  align-items: center;
  margin-bottom: var(--space-24);
}

@media (max-width: 992px) {
  .service-item {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    margin-bottom: var(--space-16);
  }
}

.service-item--reverse {
  direction: rtl;
}

.service-item--reverse .service-item__content {
  direction: ltr; /* Reset text direction for content */
}

.service-item__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* ── Metric Cards (Standardized) ── */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: var(--space-5) 0;
  width: 100%;
}

@media (max-width: 380px) {
  .metric-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
  }
}

.metric-card {
  background: #161e31;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 12px 6px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 85px;
  min-width: 0;
  opacity: 1; /* Explicit — prevents GSAP leaving any card at partial opacity */
  isolation: isolate; /* Own stacking context — no color bleed from parent */
}

.metric-card:hover {
  background: #1e2d4a;
  border-color: rgba(0, 200, 180, 0.35);
  transform: translateY(-3px);
}

.metric-card__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-orange);
  box-shadow: 0 0 8px var(--color-orange);
  margin-bottom: 6px;
  opacity: 0.7;
  flex-shrink: 0;
}

.metric-card:hover::after {
  width: 80px;
  opacity: 1;
}

.metric-card__value {
  display: block;
  font-family: var(--font-display);
  /* Use font-size in px tied to card container, not viewport */
  font-size: clamp(0.7rem, 3cqi, 1.4rem);
  font-size: clamp(0.7rem, 4vw, 1.4rem); /* fallback for browsers without cqi */
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 2px;
  letter-spacing: -0.02em;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  width: 100%;
  max-width: 100%;
}

.metric-card__label {
  display: block;
  font-size: 8px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
  line-height: 1.2;
  word-break: break-word;
  overflow-wrap: break-word;
  width: 100%;
}

/* Modal and Global Button standard */
.btn--featured {
    margin-top: var(--space-8);
}

/* ── Historical List (Custom UI) ── */
.historical-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.historical-item {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.historical-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--color-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.historical-item:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.historical-item:hover::before {
  opacity: 1;
}

.historical-item__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: var(--space-2);
  margin-bottom: var(--space-2);
}

.historical-item__date {
  font-family: var(--font-mono);
  color: var(--color-gray-light);
  font-size: 0.85rem;
}

.historical-item__category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(255, 107, 0, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
}

.historical-item__client {
  font-size: 1.1rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: white;
  margin: 0;
}

.historical-item__desc {
  font-size: 0.95rem;
  color: var(--color-gray-lighter);
  margin: 0;
  line-height: 1.5;
}

.historical-item__contract {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-gray-light);
  margin-top: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .historical-item {
    grid-template-columns: 1fr 2fr;
    align-items: center;
    gap: var(--space-8);
  }
  .historical-item__header {
    flex-direction: column;
    align-items: flex-start;
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0;
    padding-right: var(--space-4);
    margin-bottom: 0;
    gap: var(--space-2);
  }
}

/* ── Presentation Banner ── */
.presentation-banner {
  padding: var(--space-16) 0;
  background: linear-gradient(180deg, transparent, hsla(222, 45%, 12%, 0.8) 100%);
}

.presentation-banner__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 107, 0, 0.15);
  border-radius: var(--radius-2xl);
  padding: var(--space-12) var(--space-10);
  position: relative;
  overflow: hidden;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6);
  transition: all 0.5s var(--ease-out);
}

.presentation-banner__inner:hover {
  border-color: var(--color-orange);
  box-shadow: 0 60px 120px rgba(0, 0, 0, 0.7), 0 0 40px hsla(25, 100%, 50%, 0.1);
}

.presentation-banner__inner::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-brand);
}

.presentation-banner__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  z-index: 2;
}

.presentation-banner__btn {
  align-self: flex-start;
  margin-top: var(--space-4);
  box-shadow: 0 10px 20px rgba(255, 107, 0, 0.2);
}

.presentation-banner__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.presentation-img {
  position: absolute;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.6s var(--ease-spring);
  pointer-events: none;
}

.presentation-img--main {
  width: 80%;
  z-index: 1;
  transform: translateX(-15%) rotate(-3deg);
}

.presentation-img--overlay {
  width: 70%;
  z-index: 2;
  transform: translateX(25%) translateY(20%) rotate(5deg);
  filter: brightness(1.1) contrast(1.1);
}

.presentation-banner__media:hover .presentation-img--main {
  transform: translateX(-22%) rotate(-7deg) scale(1.05);
  filter: brightness(0.7) blur(2px);
}

.presentation-banner__media:hover .presentation-img--overlay {
  transform: translateX(35%) translateY(10%) rotate(10deg) scale(1.15);
  box-shadow: 0 40px 100px rgba(0,0,0,0.8);
}

.presentation-banner__click-hint {
  display: none;
}

.presentation-banner__media:hover .presentation-banner__click-hint {
  opacity: 1;
  transform: translate(-50%, -20px);
}

@media (min-width: 992px) {
  .presentation-banner__inner {
    grid-template-columns: 1fr 1fr;
    padding: var(--space-12) var(--space-16);
    gap: var(--space-16);
  }
  .presentation-banner__media {
    aspect-ratio: 16/9;
  }
}

/* Legacy notion controls removed — replaced by .dashboard-widget system above */
