/**
 * ====================================================================
 * DEHRADUN TAXI SERVICE - GLOBAL DESIGN SYSTEM (PHASE 2)
 * Pure CSS & Vanilla JS Toolkit. Prefix: dt-
 * ====================================================================
 */

/* --------------------------------------------------------------------
 * 01. CSS VARIABLES (:root)
 * -------------------------------------------------------------------- */
:root {
  /* Brand Colors (exact sampled orange from reference/theme) */
  --dt-orange: #FF5A00;
  --dt-orange-dark: #E04A00;
  --dt-black: #0B0B0B;
  --dt-ink: #151515;
  --dt-muted: #6B6B6B;
  --dt-line: #E8E8E8;
  --dt-soft: #FFF4EC;
  --dt-white: #FFFFFF;
  --dt-green: #25D366;
  --dt-green-dark: #1EBE5B;

  /* Section Background System */
  --dt-bg-white: #FFFFFF;
  --dt-bg-soft: #FFF4EC;
  --dt-bg-gray: #F5F5F3;
  --dt-bg-dark: #0B0B0B;
  --dt-bg-orange: linear-gradient(135deg, #FF5A00 0%, #E04A00 100%);

  /* Fonts */
  --dt-font-head: 'Gabarito', system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --dt-font-body: 'Onest', system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Border Radii */
  --dt-radius-sm: 8px;
  --dt-radius-md: 14px;
  --dt-radius-lg: 22px;
  --dt-radius-full: 9999px;

  /* Asymmetric Theme Button Radius (tuneable) */
  --dt-btn-radius: 28px 4px 28px 4px;

  /* Shadows */
  --dt-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --dt-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --dt-shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.14);

  /* Layout & Spacing */
  --dt-container: 1200px;
  --dt-gutter: clamp(16px, 4vw, 32px);
  --dt-section-y: clamp(40px, 5vw, 72px);

  /* Motion */
  --dt-ease: cubic-bezier(.65, 0, .35, 1);
  --dt-dur: 0.35s;
}

/* --------------------------------------------------------------------
 * 02. MODERN RESET & BASE STYLES
 * -------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--dt-font-body);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  color: var(--dt-ink);
  background-color: var(--dt-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.page-wrapper {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

body.dt-modal-open {
  overflow: hidden !important;
}

img, svg, video, canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dt-dur) ease;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

/* Accessible focus reset */
:focus-visible {
  outline: none !important;
}

/* --------------------------------------------------------------------
 * 03. TYPOGRAPHY & FLUID HEADINGS
 * -------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--dt-font-head);
  font-weight: 800;
  color: var(--dt-black);
  margin-top: 0;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.35rem, 5.2vw, 4.25rem);
  line-height: 1.1;
  margin-bottom: 0.6em;
}

h2 {
  font-size: clamp(1.85rem, 3.8vw, 3rem);
  line-height: 1.18;
  margin-bottom: 0.55em;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.25;
  margin-bottom: 0.5em;
}

h4 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.3;
  margin-bottom: 0.45em;
}

h5 {
  font-size: 1.15rem;
  line-height: 1.35;
  margin-bottom: 0.4em;
}

h6 {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 0.35em;
}

p {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

/* Typography Utilities */
.dt-display {
  font-family: var(--dt-font-head);
  font-size: clamp(2.75rem, 6.5vw, 5.25rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--dt-black);
}

.dt-lead {
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  line-height: 1.7;
  color: var(--dt-muted);
}

.dt-hl {
  color: var(--dt-orange);
  position: relative;
  display: inline;
}

.dt-upper {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dt-center {
  text-align: center;
}

.dt-left {
  text-align: left;
}

.dt-right {
  text-align: right;
}

.dt-muted {
  color: var(--dt-muted);
}

.dt-white-text {
  color: var(--dt-white) !important;
}

.dt-black-text {
  color: var(--dt-black) !important;
}

/* Lists & Blockquote */
ul.dt-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

ul.dt-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}

ul.dt-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 2px;
  background: var(--dt-orange);
}

blockquote.dt-quote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  border-left: 4px solid var(--dt-orange);
  background: var(--dt-soft);
  font-family: var(--dt-font-head);
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 0 var(--dt-radius-md) var(--dt-radius-md) 0;
}

/* --------------------------------------------------------------------
 * 04. SECTION & CONTAINER SYSTEM
 * -------------------------------------------------------------------- */
