/* ============================================================
   MR.DENIM — Returns Info Premium Styles (Dark Theme)
   Inspired by: Loro Piana · Brunello Cucinelli · Maison Margiela
   ============================================================ */

/* ══════════════════════════════════════════
   KEYFRAMES
══════════════════════════════════════════ */
@keyframes heroImgReveal {
  from { transform: scale(1.15) translateX(-20px); }
  to   { transform: scale(1) translateX(0); }
}

@keyframes heroPanelSlide {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}

@keyframes goldLineGrow {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}

@keyframes heroTextMask {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollBobble {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* Override body background to black specifically for returns page */
body.returns-page {
  background-color: var(--color-black);
  color: var(--color-white);
}

/* Navigation overrides for dark theme returns page */
.returns-page .main-nav.scrolled {
  background: rgba(10, 10, 10, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

.returns-page .main-nav.scrolled .nav-logo,
.returns-page .main-nav.scrolled .nav-link,
.returns-page .main-nav.scrolled .nav-icon-btn {
  color: var(--color-white) !important;
}

.returns-page .main-nav.scrolled .nav-link:hover,
.returns-page .main-nav.scrolled .nav-icon-btn:hover {
  color: var(--color-gold) !important;
}

/* ══════════════════════════════════════════
   HERO — SPLIT-SCREEN EDITORIAL
══════════════════════════════════════════ */
.ret-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: #000;
  overflow: hidden;
  position: relative;
}

/* ── LEFT PANEL: IMAGE ── */
.ret-hero-image-panel {
  position: relative;
  overflow: hidden;
  background: #111;
  clip-path: inset(0 100% 0 0);
  animation: heroPanelSlide 1.2s cubic-bezier(0.76, 0, 0.24, 1) 0.1s forwards;
}

.ret-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.15);
  animation: heroImgReveal 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
  will-change: transform;
}

.ret-hero-image-panel::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(212, 175, 55, 0.5) 30%,
    rgba(212, 175, 55, 0.8) 50%,
    rgba(212, 175, 55, 0.5) 70%,
    transparent 100%
  );
  z-index: 2;
}

.ret-hero-image-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,  rgba(0,0,0,0) 60%, rgba(0,0,0,0.4) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 40%);
  z-index: 1;
  pointer-events: none;
}

.ret-hero-badge {
  position: absolute;
  bottom: 48px;
  left: 40px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  animation: heroFadeUp 0.7s ease 1.4s forwards;
}

.ret-hero-badge-year {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

.ret-hero-badge-name {
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--color-gold);
}

/* ── RIGHT PANEL: TEXT ── */
.ret-hero-text-panel {
  position: relative;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 72px;
  overflow: hidden;
}

.ret-hero-text-panel::before {
  content: 'RE';
  position: absolute;
  bottom: -40px;
  right: -20px;
  font-family: var(--font-display);
  font-size: 28vw;
  font-weight: 300;
  color: rgba(255,255,255,0.022);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.ret-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.ret-hero-eyebrow-line {
  display: block;
  height: 1px;
  width: 48px;
  background: var(--color-gold);
  transform-origin: left;
  transform: scaleX(0);
  opacity: 0;
  animation: goldLineGrow 0.8s var(--ease-luxury, cubic-bezier(0.25,0.46,0.45,0.94)) 1s forwards;
}

.ret-hero-label {
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--color-gold);
  opacity: 0;
  animation: heroFadeUp 0.7s ease 1.1s forwards;
}

.ret-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 5.5vw, 7rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.015em;
  color: #fff;
  margin-bottom: 36px;
  overflow: hidden;
}

.ret-hero-headline-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.05em;
}

.ret-hero-headline-inner {
  display: block;
  transform: translateY(110%);
  opacity: 0;
  transition:
    transform 1s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.8s ease;
}

.ret-hero-headline em {
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212,175,55,0.9);
  text-stroke: 1px rgba(212,175,55,0.9);
}

