/* ================================================================
   Diamond Cut — TWL Service Page CSS
   Prefixed with twl-dc- to avoid collisions
   ================================================================ */

/* ----------------------------------------------------------------
   CONTHRAX FONT-FACE
   ---------------------------------------------------------------- */
@font-face {
  font-family: 'Conthrax';
  src: url('../../css/fonts/conthrax_light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Conthrax';
  src: url('../../css/fonts/conthraxsemibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Conthrax';
  src: url('../../css/fonts/conthraxsemibold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ----------------------------------------------------------------
   WORDPRESS THEME OVERRIDES
   ---------------------------------------------------------------- */
/* header bg — unified in style.css via body:has(.twl-service) */

/* Kill page title banner / breadcrumb area (white gap) */
body:has(.twl-dc) .page_title_wrap,
body:has(.twl-dc) .sc_layouts_title,
body:has(.twl-dc) .sc_layouts_title_wrap {
  display: none !important;
}

/* Remove gap between header and content */
body:has(.twl-dc) .top_panel,
body:has(.twl-dc) .top_panel_navi {
  margin-bottom: 0 !important;
}
body:has(.twl-dc) .page_content_wrap {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* No gap above main content */
.twl-dc {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Force text colors — parent theme scheme_default overrides inherited color */
.twl-dc-hero,
.twl-dc-hero *,
.twl-dc-ba,
.twl-dc-ba *,
.twl-dc-quality,
.twl-dc-quality *,
.twl-dc-cta,
.twl-dc-cta * {
  color: var(--dc-text-white);
}
/* Restore specific muted/accent colors inside dark sections */
.twl-dc-hero .twl-dc-hero__label,
.twl-dc-hero .twl-dc-hero__mono,
.twl-dc-hero .twl-dc-hero__micro,
.twl-dc-ba .twl-dc-ba__case-desc,
.twl-dc-quality .twl-dc-quality__card-desc,
.twl-dc-quality .twl-dc-quality__intro,
.twl-dc-cta .twl-dc-cta__sub,
.twl-dc-cta .twl-dc-cta__hours,
.twl-dc-cta .twl-dc-cta__copy,
.twl-dc-cta .twl-dc-cta__card-sub {
  color: var(--dc-text-muted) !important;
}
.twl-dc-hero .twl-dc-hero__desc {
  color: var(--dc-text-light) !important;
}
.twl-dc .twl-dc-btn--primary {
  color: var(--dc-dark-1) !important;
}
/* Accent colors */
.twl-dc-ba .twl-dc-ba__case-code,
.twl-dc-ba .twl-dc-ba__case-icon,
.twl-dc-quality .twl-dc-quality__card-icon,
.twl-dc-quality .twl-dc-quality__card-tag {
  color: var(--dc-accent) !important;
}

/* WP wrappers overflow breaks sticky/fixed hero */
body:has(.twl-dc) .page_wrap,
body:has(.twl-dc) .page_content_wrap,
body:has(.twl-dc) #page,
body:has(.twl-dc) #content,
body:has(.twl-dc) .content_wrap,
body:has(.twl-dc) .content {
  overflow: visible !important;
}

/* Footer gap removal */
body:has(.twl-dc) .page_footer_wrap,
body:has(.twl-dc) .footer_wrap,
body:has(.twl-dc) footer {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ----------------------------------------------------------------
   SCOPED CUSTOM PROPERTIES (no :root pollution)
   ---------------------------------------------------------------- */
.twl-dc {
  --dc-dark-1: #0a0a0a;
  --dc-dark-2: #161616;
  --dc-dark-3: #1a1a1a;
  --dc-light-1: #f2f1ed;
  --dc-light-2: #e8e7e3;
  --dc-light-3: #fafaf8;
  --dc-accent: #e76301;
  --dc-accent-rgb: 212, 135, 74;
  --dc-text-white: #ffffff;
  --dc-text-light: #e0e0e0;
  --dc-text-muted: #8a8a8a;
  --dc-text-dark: #1a1a1a;
  --dc-text-secondary: #444444;
  --dc-font-display: 'Conthrax', 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --dc-font-body: 'Inter', sans-serif;
  --dc-font-mono: 'JetBrains Mono', monospace;
  --dc-section-pad: clamp(60px, 10vh, 140px);
  --dc-container-max: 1240px;
  --dc-container-pad: 1.25rem;
}

/* ----------------------------------------------------------------
   BASE STYLES (scoped to .twl-dc)
   ---------------------------------------------------------------- */
.twl-dc {
  font-family: var(--dc-font-body);
  font-weight: 400;
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  line-height: 1.6;
  color: var(--dc-text-dark);
  background: var(--dc-dark-1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.twl-dc a {
  color: inherit;
  text-decoration: none;
}

.twl-dc button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.twl-dc img,
.twl-dc svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ----------------------------------------------------------------
   NOISE OVERLAY
   ---------------------------------------------------------------- */
.twl-dc-noise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.06;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ----------------------------------------------------------------
   SCROLL PROGRESS
   ---------------------------------------------------------------- */
.twl-dc-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--dc-accent);
  z-index: 9998;
}

/* ----------------------------------------------------------------
   CONTAINER & SECTION
   ---------------------------------------------------------------- */
.twl-dc-container {
  max-width: var(--dc-container-max);
  margin: 0 auto;
  padding-left: var(--dc-container-pad);
  padding-right: var(--dc-container-pad);
}

.twl-dc-section {
  padding-top: var(--dc-section-pad);
  padding-bottom: var(--dc-section-pad);
}

/* ----------------------------------------------------------------
   TYPOGRAPHY UTILITIES
   ---------------------------------------------------------------- */
.twl-dc-label {
  font-family: var(--dc-font-mono);
  font-size: clamp(0.65rem, 1vw, 0.75rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.75rem;
}

.twl-dc-label--muted {
  color: var(--dc-text-muted);
}

.twl-dc-title {
  font-family: var(--dc-font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--dc-accent);
  text-transform: uppercase;
}

.twl-dc-title::after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  background: var(--dc-accent);
  margin-top: 0.75rem;
  border-radius: 2px;
  transition: width 0.8s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.twl-dc-title.is-bar-visible::after {
  width: 60px;
}

.twl-dc-title--dark {
  color: var(--dc-text-white);
}

.twl-dc-title--light {
  color: var(--dc-text-dark);
}

.twl-dc-mono {
  font-family: var(--dc-font-mono);
  font-weight: 400;
}

/* ----------------------------------------------------------------
   SECTION TITLES (site-wide style override for DC context)
   ---------------------------------------------------------------- */
.twl-dc .twl-dc-process-header {
  margin-bottom: 2rem;
}

.twl-dc .twl-dc-process-header .twl-process-subtitle {
  color: var(--dc-accent);
}

/* Dark sections: white title text */
.twl-dc-ba .section-title-vc,
.twl-dc-quality .section-title-vc,
.twl-dc-cta .section-title-vc {
  color: var(--dc-text-white) !important;
}

/* Light sections: dark title text */
.twl-dc-spec .section-title-vc,
.twl-dc-proceso .section-title-vc,
.twl-dc-gallery .section-title-vc,
.twl-dc-faq .section-title-vc {
  color: var(--dc-text-dark) !important;
}

/* Ensure green-box uses orange accent in DC context */
.twl-dc .section-title-vc .green-box {
  background: var(--dc-accent) !important;
}

/* Allow wrapping for longer DC titles */
.twl-dc .section-title-vc {
  white-space: normal !important;
  text-align: center !important;
}
.twl-dc .twl-process-header {
  text-align: center !important;
}

/* ----------------------------------------------------------------
   BUTTON
   ---------------------------------------------------------------- */
.twl-dc-btn {
  display: inline-block;
  font-family: var(--dc-font-display);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.twl-dc-btn--primary {
  background: var(--dc-accent);
  color: var(--dc-dark-1);
  padding: 0.9rem 2.4rem;
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  font-weight: 600;
  border: none;
  text-transform: uppercase;
}

.twl-dc-btn--primary:hover {
  background: #e09a5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(var(--dc-accent-rgb), 0.4);
}

/* ----------------------------------------------------------------
   REVEAL (GSAP initial state)
   ---------------------------------------------------------------- */
.twl-dc-reveal {
  opacity: 0;
  transform: translateY(50px);
}

/* ----------------------------------------------------------------
   FOCUS VISIBLE
   ---------------------------------------------------------------- */
.twl-dc :focus-visible {
  outline: 2px solid var(--dc-accent);
  outline-offset: 2px;
}

/* ----------------------------------------------------------------
   REDUCED MOTION
   ---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .twl-dc-reveal {
    transform: none;
  }
}

/* ================================================================
   HERO
   ================================================================ */
.twl-dc-hero-wrapper {
  position: relative;
  z-index: 2;
  height: 100vh;
  height: 100dvh;
  clip-path: inset(0);
}

.twl-dc-hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--dc-dark-1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
}

.twl-dc-hero::before,
.twl-dc-ba::before,
.twl-dc-quality::before,
.twl-dc-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

.twl-dc-hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.twl-dc-hero__video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.75);
  pointer-events: none;
}

.twl-dc-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.twl-dc-hero__wheel-svg {
  width: clamp(400px, 70vw, 700px);
  height: auto;
  opacity: 1;
  animation: twl-dc-spin 120s linear infinite;
}

/* Particles */
.twl-dc-hero__particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.twl-dc-hero__particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--dc-accent);
  border-radius: 50%;
  opacity: 0.3;
  left: var(--x);
  top: var(--y);
  animation: twl-dc-float var(--d) ease-in-out infinite;
}

/* Top labels */
.twl-dc-hero__top {
  position: absolute;
  top: 2rem;
  left: var(--dc-container-pad);
  right: var(--dc-container-pad);
  display: flex;
  justify-content: space-between;
}

.twl-dc-hero__label {
  font-family: var(--dc-font-mono);
  font-size: 0.65rem;
  color: var(--dc-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Crosshair */
.twl-dc-hero__crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.twl-dc-hero__crosshair::before,
.twl-dc-hero__crosshair::after {
  content: '';
  position: absolute;
  background: rgba(var(--dc-accent-rgb), 0.08);
}

.twl-dc-hero__crosshair::before {
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  transform: translateX(-50%);
}

.twl-dc-hero__crosshair::after {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  transform: translateY(-50%);
}

.twl-dc-hero__crosshair-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(var(--dc-accent-rgb), 0.08);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* Center content */
.twl-dc-hero__content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.twl-dc-hero__headline {
  font-family: var(--dc-font-display);
  font-weight: 700;
  font-size: clamp(3rem, 10vw, 9rem);
  letter-spacing: -0.03em;
  color: var(--dc-text-white);
  line-height: 1;
  margin-bottom: 1rem;
}

.twl-dc-hero__headline .char {
  display: inline-block;
}

/* Measure line */
.twl-dc-hero__measure {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  margin-bottom: 1.2rem;
}

.twl-dc-hero__measure-line {
  width: 0;
  height: 1px;
  background: var(--dc-accent);
}

.twl-dc-hero__measure-tick {
  width: 1px;
  height: 14px;
  background: var(--dc-accent);
}

/* Mono label */
.twl-dc-hero__mono {
  font-family: var(--dc-font-mono);
  font-size: clamp(0.65rem, 1vw, 0.8rem);
  color: var(--dc-text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* Description */
.twl-dc-hero__desc {
  font-family: var(--dc-font-body);
  font-weight: 300;
  font-size: clamp(0.9rem, 1.6vw, 1.1rem);
  color: var(--dc-text-light);
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* Micro text */
.twl-dc-hero__micro {
  font-family: var(--dc-font-mono);
  font-size: clamp(0.6rem, 0.9vw, 0.7rem);
  color: var(--dc-text-muted);
  margin-top: 1rem;
}

/* Scroll hint */
.twl-dc-hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  cursor: pointer;
  text-decoration: none;
}

.twl-dc-hero__scroll-text {
  font-family: var(--dc-font-mono);
  font-size: 0.65rem;
  color: #ffffff;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 8px;
  text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

.twl-dc-hero__scroll-arrow {
  animation: twl-dc-bounce-arrow 1.6s ease-in-out infinite;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));
  margin-top: 6px;
}

.twl-dc-hero__scroll-arrow path {
  stroke: #ffffff;
  stroke-width: 2;
}

@keyframes twl-dc-bounce-arrow {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(12px); opacity: 1; }
}

/* ================================================================
   SPEC
   ================================================================ */
.twl-dc-spec {
  position: relative;
  background: var(--dc-dark-1);
  color: var(--dc-text-light);
}

.twl-dc-spec::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

.twl-dc-spec > * {
  position: relative;
  z-index: 1;
}

.twl-dc-spec__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.twl-dc-spec__text {
  display: flex;
  flex-direction: column;
}

.twl-dc-spec__subtitle {
  font-family: var(--dc-font-display);
  font-weight: 600;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: rgba(224,221,216,0.6);
  margin-bottom: 1rem;
}

.twl-dc-spec__body {
  font-family: var(--dc-font-body);
  font-weight: 400;
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  color: rgba(224,221,216,0.6);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.twl-dc-spec__table {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.twl-dc-spec__row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: var(--dc-font-mono);
  font-size: clamp(0.7rem, 1.1vw, 0.8rem);
  opacity: 0;
  transform: translateX(-30px);
}

.twl-dc-spec__key {
  color: var(--dc-accent);
  flex-shrink: 0;
}

.twl-dc-spec__val {
  color: rgba(224,221,216,0.6);
  text-align: right;
}

/* Visual */
.twl-dc-spec__visual {
  position: relative;
}

.twl-dc-spec__image {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.twl-dc-spec__image-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
  max-height: 525px;
}

.twl-dc-spec__video {
  display: block;
  width: 100%;
  height: auto;
}

.twl-dc-spec__image-data {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1rem;
  background: rgba(0,0,0,0.7);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.65rem;
  color: var(--dc-accent);
  backdrop-filter: blur(4px);
}

.twl-dc-spec .section-title-vc,
.twl-dc-spec .twl-dc-section-title {
  color: #fff !important;
}
.twl-dc-spec .twl-process-subtitle {
  color: var(--dc-accent) !important;
}

.twl-dc-spec__caption {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--dc-font-mono);
  font-size: clamp(0.6rem, 0.9vw, 0.7rem);
  color: rgba(224,221,216,0.6);
}

/* Spec counters */
.twl-dc-spec__counters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.twl-dc-spec__counter {
  text-align: left;
}

.twl-dc-spec__counter-number {
  font-family: var(--dc-font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--dc-accent);
  line-height: 1;
  display: block;
}

.twl-dc-spec__counter-unit {
  font-family: var(--dc-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(224,221,216,0.6);
  display: block;
  margin-top: 0.25rem;
}

.twl-dc-spec__counter-label {
  font-size: 0.85rem;
  color: rgba(224,221,216,0.6);
  line-height: 1.5;
  display: block;
  margin-top: 0.75rem;
}

@media (max-width: 768px) {
  .twl-dc-spec__counters {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ================================================================
   BEFORE / AFTER
   ================================================================ */
.twl-dc-ba {
  background-color: var(--dc-dark-2);
}

.twl-dc-ba__slider {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  border: 1px solid rgba(var(--dc-accent-rgb), 0.15);
}

.twl-dc-ba__before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.twl-dc-ba__after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0 50% 0 0);
  z-index: 2;
}

.twl-dc-ba__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.twl-dc-ba__label {
  position: absolute;
  top: 1rem;
  font-family: var(--dc-font-mono);
  font-size: 0.6rem;
  color: var(--dc-text-muted);
  padding: 0.3rem 0.6rem;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 5;
  letter-spacing: 0.1em;
}

.twl-dc-ba__label--before {
  left: 1rem;
}

.twl-dc-ba__label--after {
  right: 1rem;
}

/* Handle */
.twl-dc-ba__handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--dc-accent);
  z-index: 10;
  transform: translateX(-50%);
}

.twl-dc-ba__readout {
  position: absolute;
  top: -2.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--dc-font-mono);
  font-size: 0.65rem;
  color: var(--dc-accent);
  background: var(--dc-dark-1);
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--dc-accent);
  white-space: nowrap;
}

.twl-dc-ba__grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border: 2px solid var(--dc-accent);
  border-radius: 50%;
  background: rgba(var(--dc-accent-rgb), 0.1);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.twl-dc-ba__grip-arrow {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.twl-dc-ba__grip-arrow--l {
  border-right: 5px solid var(--dc-accent);
}

.twl-dc-ba__grip-arrow--r {
  border-left: 5px solid var(--dc-accent);
  margin-left: 8px;
}

/* Cases */
.twl-dc-ba__cases {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.twl-dc-ba__case {
  padding: 1.5rem;
  border-left: 3px solid var(--dc-accent);
  background: rgba(255,255,255,0.02);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.twl-dc-ba__case:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.twl-dc-ba__case-icon {
  margin-bottom: 1rem;
  color: var(--dc-accent);
}

.twl-dc-ba__case-code {
  font-family: var(--dc-font-mono);
  font-size: 0.65rem;
  color: var(--dc-accent);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.5rem;
}

.twl-dc-ba__case-title {
  font-family: var(--dc-font-display);
  font-weight: 600;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--dc-text-white);
  margin-bottom: 0.5rem;
}

.twl-dc-ba__case-desc {
  font-family: var(--dc-font-body);
  font-weight: 300;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  color: var(--dc-text-muted);
  line-height: 1.6;
}

/* ================================================================
   PROCESO
   ================================================================ */
.twl-dc-proceso {
  position: relative;
  background: var(--dc-light-2);
}

.twl-dc-proceso::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/fondo.jpg');
  background-repeat: repeat;
  background-size: auto;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.twl-dc-proceso > * {
  position: relative;
  z-index: 1;
}

.twl-dc-proceso__header {
  padding-bottom: 3rem;
}

.twl-dc-proceso__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  perspective: 1000px;
}

.twl-dc-proceso__card {
  background: var(--dc-light-3);
  padding: 2rem 1.5rem;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.twl-dc-proceso__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/fondo.jpg');
  background-repeat: repeat;
  background-size: auto;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.twl-dc-proceso__card > * {
  position: relative;
  z-index: 1;
}

.twl-dc-proceso__card:hover,
.twl-dc-proceso__card.is-active {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  background: #fff;
}

.twl-dc-proceso__card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 2px;
  background: var(--dc-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.twl-dc-proceso__card:hover::after,
.twl-dc-proceso__card.is-active::after {
  transform: scaleX(1);
}

.twl-dc-proceso__num {
  font-family: var(--dc-font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  color: var(--dc-accent);
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.twl-dc-proceso__card:hover .twl-dc-proceso__num,
.twl-dc-proceso__card.is-active .twl-dc-proceso__num {
  opacity: 1;
}

.twl-dc-proceso__card-title {
  font-family: var(--dc-font-display);
  font-weight: 600;
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  color: var(--dc-text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.twl-dc-proceso__card-desc {
  font-family: var(--dc-font-body);
  font-weight: 300;
  font-size: clamp(0.8rem, 1vw, 0.88rem);
  color: var(--dc-text-muted);
  line-height: 1.6;
}

@media (max-width: 1023px) {
  .twl-dc-proceso__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .twl-dc-proceso__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ================================================================
   QUALITY
   ================================================================ */
.twl-dc-quality {
  background-color: var(--dc-dark-1);
}

.twl-dc-quality__intro {
  font-family: var(--dc-font-body);
  font-weight: 300;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: var(--dc-text-muted);
  margin-top: 0.75rem;
}

.twl-dc-quality__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.twl-dc-quality__card {
  background: rgba(255,255,255,0.08);
  border-top: 2px solid var(--dc-accent);
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
}

.twl-dc-quality__card:hover {
  transform: perspective(800px) rotateX(2deg) rotateY(-2deg) translateY(-4px);
  box-shadow:
    0 20px 40px rgba(0,0,0,0.3),
    0 0 30px rgba(var(--dc-accent-rgb), 0.08);
}

.twl-dc-quality__card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.2rem;
  color: var(--dc-accent);
}

.twl-dc-quality__card-title {
  font-family: var(--dc-font-display);
  font-weight: 600;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--dc-text-white);
  margin-bottom: 0.5rem;
}

.twl-dc-quality__card-desc {
  font-family: var(--dc-font-body);
  font-weight: 300;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  color: var(--dc-text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.twl-dc-quality__card-tag {
  font-family: var(--dc-font-mono);
  font-size: 0.6rem;
  color: var(--dc-accent);
  opacity: 0.5;
  letter-spacing: 0.1em;
}

/* ================================================================
   GALLERY / VERSUS
   ================================================================ */
.twl-dc-gallery {
  background: var(--dc-light-1);
}

.twl-dc-gallery__intro {
  font-family: var(--dc-font-body);
  font-weight: 300;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: var(--dc-text-secondary);
  margin-top: 0.75rem;
  max-width: 600px;
}

/* ---- VERSUS FACE-OFF ---- */
.twl-dc-versus {
  margin-top: 3rem;
  border-radius: 4px;
  overflow: hidden;
  background: var(--dc-light-2);
}

.twl-dc-versus__header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.5rem 1.25rem;
  background: var(--dc-dark-1);
}

.twl-dc-versus__col-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--dc-font-display);
  font-weight: 700;
  font-size: clamp(0.75rem, 1.4vw, 1rem);
  letter-spacing: 0.05em;
}

.twl-dc-versus__col-label--dc {
  color: var(--dc-accent);
}

.twl-dc-versus__col-label--vs {
  font-family: var(--dc-font-mono);
  font-size: 0.65rem;
  color: var(--dc-text-muted);
  letter-spacing: 0.2em;
  text-align: center;
  padding: 0 1rem;
}

.twl-dc-versus__col-label--polish {
  color: var(--dc-text-muted);
  justify-content: flex-end;
  text-align: right;
}

.twl-dc-versus__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background 0.25s ease;
}

.twl-dc-versus__row:last-child {
  border-bottom: none;
}

.twl-dc-versus__row:hover {
  background: rgba(212,135,74,0.04);
}

.twl-dc-versus__cell {
  padding: 1.1rem 1.25rem;
  font-family: var(--dc-font-body);
  font-weight: 400;
  font-size: clamp(0.82rem, 1.2vw, 0.95rem);
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.twl-dc-versus__cell--dc {
  color: var(--dc-text-dark);
}

.twl-dc-versus__cell--polish {
  color: var(--dc-text-muted);
  justify-content: flex-end;
  text-align: right;
}

.twl-dc-versus__icon {
  flex-shrink: 0;
  font-size: 0.55rem;
  line-height: 1;
}

.twl-dc-versus__cell--dc .twl-dc-versus__icon {
  color: var(--dc-accent);
}

.twl-dc-versus__cell--polish .twl-dc-versus__icon {
  color: var(--dc-text-muted);
  opacity: 0.5;
}

.twl-dc-versus__category {
  font-family: var(--dc-font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--dc-accent);
  text-align: center;
  padding: 0 0.5rem;
  white-space: nowrap;
  position: relative;
}

.twl-dc-versus__category::before,
.twl-dc-versus__category::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 12px;
  height: 1px;
  background: rgba(var(--dc-accent-rgb), 0.3);
}

.twl-dc-versus__category::before { right: 100%; }
.twl-dc-versus__category::after { left: 100%; }

/* ================================================================
   FAQ
   ================================================================ */
.twl-dc-faq {
  background: var(--dc-light-3) !important;
  position: relative;
}
.twl-dc-faq::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/fondo.jpg');
  background-repeat: repeat;
  background-size: auto;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}
.twl-dc-faq > * {
  position: relative;
  z-index: 1;
}

/* Force light-section text colors — override parent theme */
.twl-dc-faq,
.twl-dc-faq * {
  color: var(--dc-text-dark);
}

.twl-dc-faq__list {
  max-width: 800px;
  margin: 0 auto;
  margin-top: 2.5rem;
}

.twl-dc-faq__item {
  border-bottom: 1px solid rgba(0,0,0,0.08) !important;
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

button.twl-dc-faq__header,
.twl-dc-faq__header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 1.25rem 0 !important;
  width: 100% !important;
  text-align: left !important;
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  cursor: pointer !important;
  font-family: var(--dc-font-body) !important;
  font-weight: 500 !important;
  font-size: clamp(0.9rem, 1.4vw, 1rem) !important;
  color: var(--dc-text-dark) !important;
  gap: 1rem !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}

button.twl-dc-faq__header:hover,
button.twl-dc-faq__header:focus {
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.twl-dc-faq__num {
  font-family: var(--dc-font-mono) !important;
  font-size: 0.65rem !important;
  color: var(--dc-accent) !important;
  margin-right: 1rem;
  flex-shrink: 0;
}

.twl-dc-faq__q {
  flex: 1;
  color: var(--dc-text-dark) !important;
}

.twl-dc-faq__toggle {
  font-family: var(--dc-font-mono) !important;
  font-size: 1.2rem !important;
  color: var(--dc-accent) !important;
  width: 24px;
  height: 24px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  background: none !important;
  border: none !important;
}

.twl-dc-faq__item.is-open .twl-dc-faq__toggle {
  transform: rotate(45deg);
}

.twl-dc-faq__body {
  height: 0;
  overflow: hidden;
  background: none !important;
}

.twl-dc-faq__body p {
  padding: 0 0 1.25rem !important;
  font-family: var(--dc-font-body) !important;
  font-weight: 300 !important;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem) !important;
  color: var(--dc-text-secondary) !important;
  line-height: 1.7 !important;
  background: none !important;
  margin: 0 !important;
}

/* ================================================================
   CTA
   ================================================================ */
/* All sections above CTA sit on top */
.twl-dc-spec,
.twl-dc-ba,
.twl-dc-proceso,
.twl-dc-quality,
.twl-dc-gallery,
.twl-dc-faq {
  position: relative;
  z-index: 5;
}

.twl-dc-cta-spacer {
  position: relative;
  pointer-events: none;
}

.twl-dc-cta {
  background-color: var(--dc-dark-1);
  text-align: center;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  overflow: hidden;
}

.twl-dc-cta__bg-wheel {
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  opacity: 0.5;
  pointer-events: none;
  animation: twl-dc-spin 180s linear infinite;
}

.twl-dc-cta__sub {
  font-family: var(--dc-font-mono);
  font-size: clamp(0.75rem, 1.1vw, 0.85rem);
  color: var(--dc-text-muted);
  margin-bottom: 3rem;
  letter-spacing: 0.05em;
}

.twl-dc-cta__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.twl-dc-cta__card {
  border: 1px solid rgba(var(--dc-accent-rgb), 0.2);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transform-style: preserve-3d;
}

.twl-dc-cta__card:hover {
  border-color: var(--dc-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.twl-dc-cta__card svg {
  color: var(--dc-accent);
  margin-bottom: 0.5rem;
}

.twl-dc-cta__card-title {
  font-family: var(--dc-font-display);
  font-weight: 600;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--dc-text-white);
}

.twl-dc-cta__card-sub {
  font-family: var(--dc-font-mono);
  font-size: 0.65rem;
  color: var(--dc-text-muted);
}

.twl-dc-cta__hours {
  font-family: var(--dc-font-mono);
  font-size: 0.65rem;
  color: var(--dc-text-muted);
  margin-bottom: 2.5rem;
}

/* ================================================================
   CTA FOOTER
   ================================================================ */
.twl-dc-cta__footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(var(--dc-accent-rgb), 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.twl-dc-cta__copy {
  font-family: var(--dc-font-mono);
  font-size: 0.65rem;
  color: var(--dc-text-muted);
}

.twl-dc-cta__social {
  display: flex;
  gap: 1rem;
}

.twl-dc-cta__social-link {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--dc-font-mono);
  font-size: 0.65rem;
  color: var(--dc-text-muted);
  transition: border-color 0.3s ease, color 0.3s ease;
}

.twl-dc-cta__social-link:hover {
  border-color: var(--dc-accent);
  color: var(--dc-accent);
}

/* ================================================================
   MOBILE STICKY CTA
   ================================================================ */
.twl-dc-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: var(--dc-dark-1);
  border-top: 1px solid rgba(var(--dc-accent-rgb), 0.2);
  padding: 0.75rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  align-items: center;
  gap: 0.5rem;
}

.twl-dc-mobile-cta.is-visible {
  transform: translateY(0);
}

.twl-dc-mobile-cta.is-dismissed {
  transform: translateY(100%) !important;
}

.twl-dc-mobile-cta__btn {
  flex: 1;
  padding: 0.75rem;
  background: var(--dc-accent);
  color: var(--dc-dark-1);
  font-family: var(--dc-font-display);
  font-weight: 600;
  text-align: center;
  font-size: 0.9rem;
}

.twl-dc-mobile-cta__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--dc-font-mono);
  color: var(--dc-text-muted);
  cursor: pointer;
  font-size: 1.2rem;
  background: none;
  border: none;
}

/* ================================================================
   WHATSAPP FLOATING BUTTON
   ================================================================ */
.twl-dc-whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.twl-dc-whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.twl-dc-whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

/* ================================================================
   KEYFRAME ANIMATIONS
   ================================================================ */
@keyframes twl-dc-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes twl-dc-float {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.3;
  }
  50% {
    transform: translate(0, -20px);
    opacity: 0.6;
  }
}

/* ================================================================
   RESPONSIVE — 600px
   ================================================================ */
@media (min-width: 600px) {
  .twl-dc-quality__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .twl-dc-cta__cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .twl-dc-cta__footer {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ================================================================
   RESPONSIVE — 768px
   ================================================================ */
@media (min-width: 768px) {
  .twl-dc {
    --dc-container-pad: 2rem;
  }

  .twl-dc-spec__grid {
    grid-template-columns: 55% 45%;
    gap: 4rem;
  }

  .twl-dc-ba__cases {
    grid-template-columns: repeat(3, 1fr);
  }

  .twl-dc-faq__body p {
    padding-left: 3.5rem;
  }
}

/* ================================================================
   RESPONSIVE — 767px (mobile-only)
   ================================================================ */
@media (max-width: 767px) {
  .twl-dc-mobile-cta {
    display: flex;
  }
}

/* ================================================================
   RESPONSIVE — 1024px
   ================================================================ */
@media (min-width: 1024px) {
  .twl-dc {
    --dc-container-pad: 2.5rem;
  }

  .twl-dc-hero__wheel-svg {
    width: clamp(500px, 70vw, 700px);
  }

  .twl-dc-cta__bg-wheel {
    width: 800px;
  }

  .twl-dc-quality__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .twl-dc-versus__header {
    padding: 1.8rem 2.5rem;
  }

  .twl-dc-versus__cell {
    padding: 1.3rem 2.5rem;
  }
}

/* ================================================================
   Dark overrides for .twl-related
   ================================================================ */
.twl-dc .twl-related{background:#0a0a0a;color:#fff}
.twl-dc .twl-related::before{background-image:radial-gradient(circle,rgba(255,255,255,0.03) 1px,transparent 1px);background-size:24px 24px;opacity:1}
.twl-dc .twl-related__title{color:#fff}
.twl-dc .twl-related__card{background:rgba(255,255,255,0.03);border:1px solid rgba(255,255,255,0.08);border-radius:16px}
.twl-dc .twl-related__card::before{height:3px;background:linear-gradient(90deg,#e76301,rgba(231,99,1,0.3))}
.twl-dc .twl-related__card:hover{border-color:rgba(231,99,1,0.3);box-shadow:0 16px 48px rgba(0,0,0,0.3),0 4px 12px rgba(231,99,1,0.08)}
.twl-dc .twl-related__card-icon-wrap{background:rgba(231,99,1,0.08);border-color:rgba(231,99,1,0.15)}
.twl-dc .twl-related__card:hover .twl-related__card-icon-wrap{background:rgba(231,99,1,0.15)}
.twl-dc .twl-related__card-title{color:#fff}
.twl-dc .twl-related__card-desc{color:rgba(255,255,255,0.6)}

/* ── Mobile GSAP reveal fallback ── */
@media (max-width: 768px) {
  .twl-dc-reveal { opacity: 1; transform: none; }
}