.dt-container {
  width: 100%;
  max-width: var(--dt-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--dt-gutter);
  padding-right: var(--dt-gutter);
}

/* ====================================================================
 * SECTION BACKGROUND SYSTEM & SPACING RHYTHM
 * Adjacent sections must not share a background.
 * Suggested rhythm: white > soft > white > gray > dark > soft ...
 * The hero is dark/image, so the section right after it is white.
 * ==================================================================== */

.dt-section {
  padding-top: var(--dt-section-y);
  padding-bottom: var(--dt-section-y);
  position: relative;
  overflow: hidden;
}

/* Consecutive sections never stack double spacing */
.dt-section + .dt-section {
  margin-top: 0;
}

/* Section Spacing Modifiers */
.dt-section--tight {
  padding-top: calc(var(--dt-section-y) * 0.6);
  padding-bottom: calc(var(--dt-section-y) * 0.6);
}

.dt-section--flush-top {
  padding-top: 0 !important;
}

.dt-section--flush-bottom {
  padding-bottom: 0 !important;
}

/* Breathing room below hero form card on mobile/tablet */
@media (max-width: 991px) {
  .dt-hero-wrap + .dt-section {
    padding-top: clamp(36px, 6vw, 56px);
  }
}

/* Section Background Modifiers */
.dt-section--white {
  background-color: var(--dt-bg-white);
  color: var(--dt-ink);
}

.dt-section--soft {
  background-color: var(--dt-bg-soft);
  color: var(--dt-ink);
}

.dt-section--gray {
  background-color: var(--dt-bg-gray);
  color: var(--dt-ink);
}

.dt-section--dark {
  background-color: var(--dt-bg-dark);
  color: var(--dt-white);
}

.dt-section--dark h1,
.dt-section--dark h2,
.dt-section--dark h3,
.dt-section--dark h4,
.dt-section--dark h5,
.dt-section--dark h6,
.dt-section--dark .dt-section-title {
  color: var(--dt-white);
}

.dt-section--dark .dt-muted,
.dt-section--dark .dt-section-caption {
  color: rgba(255, 255, 255, 0.75);
}

.dt-section--dark .dt-badge {
  color: var(--dt-white);
}

.dt-section--dark .dt-badge::before {
  background: repeating-linear-gradient(90deg, var(--dt-white) 0, var(--dt-white) 8px, transparent 8px, transparent 12px);
}

.dt-section--dark a:not(.thm-btn) {
  color: var(--dt-white);
}

.dt-section--orange {
  background: var(--dt-bg-orange);
  background-color: var(--dt-orange);
  color: var(--dt-white);
  position: relative;
}

.dt-section--orange::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.035),
    rgba(255, 255, 255, 0.035) 2px,
    transparent 2px,
    transparent 8px
  );
  pointer-events: none;
  z-index: 1;
}

.dt-section--orange > * {
  position: relative;
  z-index: 2;
}

.dt-section--orange h1,
.dt-section--orange h2,
.dt-section--orange h3,
.dt-section--orange h4,
.dt-section--orange h5,
.dt-section--orange h6,
.dt-section--orange .dt-section-title {
  color: var(--dt-white);
}

.dt-section--orange .dt-muted,
.dt-section--orange .dt-section-caption {
  color: rgba(255, 255, 255, 0.9);
}

.dt-section--orange .dt-hl {
  color: var(--dt-black);
}

.dt-section--orange .dt-badge {
  color: var(--dt-white);
}

.dt-section--orange .dt-badge::before {
  background: repeating-linear-gradient(90deg, var(--dt-white) 0, var(--dt-white) 8px, transparent 8px, transparent 12px);
}

.dt-section--orange a:not(.thm-btn) {
  color: var(--dt-white);
}

/* Button variants specifically tuned for Orange Sections */
.dt-section--orange .thm-btn--dark {
  background-color: var(--dt-black);
  color: var(--dt-white) !important;
  border-color: var(--dt-black);
}

.dt-section--orange .thm-btn--dark .thm-btn__icon-circle {
  background-color: rgba(255, 255, 255, 0.2);
}

.dt-section--orange .thm-btn--dark .thm-btn__arrow path,
.dt-section--orange .thm-btn--dark .thm-btn__arrow-path {
  stroke: var(--dt-white) !important;
}