.ret-hero-rule {
  width: 0;
  height: 1px;
  background: rgba(255,255,255,0.12);
  margin-bottom: 36px;
  transition: width 1s ease 1.6s;
}

.ret-hero-subtitle {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255,255,255,0.38);
  line-height: 1.85;
  max-width: 380px;
  margin-bottom: 40px;
  opacity: 0;
  animation: heroFadeUp 0.8s ease 1.7s forwards;
  letter-spacing: 0.02em;
}

.ret-hero-pills {
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  animation: heroFadeUp 0.7s ease 1.9s forwards;
}

.ret-hero-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #fff;
  text-transform: uppercase;
}

.ret-hero-pill-dot {
  width: 6px;
  height: 6px;
  background: var(--color-gold);
  border-radius: 50%;
}

.ret-hero-pill-text {
  color: rgba(255,255,255,0.5);
  width: 80px;
}

.ret-hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: heroFadeUp 0.7s ease 2.2s forwards;
}

.ret-hero-scroll-dot {
  width: 20px;
  height: 20px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ret-hero-scroll-dot-inner {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-gold);
  animation: scrollBobble 1.8s ease-in-out infinite;
}

.ret-hero-scroll-label {
  font-family: var(--font-ui);
  font-size: 8px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}

/* ══════════════════════════════════════════
   STATS STRIP
══════════════════════════════════════════ */
.ret-stats {
  background: var(--color-black);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  padding: 48px 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.ret-stat {
  text-align: center;
  padding: 24px 40px;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.ret-stat.visible {
  opacity: 1;
  transform: translateY(0);
}

.ret-stat + .ret-stat {
  border-left: 1px solid rgba(212, 175, 55, 0.15);
}

.ret-stat-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--color-gold);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.ret-stat-label {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-warm-gray);
}

/* ══════════════════════════════════════════
   MAIN LAYOUT (Two-Column)
══════════════════════════════════════════ */
.ret-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  max-width: 1600px;
  margin: 0 auto;
  padding: 120px 80px;
  align-items: start;
}

/* ── INFO COLUMN (Sticky) ── */
.ret-info-col {
  padding-right: 80px;
  position: sticky;
  top: 120px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.ret-info-col.visible {
  opacity: 1;
  transform: translateY(0);
}

.ret-section-tag {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.ret-section-tag::before,
.ret-section-tag::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--color-gold);
}

.ret-section-tag span {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.ret-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--color-white);
  margin-bottom: 28px;
}

.ret-title em {
  font-style: italic;
  color: var(--color-gold);
}

.ret-desc {
  font-family: var(--font-ui);
  font-size: 1rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
  margin-bottom: 48px;
  max-width: 440px;
  font-weight: 300;
}

.ret-desc p {
  margin-bottom: 1.5em;
}

.ret-contact-assistance {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.ret-assistance-label {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.ret-btn {
  display: inline-block;
}

/* ── FEATURES COLUMN (Scrolling) ── */
.ret-features-col {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-out) 0.15s, transform 0.9s var(--ease-out) 0.15s;
}

.ret-features-col.visible {
  opacity: 1;
  transform: translateY(0);
}

.ret-features-wrapper {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  position: relative;
}

.ret-features-wrapper::before,
.ret-features-wrapper::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  z-index: 2;
  pointer-events: none;
}

.ret-features-wrapper::before {
  top: -1px; left: -1px;
  border-top: 2px solid var(--color-gold);
  border-left: 2px solid var(--color-gold);
}

.ret-features-wrapper::after {
  bottom: -1px; right: -1px;
  border-bottom: 2px solid var(--color-gold);
  border-right: 2px solid var(--color-gold);
}

.ret-features-header {
  padding: 48px 56px 40px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.ret-features-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--color-white);
  margin-bottom: 10px;
}