@media (hover: hover) {
  .dt-section--orange .thm-btn--dark:hover {
    background-color: var(--dt-white);
    color: var(--dt-black) !important;
    border-color: var(--dt-white);
  }

  .dt-section--orange .thm-btn--dark:hover .thm-btn__icon-circle {
    background-color: var(--dt-black);
  }

  .dt-section--orange .thm-btn--dark:hover .thm-btn__arrow path,
  .dt-section--orange .thm-btn--dark:hover .thm-btn__arrow-path {
    stroke: var(--dt-white) !important;
  }
}

.dt-section--orange .thm-btn--light {
  background-color: var(--dt-white);
  color: var(--dt-black) !important;
  border-color: var(--dt-white);
}

.dt-section--orange .thm-btn--light .thm-btn__icon-circle {
  background-color: var(--dt-black);
}

.dt-section--orange .thm-btn--light .thm-btn__arrow path,
.dt-section--orange .thm-btn--light .thm-btn__arrow-path {
  stroke: var(--dt-white) !important;
}

@media (hover: hover) {
  .dt-section--orange .thm-btn--light:hover {
    background-color: var(--dt-black);
    color: var(--dt-white) !important;
    border-color: var(--dt-black);
  }

  .dt-section--orange .thm-btn--light:hover .thm-btn__icon-circle {
    background-color: var(--dt-white);
  }

  .dt-section--orange .thm-btn--light:hover .thm-btn__arrow path,
  .dt-section--orange .thm-btn--light:hover .thm-btn__arrow-path {
    stroke: var(--dt-black) !important;
  }
}

/* Optional faint dot-pattern modifier for soft/gray/dark sections */
.dt-section--dots {
  background-image: radial-gradient(rgba(0, 0, 0, 0.06) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
}

.dt-section--dark.dt-section--dots {
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px);
}

/* Reusable Section Header (Tighter spacing) */
.dt-section-head {
  margin-bottom: clamp(24px, 3vw, 40px);
  position: relative;
}

.dt-section-head--center {
  text-align: center;
}

.dt-section-head--center .dt-section-caption {
  margin-left: auto;
  margin-right: auto;
}

.dt-section-head--left {
  text-align: left;
}

.dt-section-head--light .dt-section-title {
  color: var(--dt-white);
}

.dt-section-head--light .dt-section-caption {
  color: rgba(255, 255, 255, 0.75);
}

/* Section Badge with road-dash line mark */
.dt-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--dt-font-head);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dt-orange);
  margin-bottom: 12px;
  line-height: 1;
}

.dt-badge::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--dt-orange) 0, var(--dt-orange) 8px, transparent 8px, transparent 12px);
  border-radius: 2px;
}

.dt-badge--pill {
  background: var(--dt-soft);
  padding: 6px 14px;
  border-radius: var(--dt-radius-full);
}

.dt-badge--light {
  color: var(--dt-white);
}

.dt-badge--light::before {
  background: repeating-linear-gradient(90deg, var(--dt-white) 0, var(--dt-white) 8px, transparent 8px, transparent 12px);
}

/* Section Title & Caption */
.dt-section-title {
  font-family: var(--dt-font-head);
  font-weight: 800;
  font-size: clamp(1.85rem, 3.8vw, 3rem);
  line-height: 1.18;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.dt-section-caption {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--dt-muted);
  max-width: 62ch;
  margin: 0;
}

/* Inner Page Title Banner Block */
.dt-page-title {
  padding: clamp(48px, 8vw, 84px) 0;
  background: var(--dt-black);
  color: var(--dt-white);
  position: relative;
  overflow: hidden;
}

.dt-page-title h1 {
  color: var(--dt-white);
  margin-bottom: 8px;
}

.dt-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.dt-breadcrumb a {
  color: var(--dt-white);
}

.dt-breadcrumb a:hover {
  color: var(--dt-orange);
}

.dt-breadcrumb-sep {
  opacity: 0.5;
}

/* --------------------------------------------------------------------
 * 05. LEGACY CLASS ALIASES (Non-Destructive Bridge)
 * -------------------------------------------------------------------- */
.section-title,
.sisf-sis-section-title {
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-title.text-center {
  text-align: center;
}

.section-title.text-left {
  text-align: left;
}

.section-title__tagline,
.section-sub-title,
.sub-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--dt-font-head);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dt-orange);
  margin-bottom: 10px;
}

.section-title__tagline::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 3px;
  background: var(--dt-orange);
  border-radius: 2px;
}

.section-title__title,
.sisf-m-title {
  font-family: var(--dt-font-head);
  font-weight: 800;
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  line-height: 1.2;
  color: var(--dt-black);
  margin-bottom: 12px;
}

/* --------------------------------------------------------------------
 * 06. THEME BUTTON (.thm-btn) - ROLLING HOVER SYSTEM
 * Arrow inside circle is ALWAYS visible in all states & variants
 * -------------------------------------------------------------------- */
.thm-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  min-height: 52px;
  padding: 0 28px;
  background-color: var(--dt-orange);
  color: var(--dt-white) !important;
  border: 1px solid var(--dt-orange);
  border-radius: var(--dt-btn-radius);
  font-family: var(--dt-font-head);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
  box-shadow: var(--dt-shadow-sm);
  transition: background-color var(--dt-dur) var(--dt-ease),
              color var(--dt-dur) var(--dt-ease),
              border-color var(--dt-dur) var(--dt-ease),
              box-shadow var(--dt-dur) var(--dt-ease);
}

/* Active tap state */
.thm-btn:active {
  transform: translateY(1px);
}

/* Disabled state */
.thm-btn:disabled,
.thm-btn.disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

/* Rolling Text Container */
.thm-btn__text {
  display: inline-flex;
  flex-direction: column;
  height: 1.3em;
  line-height: 1.3em;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.thm-btn__label {
  display: block;
  transition: transform var(--dt-dur) var(--dt-ease);
  transform: translateY(0);
}

.thm-btn__label--clone {
  display: block;
  color: inherit;
}

/* Icon / Arrow Circle Container */
.thm-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
}