.ret-features-subtitle {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ret-features-list {
  padding: 0 56px 48px;
}

.ret-feature {
  display: flex;
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  transition: background 0.4s ease;
}

.ret-feature:last-child {
  border-bottom: none;
}

.ret-feature::before {
  content: '';
  position: absolute;
  left: -56px;
  right: -56px;
  top: 0;
  bottom: 0;
  background: rgba(212, 175, 55, 0.03);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.ret-feature:hover::before {
  opacity: 1;
}

.ret-feature > * {
  position: relative;
  z-index: 1;
}

.ret-feature-icon-wrap {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  transition: border-color 0.4s ease, background 0.4s ease;
  color: var(--color-gold);
}

.ret-feature:hover .ret-feature-icon-wrap {
  border-color: var(--color-gold);
  background: rgba(212, 175, 55, 0.1);
}

.ret-feature-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.ret-feature-text h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-white);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ret-feature-text p {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 12px;
}

.ret-feature-text ul {
  list-style-type: none;
  padding-left: 0;
  margin-top: 16px;
}

.ret-feature-text li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
  font-weight: 300;
}

.ret-feature-text li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-gold);
}

.ret-text-link {
  color: var(--color-gold);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.ret-text-link:hover {
  color: #fff;
}

/* FAQ / Accordion styling */
.ret-faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
}

.ret-faq-q {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 300;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-white);
  transition: color 0.3s var(--ease-luxury);
}

.ret-faq-q:hover {
  color: var(--color-gold);
}

.ret-faq-q svg {
  transition: transform 0.3s var(--ease-luxury);
  color: var(--color-warm-gray);
}

.ret-faq-a {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  font-weight: 300;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-luxury), margin-top 0.4s;
}

.ret-faq-item.open .ret-faq-a {
  max-height: 200px;
  margin-top: 16px;
}

.ret-faq-item.open .ret-faq-q svg {
  transform: rotate(180deg);
  color: var(--color-gold);
}

/* cg-btn-outline */
.cg-btn-outline {
  color: var(--color-white);
  border-color: rgba(255,255,255,0.2);
  padding: 12px 24px;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
}
.cg-btn-outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: transparent;
}


/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1200px) {
  .ret-layout {
    padding: 100px 60px;
    gap: 0;
  }
  .ret-info-col {
    padding-right: 60px;
  }
}

@media (max-width: 1024px) {
  .ret-hero {
    grid-template-columns: 1fr;
    grid-template-rows: 55vh auto;
    min-height: auto;
  }
  .ret-hero-image-panel {
    height: 55vh;
  }
  .ret-hero-text-panel {
    padding: 56px 40px 48px;
    min-height: auto;
  }
  
  .ret-stats {
    padding: 32px 40px;
  }
  
  .ret-layout {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 80px 40px;
  }
  .ret-info-col {
    position: relative;
    top: 0;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .ret-stats {
    grid-template-columns: 1fr;
  }
  .ret-stat + .ret-stat {
    border-left: none;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
  }
  .ret-layout {
    padding: 60px 20px;
  }
  .ret-features-wrapper {
    margin-left: -20px;
    margin-right: -20px;
    border-left: none;
    border-right: none;
  }
  .ret-features-header, .ret-features-list {
    padding-left: 20px;
    padding-right: 20px;
  }
  .ret-feature::before {
    left: -20px; right: -20px;
  }
  .ret-hero-text-panel {
    padding: 40px 20px;
  }
  .ret-hero-headline {
    font-size: 3rem;
  }
}

/* ══════════════════════════════════════════
   LIGHT MODE OVERRIDES FOR RETURNS PAGE
══════════════════════════════════════════ */
html.light-mode body.returns-page {
  background-color: #FFF;
  color: #000;
}

html.light-mode .returns-page .main-nav.scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05) !important;
}

html.light-mode .returns-page .main-nav.scrolled .nav-logo,
html.light-mode .returns-page .main-nav.scrolled .nav-link,
html.light-mode .returns-page .main-nav.scrolled .nav-icon-btn {
  color: #000 !important;
}