.thm-btn__icon-circle {
  width: 28px;
  height: 28px;
  border-radius: var(--dt-radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-color: transparent;
  transition: background-color var(--dt-dur) var(--dt-ease),
              transform var(--dt-dur) var(--dt-ease);
}

/* Dual Arrow SVGs: flying transition */
.thm-btn__arrow {
  width: 14px;
  height: 14px;
  display: block;
  transition: transform var(--dt-dur) var(--dt-ease);
  transform: translate(0, 0);
}

.thm-btn__arrow path,
.thm-btn__arrow-path {
  stroke: var(--dt-white);
  transition: stroke var(--dt-dur) var(--dt-ease);
}

.thm-btn__arrow--clone {
  position: absolute;
  transform: translate(-140%, 140%);
}

.thm-btn__arrow--clone path {
  stroke: var(--dt-white);
}

/* --- Base Hover & Focus-Visible Behaviors --- */
@media (hover: hover) {
  /* Default: hover white bg / black text / black circle + white arrow */
  .thm-btn:hover {
    background-color: var(--dt-white);
    color: var(--dt-black) !important;
    border-color: var(--dt-black);
    box-shadow: var(--dt-shadow-md);
  }

  .thm-btn:hover .thm-btn__label {
    transform: translateY(-100%);
  }

  .thm-btn:hover .thm-btn__icon-circle {
    background-color: var(--dt-black);
  }

  .thm-btn:hover .thm-btn__arrow {
    transform: translate(140%, -140%);
  }

  .thm-btn:hover .thm-btn__arrow--clone {
    transform: translate(0, 0);
  }

  .thm-btn:hover .thm-btn__arrow path,
  .thm-btn:hover .thm-btn__arrow-path {
    stroke: var(--dt-white) !important;
  }
}

/* Keyboard :focus-visible matching hover */
.thm-btn:focus-visible {
  outline: none !important;
  outline-offset: 3px;
  background-color: var(--dt-white);
  color: var(--dt-black) !important;
  border-color: var(--dt-black);
}

.thm-btn:focus-visible .thm-btn__label {
  transform: translateY(-100%);
}

.thm-btn:focus-visible .thm-btn__icon-circle {
  background-color: var(--dt-black);
}

.thm-btn:focus-visible .thm-btn__arrow {
  transform: translate(140%, -140%);
}

.thm-btn:focus-visible .thm-btn__arrow--clone {
  transform: translate(0, 0);
}

.thm-btn:focus-visible .thm-btn__arrow path,
.thm-btn:focus-visible .thm-btn__arrow-path {
  stroke: var(--dt-white) !important;
}

/* --- Variant: .thm-btn--dark --- */
.thm-btn--dark {
  background-color: var(--dt-black);
  color: var(--dt-white) !important;
  border-color: var(--dt-black);
}

.thm-btn--dark .thm-btn__arrow path {
  stroke: var(--dt-white);
}

@media (hover: hover) {
  .thm-btn--dark:hover {
    background-color: var(--dt-orange);
    color: var(--dt-white) !important;
    border-color: var(--dt-orange);
  }

  .thm-btn--dark:hover .thm-btn__icon-circle {
    background-color: var(--dt-white);
  }

  .thm-btn--dark:hover .thm-btn__arrow path,
  .thm-btn--dark:hover .thm-btn__arrow-path {
    stroke: var(--dt-black) !important;
  }
}

.thm-btn--dark:focus-visible {
  background-color: var(--dt-orange);
  color: var(--dt-white) !important;
  border-color: var(--dt-orange);
}

.thm-btn--dark:focus-visible .thm-btn__icon-circle {
  background-color: var(--dt-white);
}

.thm-btn--dark:focus-visible .thm-btn__arrow path {
  stroke: var(--dt-black) !important;
}

/* --- Variant: .thm-btn--light --- */
.thm-btn--light {
  background-color: var(--dt-white);
  color: var(--dt-black) !important;
  border-color: var(--dt-white);
}

.thm-btn--light .thm-btn__arrow path {
  stroke: var(--dt-black);
}

@media (hover: hover) {
  .thm-btn--light:hover {
    background-color: var(--dt-orange);
    color: var(--dt-white) !important;
    border-color: var(--dt-orange);
  }

  .thm-btn--light:hover .thm-btn__icon-circle {
    background-color: var(--dt-white);
  }

  .thm-btn--light:hover .thm-btn__arrow path,
  .thm-btn--light:hover .thm-btn__arrow-path {
    stroke: var(--dt-orange) !important;
  }
}

.thm-btn--light:focus-visible {
  background-color: var(--dt-orange);
  color: var(--dt-white) !important;
  border-color: var(--dt-orange);
}

.thm-btn--light:focus-visible .thm-btn__icon-circle {
  background-color: var(--dt-white);
}

.thm-btn--light:focus-visible .thm-btn__arrow path {
  stroke: var(--dt-orange) !important;
}

/* --- Variant: .thm-btn--outline --- */
.thm-btn--outline {
  background-color: transparent;
  color: var(--dt-orange) !important;
  border: 2px solid var(--dt-orange);
  box-shadow: none;
}

.thm-btn--outline .thm-btn__arrow path {
  stroke: var(--dt-orange);
}

@media (hover: hover) {
  .thm-btn--outline:hover {
    background-color: var(--dt-white);
    color: var(--dt-black) !important;
    border-color: var(--dt-white);
  }

  .thm-btn--outline:hover .thm-btn__icon-circle {
    background-color: var(--dt-black);
  }

  .thm-btn--outline:hover .thm-btn__arrow path,
  .thm-btn--outline:hover .thm-btn__arrow-path {
    stroke: var(--dt-white) !important;
  }
}

.thm-btn--outline:focus-visible {
  background-color: var(--dt-white);
  color: var(--dt-black) !important;
  border-color: var(--dt-white);
}

.thm-btn--outline:focus-visible .thm-btn__icon-circle {
  background-color: var(--dt-black);
}

.thm-btn--outline:focus-visible .thm-btn__arrow path {
  stroke: var(--dt-white) !important;
}

/* --- Variant: .thm-btn--whatsapp --- */
.thm-btn--whatsapp {
  background-color: var(--dt-green);
  color: var(--dt-white) !important;
  border-color: var(--dt-green);
}

.thm-btn--whatsapp .thm-btn__arrow path {
  stroke: var(--dt-white);
}

@media (hover: hover) {
  .thm-btn--whatsapp:hover {
    background-color: var(--dt-white);
    color: var(--dt-green-dark) !important;
    border-color: var(--dt-green-dark);
  }

  .thm-btn--whatsapp:hover .thm-btn__icon-circle {
    background-color: var(--dt-green);
  }

  .thm-btn--whatsapp:hover .thm-btn__arrow path,
  .thm-btn--whatsapp:hover .thm-btn__arrow-path {
    stroke: var(--dt-white) !important;
  }
}

.thm-btn--whatsapp:focus-visible {
  background-color: var(--dt-white);
  color: var(--dt-green-dark) !important;
  border-color: var(--dt-green-dark);
}

.thm-btn--whatsapp:focus-visible .thm-btn__icon-circle {
  background-color: var(--dt-green);
}

.thm-btn--whatsapp:focus-visible .thm-btn__arrow path {
  stroke: var(--dt-white) !important;
}

/* Sizing Variants */
.thm-btn--sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.85rem;
}

.thm-btn--sm .thm-btn__icon-circle {
  width: 22px;
  height: 22px;
}

.thm-btn--sm .thm-btn__arrow {
  width: 11px;
  height: 11px;
}

.thm-btn--lg {
  min-height: 60px;
  padding: 0 36px;
  font-size: 1.05rem;
}

.thm-btn--lg .thm-btn__icon-circle {
  width: 32px;
  height: 32px;
}

.thm-btn--block {
  display: flex;
  width: 100%;
}

/* Input[type=submit] support */
input[type="submit"].thm-btn {
  border-radius: var(--dt-btn-radius);
  padding: 0 28px;
  height: 52px;
  line-height: 52px;
}

/* --------------------------------------------------------------------
 * 07. FLOATING SOCIAL BUTTONS (.dt-float) - RIGHT EDGE STACK
 * Flush square buttons, thin dark divider, outer corners rounded only,
 * hover label slides out attached flush to the left in all-small-caps.
 * -------------------------------------------------------------------- */
.dt-float {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 990;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  /* box-shadow: -3px 0 14px rgba(0, 0, 0, 0.35); */
  /* border-left: 1px solid rgba(0, 0, 0, 0.2); */
  overflow: visible;
  gap: 6px;
}

.dt-float li {
  position: relative;
  margin: 0;
  padding: 0;
}

.dt-float li:first-child .dt-float__link {
  /* border-top-left-radius: 8px; */
  /* border-top-right-radius: 0; */
}

.dt-float li:last-child .dt-float__link {
  /* border-bottom-left-radius: 8px; */
  /* border-bottom-right-radius: 0; */
  /* border-bottom: none; */
}

.dt-float__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background-color: var(--dt-orange);
  color: var(--dt-white);
  border-radius: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.22);
  transition: background-color 0.2s ease;
  text-decoration: none;
}

.dt-float__link:hover,
.dt-float__link:focus-visible {
  background-color: var(--dt-orange-dark);
}

.dt-float__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--dt-white);
}

.dt-float__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* Sliding Label on Hover / Focus (attached flush to left edge of button) */
.dt-float__label {
  position: absolute;
  right: 100%;
  top: 0;
  bottom: 0;
  height: 100%;
  background-color: var(--dt-orange-dark);
  color: var(--dt-white);
  font-family: var(--dt-font-head);
  font-weight: 800;
  font-size: 0.88rem;
  font-variant: all-small-caps;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  white-space: nowrap;
  border-radius: 6px 0 0 6px;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.22s var(--dt-ease), transform 0.22s var(--dt-ease);
}

.dt-float__link:hover .dt-float__label,
.dt-float__link:focus-visible .dt-float__label {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* --------------------------------------------------------------------
 * 09. ACCORDION (.dt-accordion)
 * -------------------------------------------------------------------- */
.dt-accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.dt-accordion__item {
  border: 1px solid var(--dt-line);
  border-radius: var(--dt-radius-md);
  background-color: var(--dt-white);
  overflow: hidden;
  transition: border-color var(--dt-dur) ease, box-shadow var(--dt-dur) ease;
  margin-bottom: 10px;
}

.dt-accordion__item.is-open {
  border-color: var(--dt-orange);
  box-shadow: var(--dt-shadow-sm);
}

.dt-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  text-align: left;
  font-family: var(--dt-font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dt-black);
  cursor: pointer;
  background: transparent;
  transition: color var(--dt-dur) ease;
  line-height: 1.35;
  gap: 10px;
}

.dt-accordion__trigger:hover,
.dt-accordion__item.is-open .dt-accordion__trigger {
  color: var(--dt-orange);
}

.dt-accordion__arrow {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--dt-dur) var(--dt-ease);
  flex-shrink: 0;
  margin-left: 12px;
}

.dt-accordion__item.is-open .dt-accordion__arrow {
  transform: rotate(180deg);
}

.dt-accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dt-dur) var(--dt-ease);
}

.dt-accordion__content {
  padding: 0 24px 20px;
  color: var(--dt-muted);
  line-height: 1.65;
}

/* --------------------------------------------------------------------
 * 10. TABS (.dt-tabs)
 * -------------------------------------------------------------------- */
.dt-tabs {
  width: 100%;
}

.dt-tabs__nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--dt-line);
  margin-bottom: 24px;
  padding: 0;
  list-style: none;
}