html.light-mode .returns-page .main-nav.scrolled .nav-link:hover,
html.light-mode .returns-page .main-nav.scrolled .nav-icon-btn:hover {
  color: var(--color-gold) !important;
}

html.light-mode .ret-hero {
  background: #FFF;
}

html.light-mode .ret-hero-image-panel {
  background: #FAFAFA;
}

html.light-mode .ret-hero-image-panel::before {
  background:
    linear-gradient(to right,  rgba(255,255,255,0) 60%, rgba(255,255,255,0.6) 100%),
    linear-gradient(to bottom, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 40%);
}

html.light-mode .ret-hero-badge-year {
  color: #000;
  font-weight: 500;
}

html.light-mode .ret-hero-badge-name {
  color: #000;
  font-weight: 500;
}

html.light-mode .ret-hero-text-panel {
  background: #FFF;
}

html.light-mode .ret-hero-text-panel::before {
  color: rgba(0,0,0,0.03);
}

html.light-mode .ret-hero-headline {
  color: #000;
}

html.light-mode .ret-hero-rule {
  background: rgba(0,0,0,0.1);
}

html.light-mode .ret-hero-subtitle {
  color: #000;
  font-weight: 400;
}

html.light-mode .ret-hero-pill-text {
  color: #000;
  font-weight: 500;
}

html.light-mode .ret-hero-pill-val {
  color: #000;
}

html.light-mode .ret-hero-scroll-label {
  color: #000;
  font-weight: 500;
}

html.light-mode .ret-stats {
  background: #FAFAFA;
  border-top: 1px solid rgba(0,0,0,0.1);
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

html.light-mode .ret-stat + .ret-stat {
  border-left: 1px solid rgba(0,0,0,0.1);
}

html.light-mode .ret-stat-label {
  color: #000;
  font-weight: 500;
}

html.light-mode .ret-title {
  color: #000;
}

html.light-mode .ret-desc {
  color: #000;
  font-weight: 400;
}

html.light-mode .ret-assistance-label {
  color: #000;
}

html.light-mode .ret-contact-assistance {
  border-top: 1px solid rgba(0,0,0,0.1);
}

html.light-mode .ret-features-wrapper {
  background: #FAFAFA;
  border: 1px solid rgba(0,0,0,0.1);
}

html.light-mode .ret-features-header {
  border-bottom: 1px solid rgba(0,0,0,0.1) !important;
}

html.light-mode .ret-features-title {
  color: #000;
}

html.light-mode .ret-features-subtitle {
  color: #000;
  font-weight: 500;
}

html.light-mode .ret-feature {
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

html.light-mode .ret-feature::before {
  background: rgba(0,0,0,0.03);
}

html.light-mode .ret-feature-icon-wrap {
  border: 1px solid rgba(0,0,0,0.1);
  color: #000;
}

html.light-mode .ret-feature:hover .ret-feature-icon-wrap {
  background: #FFF;
  border-color: #000;
}

html.light-mode .ret-feature-text h3 {
  color: #000;
}

html.light-mode .ret-feature-text p {
  color: #000;
  font-weight: 400;
}

html.light-mode .ret-feature-text li {
  color: #000;
  font-weight: 400;
}

html.light-mode .ret-text-link {
  color: #000;
  font-weight: 500;
}

html.light-mode .ret-text-link:hover {
  color: var(--color-gold);
}

html.light-mode .ret-faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

html.light-mode .ret-faq-q {
  color: #000;
  font-weight: 400;
}

html.light-mode .ret-faq-q svg {
  color: #000;
}

html.light-mode .ret-faq-q:hover {
  color: var(--color-gold);
}

html.light-mode .ret-faq-item.open .ret-faq-q svg {
  color: var(--color-gold);
}

html.light-mode .ret-faq-a {
  color: #000;
  font-weight: 400;
}

html.light-mode .cg-btn-outline {
  color: #000;
  border-color: rgba(0,0,0,0.3);
}

html.light-mode .cg-btn-outline:hover {
  background: #000;
  color: #FFF;
  border-color: #000;
}