.dt-tab {
  padding: 12px 22px;
  font-family: var(--dt-font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dt-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color var(--dt-dur) ease, border-color var(--dt-dur) ease;
  background: transparent;
}

.dt-tab:hover {
  color: var(--dt-black);
}

.dt-tab.is-active {
  color: var(--dt-orange);
  border-bottom-color: var(--dt-orange);
}

.dt-panel {
  display: none;
  animation: dtFadeIn 0.3s ease;
}

.dt-panel.is-active {
  display: block;
}

/* Horizontal Pill Tabs Variant (.dt-tabs--pills) */
.dt-tabs--pills .dt-tabs__nav {
  justify-content: center;
  border-bottom: none;
  gap: 12px;
  margin-bottom: clamp(28px, 3.5vw, 44px);
  padding: 0;
}

.dt-tabs--pills .dt-tab {
  padding: 12px 28px;
  border-radius: var(--dt-radius-full);
  background: var(--dt-white);
  border: 1px solid var(--dt-line);
  box-shadow: var(--dt-shadow-sm);
  color: var(--dt-muted);
  font-family: var(--dt-font-head);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0;
  transition: all var(--dt-dur) ease;
}

.dt-tabs--pills .dt-tab:hover {
  color: var(--dt-black);
  border-color: var(--dt-orange);
}

.dt-tabs--pills .dt-tab.is-active {
  background: var(--dt-orange);
  color: var(--dt-white);
  border-color: var(--dt-orange);
  box-shadow: 0 6px 18px rgba(255, 90, 0, 0.35);
}

/* --------------------------------------------------------------------
 * 11. SLIDER / CAROUSEL (.dt-slider)
 * -------------------------------------------------------------------- */
.dt-slider {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.dt-slider__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 12px;
}

.dt-slider__track::-webkit-scrollbar {
  display: none;
}

.dt-slider__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

@media (max-width: 991px) {
  .dt-slider[data-per-view="2"] .dt-slider__slide {
    flex: 0 0 100% !important;
  }
}

@media (min-width: 992px) {
  .dt-slider[data-per-view="2"] .dt-slider__slide {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (min-width: 640px) {
  .dt-slider[data-per-view="3"] .dt-slider__slide {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (min-width: 1024px) {
  .dt-slider[data-per-view="3"] .dt-slider__slide {
    flex: 0 0 calc(33.333% - 16px);
  }
}

.dt-slider__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.dt-slider__btn {
  width: 44px;
  height: 44px;
  border-radius: var(--dt-radius-full);
  background-color: var(--dt-white);
  border: 1px solid var(--dt-line);
  color: var(--dt-black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--dt-shadow-sm);
  transition: all var(--dt-dur) ease;
}

.dt-slider__btn:hover {
  background-color: var(--dt-orange);
  color: var(--dt-white);
  border-color: var(--dt-orange);
}

.dt-slider__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.dt-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: var(--dt-radius-full);
  background-color: var(--dt-line);
  cursor: pointer;
  transition: all var(--dt-dur) ease;
}

.dt-slider__dot.is-active {
  width: 24px;
  background-color: var(--dt-orange);
}

/* --------------------------------------------------------------------
 * 12. FILTER SYSTEM ([data-dt-filter-group])
 * -------------------------------------------------------------------- */
.dt-filter-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.dt-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: var(--dt-radius-full);
  font-family: var(--dt-font-head);
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--dt-bg-gray);
  color: var(--dt-muted);
  border: 1px solid var(--dt-line);
  cursor: pointer;
  transition: all var(--dt-dur) ease;
  user-select: none;
}

.dt-filter-btn:hover {
  background: #EAEAEA;
  color: var(--dt-black);
}

.dt-filter-btn.is-active,
.dt-filter-btn[aria-pressed="true"] {
  background: var(--dt-orange);
  color: var(--dt-white);
  border-color: var(--dt-orange);
  box-shadow: 0 6px 18px rgba(255, 90, 0, 0.35);
}

.dt-filter-item {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.dt-filter-item.is-filtering-out {
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
}

.dt-filter-item.is-hidden {
  display: none !important;
}

/* --------------------------------------------------------------------
 * 12. SCROLL REVEAL ANIMATIONS (.dt-reveal)
 * -------------------------------------------------------------------- */
/* Without JS: stays visible */
.dt-reveal {
  opacity: 1;
}

/* When JS is initialized, prepare for entrance */
html.dt-js .dt-reveal {
  opacity: 0;
  transition: opacity 0.65s var(--dt-ease), transform 0.65s var(--dt-ease);
  will-change: opacity, transform;
}

html.dt-js .dt-reveal[data-anim="fade-up"] {
  transform: translateY(32px);
}

html.dt-js .dt-reveal[data-anim="fade-in"] {
  transform: none;
}

html.dt-js .dt-reveal[data-anim="zoom"] {
  transform: scale(0.92);
}

html.dt-js .dt-reveal[data-anim="slide-left"] {
  transform: translateX(40px);
}

html.dt-js .dt-reveal[data-anim="slide-right"] {
  transform: translateX(-40px);
}

html.dt-js .dt-reveal.is-revealed {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

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

/* --------------------------------------------------------------------
 * 13. MODAL / POPUP (.dt-modal & .main-popup)
 * -------------------------------------------------------------------- */
.dt-modal,
.main-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(11, 11, 11, 0.75);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dt-dur) ease, visibility var(--dt-dur) ease;
}

.dt-modal.is-open,
.main-popup.active,
.main-popup.is-open {
  opacity: 1;
  visibility: visible;
}

.dt-modal__card,
.popup-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: var(--dt-white);
  border-radius: var(--dt-radius-lg);
  padding: clamp(24px, 5vw, 40px);
  box-shadow: var(--dt-shadow-lg);
  transform: scale(0.92);
  transition: transform var(--dt-dur) var(--dt-ease);
  border: 1px solid var(--dt-line);
}

.dt-modal.is-open .dt-modal__card,
.main-popup.active .popup-card,
.main-popup.is-open .popup-card {
  transform: scale(1);
}

.dt-modal__close,
.popup-card .close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: var(--dt-radius-full);
  background: var(--dt-soft);
  color: var(--dt-black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--dt-dur) ease, color var(--dt-dur) ease;
}

.dt-modal__close:hover,
.popup-card .close-btn:hover {
  background: var(--dt-orange);
  color: var(--dt-white);
}

.popup-header {
  text-align: center;
  margin-bottom: 24px;
}

.popup-header h2 {
  font-size: 1.75rem;
  margin-bottom: 6px;
}

.popup-header p {
  color: var(--dt-muted);
  font-size: 0.95rem;
}

.popup-body .form-group {
  margin-bottom: 16px;
  position: relative;
}

.popup-body .form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--dt-line);
  border-radius: var(--dt-radius-sm);
  background: #FAFAFA;
  font-size: 0.95rem;
  transition: border-color var(--dt-dur) ease;
}

.popup-body .form-control:focus {
  border-color: var(--dt-orange);
  outline: none;
  background: var(--dt-white);
}

.popup-body .btn-submit {
  width: 100%;
  padding: 14px 24px;
  background: var(--dt-orange);
  color: var(--dt-white);
  border: none;
  border-radius: var(--dt-btn-radius);
  font-family: var(--dt-font-head);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.3s ease;
}

.popup-body .btn-submit:hover {
  background: var(--dt-black);
}

/* --------------------------------------------------------------------
 * 14. COUNTERS, BACK-TO-TOP & STICKY HEADER
 * -------------------------------------------------------------------- */
.dt-counter {
  font-family: var(--dt-font-head);
  font-weight: 800;
  color: var(--dt-orange);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1;
  display: inline-block;
}

.dt-back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: var(--dt-radius-full);
  background: var(--dt-black);
  color: var(--dt-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--dt-shadow-md);
  z-index: 9980;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--dt-dur) ease;
  cursor: pointer;
}

.dt-back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dt-back-top:hover {
  background: var(--dt-orange);
}

/* Sticky Header Modifier */
.header-sticky.is-stuck,
.main-header.is-stuck {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: var(--dt-white);
  box-shadow: var(--dt-shadow-md);
  animation: dtSlideDown 0.35s ease;
}

@keyframes dtSlideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

/* --------------------------------------------------------------------
 * 15. RESPONSIVE ADJUSTMENTS
 * -------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* Smaller theme button in phone view */
  .thm-btn {
    min-height: 42px !important;
    padding: 0 16px !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.02em !important;
  }
  .thm-btn .thm-btn__icon-circle {
    width: 22px !important;
    height: 22px !important;
    margin-left: 6px !important;
  }

  .dt-float__link {
    width: 40px;
    height: 40px;
  }
  .dt-float__icon {
    width: 18px;
    height: 18px;
  }
  /* Disable slide-out labels on small screens to prevent covering UI */
  .dt-float__label {
    display: none !important;
  }
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
