/*
 * Theme Name: Digital Source
 * Theme URI: https://www.digital-source.co.uk
 * Author: Digital Source
 * Author URI: https://www.digital-source.co.uk
 * Description: Digital Source web design agency — standalone mockup, no Elementor classes.
 * Version: 2.0.0
 * Text Domain: digitalsource
 */

/* ============================================================
   TABLE OF CONTENTS
   00. Self-hosted Fonts
   01. CSS Custom Properties
   02. Reset & Base
   03. Typography
   04. Layout & Utilities
   05. Buttons
   06. Scroll Animations
   07. Header
   08. Mobile Menu
   09. Hero
   10. Overview / Stats
   11. Client Logos Ticker
   12. Services
   13. Works / Portfolio
   14. Why Choose Us
   15. Website Repair
   16. Integrations
   17. Pricing
   18. Testimonials
   19. News
   20. Contact CTA
   21. Footer
   22. Back to Top
   23. Responsive
   ============================================================ */

/* ============================================================
   00. Self-hosted Fonts
   ============================================================ */
@font-face {
  font-family: 'PlayFair';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../../uploads/2024/06/PlayfairDisplay-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins reg';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../../uploads/2024/06/Poppins-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins light';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../../uploads/2024/06/Poppins-Light.woff2') format('woff2');
}

/* ============================================================
   01. CSS Custom Properties
   ============================================================ */
:root {
  /* Colours */
  --c-bg:          #0f0e1d;
  --c-bg-alt:      #13122a;
  --c-bg-card:     #1a1836;
  --c-bg-card2:    #16153a;
  --c-gold:        #DDA067;
  --c-gold-hover:  #e8b57d;
  --c-purple:      #6f3fd4;
  --c-purple-mid:  #8a5ae0;
  --c-purple-light:#a07de8;
  --c-white:       #ffffff;
  --c-black:       #000000;
  --c-text:        rgba(255,255,255,0.85);
  --c-muted:       rgba(255,255,255,0.52);
  --c-border:      rgba(255,255,255,0.1);
  --c-border-gold: rgba(221,160,103,0.3);

  /* Gradients */
  --grad-hero:   radial-gradient(ellipse at center, #2a1a60 0%, #0f0e1d 65%);
  --grad-gold:   linear-gradient(135deg, #DDA067 0%, #e8b57d 100%);
  --grad-purple: linear-gradient(135deg, #6f3fd4 0%, #8a5ae0 100%);
  --grad-card:   linear-gradient(180deg, #1e1c3e 0%, #13122a 100%);
  --grad-card2:  linear-gradient(172deg, #1e1c3e 20%, #0f0e1d 100%);
  --grad-cta:    linear-gradient(135deg, #4a1fa8 0%, #2d1065 100%);

  /* Fonts */
  --font-heading: 'PlayFair', 'Playfair Display', Georgia, serif;
  --font-body:    'Poppins reg', 'Poppins', sans-serif;
  --font-light:   'Poppins light', 'Poppins', sans-serif;

  /* Spacing */
  --section-v:  6rem;
  --gutter:     2rem;
  --max-w:      1320px;

  /* Shape */
  --r-card:   10px;
  --r-btn:    30px;
  --r-img:    5px;
  --r-chip:   6px;

  /* Transition */
  --t-fast: 0.2s ease;
  --t-mid:  0.35s ease;

  /* Shadow */
  --sh-card:  0 4px 24px rgba(0,0,0,0.45);
  --sh-gold:  0 4px 24px rgba(221,160,103,0.22);
  --sh-glow:  0 0 40px rgba(111,63,212,0.3);

  /* Elementor global colour mappings */
  --e-global-color-primary:   #6f3fd4;
  --e-global-color-accent:    #DDA067;
  --e-global-color-cc494a5:   #0f0e1d;
  --e-global-color-dc8786f:   #0b0a18;
}

/* ============================================================
   02. Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background-color: var(--c-bg);
  color: var(--c-text);
  line-height: 1.75;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #1a1836; }
::-webkit-scrollbar-thumb { background: var(--c-gold); border-radius: 3px; }
* { scrollbar-width: thin; scrollbar-color: var(--c-gold) #1a1836; }

/* ============================================================
   03. Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.25;
  color: var(--c-white);
  letter-spacing: 0.5px;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; }

p {
  font-family: var(--font-light);
  color: var(--c-text);
  line-height: 1.8;
}

strong { font-family: var(--font-body); font-weight: 600; color: var(--c-white); }

/* Dual-colour heading */
.heading-accent { color: var(--c-gold); }

/* ============================================================
   04. Layout & Utilities
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--section-v) 0; }
.section--alt { background: var(--c-bg-alt); }

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 0.85rem;
}

.section-header { margin-bottom: 3.5rem; }
.section-header--center { text-align: center; }
.section-header--center .section-sub { margin: 0 auto; }

.section-sub {
  font-family: var(--font-light);
  font-size: 1rem;
  color: var(--c-muted);
  max-width: 580px;
  line-height: 1.82;
  margin-top: 1rem;
}

.divider {
  width: 50px;
  height: 2px;
  background: var(--grad-gold);
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}
.divider--center { margin-left: auto; margin-right: auto; }

/* ============================================================
   05. Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.9rem;
  border-radius: var(--r-btn);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 400;
  transition: all var(--t-mid);
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* Outline — matches Elementor: transparent bg, white border, white text */
.btn--outline {
  background: transparent;
  color: var(--c-white);
  border: 1px solid var(--c-white);
}
.btn--outline:hover {
  background: var(--grad-gold);
  border-color: var(--c-black);
  color: var(--c-white);
}

/* Gold filled */
.btn--gold {
  background: var(--grad-gold);
  color: var(--c-bg);
  border: 1px solid transparent;
  font-weight: 600;
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-gold);
}

/* Purple filled */
.btn--purple {
  background: var(--grad-purple);
  color: var(--c-white);
  border: 1px solid transparent;
}
.btn--purple:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-glow);
}

.btn svg { width: 15px; height: 15px; flex-shrink: 0; transition: transform var(--t-fast); }
.btn:hover svg { transform: translateX(3px); }
.btn-arrow { height: 18px; width: auto; flex-shrink: 0; transition: transform var(--t-fast); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ============================================================
   06. Scroll Animations
   ============================================================ */
.anim-fade-in,
.anim-fade-up,
.anim-fade-down,
.anim-slide-left,
.anim-slide-right,
.anim-scale-in {
  opacity: 0;
  /* exit: no delay — snappy and clean */
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0s;
  will-change: opacity, transform;
}

.anim-fade-up    { transform: translateY(40px); }
.anim-fade-down  { transform: translateY(-40px); }
.anim-slide-left { transform: translateX(-50px); }
.anim-slide-right{ transform: translateX(50px); }
.anim-scale-in   { transform: scale(0.9); }

.is-visible {
  opacity: 1;
  transform: none;
  /* enter: apply staggered delay set by JS via --anim-delay */
  transition-delay: var(--anim-delay, 0s);
  transition-duration: 0.75s;
}

/* ============================================================
   07. Header
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 1.1rem 0;
  transition: background 0.4s ease, padding 0.35s ease, box-shadow 0.4s ease;
}

.site-header.is-scrolled {
  background: rgba(13, 12, 25, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 0.75rem 0;
  box-shadow: 0 1px 30px rgba(0,0,0,0.55);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header-logo img {
  height: 36px;
  width: auto;
  display: block;
}

/* Fallback text logo */
.logo-fallback {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--c-white);
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.main-nav a {
  position: relative;
  padding: 0.5rem 0.9rem;
  font-family: var(--font-light);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  transition: color var(--t-fast);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 1px;
  background: var(--c-gold);
  transition: transform var(--t-fast);
}

.main-nav a:hover,
.main-nav a.is-active { color: var(--c-white); }
.main-nav a:hover::after,
.main-nav a.is-active::after { transform: translateX(-50%) scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 0.65rem; }

.header-cta .btn--outline {
  padding: 0.55rem 1.4rem;
  font-size: 0.82rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  gap: 5px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--c-white);
  border-radius: 2px;
  transition: all 0.38s cubic-bezier(0.77,0,0.175,1);
  transform-origin: center;
}

.hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   08. Mobile Menu
   ============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(10,9,22,0.99);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: all 0.42s cubic-bezier(0.77,0,0.175,1);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 2.5rem;
}

.mobile-nav a {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem,6vw,2.4rem);
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--c-white);
  padding: 0.4rem 1rem;
  transition: color var(--t-fast);
}

.mobile-nav a:hover { color: var(--c-gold); }

.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  max-width: 260px;
}

.mobile-menu-actions .btn { justify-content: center; }

.mobile-footer {
  position: absolute;
  bottom: 2rem;
  font-family: var(--font-light);
  font-size: 0.74rem;
  color: var(--c-muted);
  text-align: center;
}

/* ============================================================
   09. Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--c-bg);
  padding: 9rem 0 5rem;
}

/* Background layers */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('../../uploads/2024/05/Digital-source-bck-placeholder-purple.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(111,63,212,0.55) 0%, rgba(15,14,29,0.85) 65%);
}

.hero-shapes {
  position: absolute;
  inset: 0;
  background-image: url('../../uploads/2024/05/gradient-shapes-bg2.png');
  background-size: 60%;
  background-position: 80% center;
  background-repeat: no-repeat;
  opacity: 0.3;
}

/* Hero inner */
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--c-gold);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.15;
  color: var(--c-white);
  margin-bottom: 1.5rem;
}

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

.hero-description {
  font-family: var(--font-light);
  font-size: 1rem;
  color: var(--c-muted);
  line-height: 1.82;
  margin-bottom: 1.5rem;
  max-width: 500px;
}

/* Service list */
.hero-services {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero-service {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-light);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
}

.hero-service::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--c-gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Trust strip */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--c-border);
}

.trust-faces {
  display: flex;
}

.trust-face {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--c-bg);
  background: linear-gradient(135deg, var(--c-purple), var(--c-gold));
  margin-right: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--c-white);
}
.trust-face:last-child { margin-right: 0; }

.trust-copy {
  font-family: var(--font-light);
  font-size: 0.8rem;
  color: var(--c-muted);
  line-height: 1.4;
}
.trust-copy strong { font-family: var(--font-body); color: var(--c-white); }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  background: var(--grad-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  overflow: hidden;
  padding: 0;
  width: 100%;
  max-width: 460px;
  animation: ds-float 7s ease-in-out infinite;
  box-shadow: var(--sh-card);
}

.hero-card-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: var(--r-img);
}

.hero-card-img-placeholder {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, rgba(111,63,212,0.4) 0%, rgba(15,14,29,0.8) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-footer {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero-card-footer-stat {}
.hero-card-stat-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--c-gold);
  display: block;
  line-height: 1;
}
.hero-card-stat-label {
  font-family: var(--font-light);
  font-size: 0.72rem;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Floating badge */
.hero-badge-float {
  position: absolute;
  bottom: 2rem;
  left: -1.5rem;
  background: rgba(13,12,25,0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 0.75rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.hero-badge-icon {
  width: 34px;
  height: 34px;
  background: var(--grad-gold);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-badge-icon svg { width: 16px; height: 16px; color: var(--c-bg); }

.hero-badge-text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--c-white);
}
.hero-badge-text span {
  font-family: var(--font-light);
  font-size: 0.7rem;
  color: var(--c-muted);
}

/* Scroll cue */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.hero-scroll-label {
  font-family: var(--font-light);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.scroll-mouse {
  width: 36px;
  height: 56px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 18px;
  position: relative;
}

.scroll-mouse::after {
  content: '';
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 10px;
  background: var(--c-gold);
  border-radius: 3px;
  animation: ds-scroll-dot 1.6s ease infinite;
}

/* ============================================================
   10. Overview / Stats
   ============================================================ */
/* ============================================================
   10. Pioneering / Overview Section
   ============================================================ */
.pioneering {
  position: relative;
  padding: 8rem 0;
  background-color: #fff0;
  --background-overlay: '';
  background-image: radial-gradient(at center center, #DDA067 33%, #000 90%);
  overflow: hidden;
}

.pioneering-inner {
  position: relative;
  z-index: 1;
}

.pioneering-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
  padding: 0 var(--gutter);
}

.pioneering-header h2 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: #F1F1F1;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  line-height: 1.25;
}

.pioneering-header p {
  font-family: var(--font-light);
  font-size: 1.05rem;
  color: var(--c-text);
  line-height: 1.82;
}

/* Portfolio image marquee */
.portfolio-marquee {
  overflow: hidden;
  width: 100%;
  margin-bottom: 4rem;
}

.portfolio-marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: portfolio-scroll 90s linear infinite;
}

.portfolio-marquee-item {
  flex: 0 0 auto;
  height: 300px;
  width: 500px;
  border-radius: var(--r-card);
  overflow: hidden;
  margin: 20px 0 30px 0;
  box-shadow: 0 4px 20px 0 rgb(0 0 0 / .44);
}

.portfolio-marquee-item img {
  height: 100%;
  width: 500px;
  object-fit: cover;
  display: block;
}

@keyframes portfolio-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.pioneering-footer {
  text-align: center;
  padding: 0 var(--gutter);
}

.pioneering-trust {
  margin-top: 1.25rem;
  font-family: var(--font-light);
  font-size: 0.9rem;
  color: var(--c-muted);
  letter-spacing: 0.03em;
}

/* ============================================================
   11. Client Logos Ticker
   ============================================================ */
/* ============================================================
   11. Client Pride Section
   ============================================================ */
.client-pride {
  padding: var(--section-v) 0;
  background: var(--c-bg-alt);
  overflow: hidden;
}

.client-pride-inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4rem;
  align-items: center;
}

.client-pride-text h2 {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: #F1F1F1;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.client-pride-text p {
  font-family: var(--font-light);
  font-size: 1rem;
  color: var(--c-text);
  line-height: 1.82;
  margin-bottom: 2rem;
}

.client-pride-trust {
  margin-top: 1.25rem;
  margin-bottom: 0;
  font-family: var(--font-light);
  font-size: 0.85rem;
  color: var(--c-muted);
  letter-spacing: 0.03em;
}

.client-pride-logos {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  overflow: hidden;
}

/* Override fade gradients to match section bg */
.client-pride-logos .ticker-wrap::before { background: linear-gradient(to right, var(--c-bg-alt), transparent); }
.client-pride-logos .ticker-wrap::after  { background: linear-gradient(to left,  var(--c-bg-alt), transparent); }

/* Larger, more visible logos in this section */
.client-logos-row .ticker-logo {
  height: 50px;
  opacity: 0.55;
  filter: brightness(0) invert(1);
}
.client-logos-row .ticker-logo:hover { opacity: 0.9; filter: none; }
.client-logos-row .ticker-logo img { height: 36px; }

/* Reverse direction for second row */
.ticker-row--reverse {
  animation: ds-ticker-reverse 32s linear infinite;
}

@keyframes ds-ticker-reverse {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.ticker-wrap {
  position: relative;
  overflow: hidden;
}

.ticker-wrap::before,
.ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.ticker-wrap::before { left: 0; background: linear-gradient(to right, var(--c-bg), transparent); }
.ticker-wrap::after  { right: 0; background: linear-gradient(to left, var(--c-bg), transparent); }

.ticker-row {
  display: flex;
  align-items: center;
  gap: 3rem;
  animation: ds-ticker 30s linear infinite;
  width: max-content;
}
.ticker-row:hover { animation-play-state: paused; }

.ticker-logo {
  flex-shrink: 0;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  filter: brightness(0) invert(1);
  opacity: 0.28;
  transition: opacity var(--t-mid), filter var(--t-mid);
}
.ticker-logo:hover { opacity: 0.65; filter: none; }
.ticker-logo img  { height: 28px; width: auto; object-fit: contain; }

.ticker-logo-text {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-white);
  white-space: nowrap;
}

/* ============================================================
   12. Services
   ============================================================ */
.services {
  padding: var(--section-v) 0;
  background: var(--c-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--grad-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--t-mid), transform var(--t-mid), box-shadow var(--t-mid);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--c-border-gold);
  box-shadow: var(--sh-card);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon-wrap {
  width: 52px;
  height: 52px;
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.75;
}

.service-icon-wrap svg { width: 36px; height: 36px; color: var(--c-gold); }

.service-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.3px;
  color: var(--c-white);
  margin-bottom: 0.85rem;
}

.service-desc {
  font-family: var(--font-light);
  font-size: 0.875rem;
  color: var(--c-muted);
  line-height: 1.78;
  margin-bottom: 1.4rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--c-gold);
  transition: gap var(--t-fast);
}
.service-link:hover { gap: 0.7rem; }
.service-link svg { width: 13px; height: 13px; }

/* ============================================================
   13. Works / Portfolio
   ============================================================ */
.works {
  padding: var(--section-v) 0;
  background: var(--c-bg-alt);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.work-card {
  background: var(--grad-card2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: border-color var(--t-mid), transform var(--t-mid);
  position: relative;
}

.work-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-border-gold);
}

.work-card--wide { grid-column: 1 / -1; }

.work-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: var(--r-img);
  transition: transform 0.5s ease;
}

.work-card:hover .work-image { transform: scale(1.03); }

.work-image-wrap {
  overflow: hidden;
  border-radius: var(--r-img);
  margin: 0.75rem;
}

.work-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.work-cat {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 0.4rem;
}

.work-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--c-white);
  margin-bottom: 0.5rem;
  transition: color var(--t-fast);
}

.work-card:hover .work-title { color: var(--c-gold); }

.work-desc {
  font-family: var(--font-light);
  font-size: 0.85rem;
  color: var(--c-muted);
  line-height: 1.72;
  margin-bottom: 1.1rem;
}

.work-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--c-gold);
  transition: gap var(--t-fast);
}
.work-link:hover { gap: 0.7rem; }
.work-link svg { width: 13px; height: 13px; }

/* ============================================================
   14. Why Choose Us
   ============================================================ */
.why-us {
  padding: var(--section-v) 0;
  background: var(--c-bg);
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../../uploads/2024/05/gradient-shapes-bg2.png');
  background-size: 55%;
  background-position: left center;
  background-repeat: no-repeat;
  opacity: 0.1;
}

.why-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-image-col { position: relative; }

.why-image {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--r-card);
  display: block;
}

.why-image-placeholder {
  width: 100%;
  height: 440px;
  background: linear-gradient(135deg, rgba(111,63,212,0.3), rgba(15,14,29,0.9));
  border-radius: var(--r-card);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-list { display: flex; flex-direction: column; gap: 1.75rem; }

.why-item { display: flex; gap: 1.1rem; align-items: flex-start; }

.why-icon {
  width: 44px;
  height: 44px;
  background: rgba(221,160,103,0.08);
  border: 1px solid rgba(221,160,103,0.18);
  border-radius: var(--r-chip);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--t-mid);
}
.why-item:hover .why-icon { background: rgba(221,160,103,0.16); }
.why-icon svg { width: 20px; height: 20px; color: var(--c-gold); }

.why-title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-white);
  margin-bottom: 0.25rem;
}
.why-text {
  font-family: var(--font-light);
  font-size: 0.855rem;
  color: var(--c-muted);
  line-height: 1.72;
}

/* ============================================================
   15. Website Repair
   ============================================================ */
.repair {
  padding: var(--section-v) 0;
  background: var(--c-bg-alt);
}

.repair-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.repair-desc {
  font-family: var(--font-light);
  font-size: 1rem;
  color: var(--c-text);
  line-height: 1.82;
  margin-bottom: 2rem;
}

.repair-tags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.problem-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.9rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--c-border);
  border-radius: var(--r-chip);
  font-family: var(--font-light);
  font-size: 0.82rem;
  color: var(--c-text);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.problem-chip:hover { border-color: rgba(111,63,212,0.35); background: rgba(111,63,212,0.05); }

.problem-dot {
  width: 6px;
  height: 6px;
  background: var(--c-purple-light);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Browser mockup */
.browser {
  background: var(--grad-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  overflow: hidden;
}

.browser-topbar {
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--c-border);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.bdot { width: 10px; height: 10px; border-radius: 50%; }
.bdot--r { background: #ff5f57; }
.bdot--y { background: #ffbd2e; }
.bdot--g { background: #28c941; }

.browser-url {
  flex: 1;
  margin-left: 0.6rem;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  padding: 0.25rem 0.65rem;
  font-family: var(--font-light);
  font-size: 0.72rem;
  color: var(--c-muted);
}

.browser-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bline {
  height: 8px;
  background: rgba(255,255,255,0.07);
  border-radius: 4px;
}
.bline:nth-child(1)  { width: 78%; }
.bline:nth-child(2)  { width: 52%; background: rgba(111,63,212,0.35); }
.bline:nth-child(3)  { width: 90%; }
.bline:nth-child(4)  { width: 36%; background: rgba(221,160,103,0.35); }
.bline:nth-child(5)  { width: 65%; }
.bline:nth-child(6)  { width: 84%; background: rgba(40,201,65,0.28); }
.bline:nth-child(7)  { width: 47%; }
.bline:nth-child(8)  { width: 72%; background: rgba(111,63,212,0.25); }
.bline:nth-child(9)  { width: 40%; background: rgba(221,160,103,0.22); }
.bline:nth-child(10) { width: 68%; }

/* ============================================================
   16. Integrations
   ============================================================ */
.integrations {
  padding: var(--section-v) 0;
  background: var(--c-bg);
  overflow: hidden;
}

.integration-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  animation: ds-ticker 38s linear infinite;
  width: max-content;
}
.integration-row:hover { animation-play-state: paused; }

.integration-chip {
  flex-shrink: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--c-border);
  border-radius: var(--r-chip);
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  height: 54px;
  transition: border-color var(--t-mid), transform var(--t-mid);
  cursor: default;
}

.integration-chip:hover {
  border-color: var(--c-border-gold);
  transform: translateY(-2px);
}

.integration-chip img {
  height: 20px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.45;
  transition: opacity var(--t-mid), filter var(--t-mid);
}
.integration-chip:hover img { opacity: 0.85; filter: none; }

.integration-name {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255,255,255,0.38);
  white-space: nowrap;
  letter-spacing: 0.04em;
  transition: color var(--t-mid);
}
.integration-chip:hover .integration-name { color: var(--c-text); }

/* ============================================================
   17. Pricing
   ============================================================ */
.pricing {
  padding: var(--section-v) 0;
  background: var(--c-bg-alt);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pricing-card {
  background: var(--grad-card2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: border-color var(--t-mid), transform var(--t-mid), box-shadow var(--t-mid);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--c-border-gold);
  box-shadow: var(--sh-card), var(--sh-gold);
}

.pricing-icon {
  width: 64px;
  height: 64px;
  background: rgba(221,160,103,0.08);
  border: 1px solid rgba(221,160,103,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
  transition: background var(--t-mid);
}
.pricing-card:hover .pricing-icon { background: rgba(221,160,103,0.16); }
.pricing-icon svg { width: 28px; height: 28px; color: var(--c-gold); }

.pricing-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.3px;
  margin-bottom: 0.9rem;
}

.pricing-text {
  font-family: var(--font-light);
  font-size: 0.875rem;
  color: var(--c-muted);
  line-height: 1.78;
}

/* ============================================================
   18. Testimonials
   ============================================================ */
.testimonials {
  padding: var(--section-v) 0;
  background: var(--c-bg);
}

.testimonials-outer { position: relative; }
.testimonials-viewport { overflow: hidden; }

.testimonials-strip {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.77,0,0.175,1);
}

.tslide {
  min-width: 100%;
}

.tslide-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.tcard {
  background: var(--grad-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 2rem;
  transition: border-color var(--t-mid);
}
.tcard:hover { border-color: var(--c-border-gold); }

.tcard-quote {
  width: 28px;
  margin-bottom: 1rem;
  opacity: 0.4;
}
.tcard-quote img { width: 100%; filter: brightness(0) invert(1); }

.tcard-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 0.9rem;
}
.tcard-stars svg { width: 14px; height: 14px; fill: var(--c-gold); color: var(--c-gold); }

.tcard-body {
  font-family: var(--font-light);
  font-size: 0.9rem;
  color: var(--c-text);
  line-height: 1.82;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.tcard-author { display: flex; align-items: center; gap: 0.75rem; }

.tcard-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-white);
  flex-shrink: 0;
}

.tcard-name {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-white);
  display: block;
}
.tcard-org {
  font-family: var(--font-light);
  font-size: 0.76rem;
  color: var(--c-gold);
}

/* Slider controls */
.slider-ctrl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

.slider-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text);
  transition: all var(--t-fast);
}
.slider-arrow:hover {
  background: var(--c-purple);
  border-color: var(--c-purple);
  color: var(--c-white);
}
.slider-arrow svg { width: 16px; height: 16px; }

.slider-dots-row { display: flex; gap: 0.45rem; align-items: center; }

.sdot {
  width: 7px;
  height: 7px;
  border-radius: 30px;
  background: var(--c-border);
  cursor: pointer;
  transition: all var(--t-mid);
}
.sdot.is-active { width: 22px; background: var(--c-gold); }

/* ============================================================
   19. News
   ============================================================ */
.news {
  padding: var(--section-v) 0;
  background: var(--c-bg-alt);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.news-card {
  background: var(--grad-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: border-color var(--t-mid), transform var(--t-mid);
}
.news-card:hover { transform: translateY(-5px); border-color: var(--c-border-gold); }

.news-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.news-thumb-ph {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, rgba(28,20,50,1) 0%, rgba(111,63,212,0.25) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-thumb-ph svg { width: 34px; height: 34px; color: var(--c-purple-light); opacity: 0.35; }

.news-body { padding: 1.4rem; }

.news-meta { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.7rem; }
.news-date { font-family: var(--font-light); font-size: 0.74rem; color: var(--c-muted); }
.news-cat  { font-family: var(--font-body); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--c-gold); }

.news-title {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 400;
  letter-spacing: 0.3px;
  color: var(--c-white);
  line-height: 1.45;
  margin-bottom: 0.65rem;
  transition: color var(--t-fast);
}
.news-card:hover .news-title { color: var(--c-gold); }

.news-excerpt {
  font-family: var(--font-light);
  font-size: 0.84rem;
  color: var(--c-muted);
  line-height: 1.72;
  margin-bottom: 1.1rem;
}

.news-more {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--c-gold);
  transition: gap var(--t-fast);
}
.news-more:hover { gap: 0.65rem; }
.news-more svg { width: 12px; height: 12px; }

/* ============================================================
   20. Contact CTA
   ============================================================ */
/* ============================================================
   20. Contact Section
   ============================================================ */
.contact-section {
  padding: var(--section-v) 0;
  background: var(--c-bg);
  position: relative;
  overflow: hidden;
}

.contact-section-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 25% 50%, rgba(111,63,212,0.18) 0%, transparent 60%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* Left column */
.contact-info h2 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: #F1F1F1;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.contact-info > p {
  font-family: var(--font-light);
  font-size: 1rem;
  color: var(--c-text);
  line-height: 1.82;
  margin-bottom: 2.5rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background: rgba(111,63,212,0.12);
  border: 1px solid rgba(111,63,212,0.28);
  border-radius: var(--r-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-gold);
}

.contact-item-icon svg { width: 20px; height: 20px; }

.contact-item-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-muted);
  margin-bottom: 0.25rem;
}

.contact-item-value {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--c-white);
  text-decoration: none;
  transition: color var(--t-fast);
}
.contact-item-value:hover { color: var(--c-gold); }

/* Right column — form */
.contact-form-wrap {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group { margin-bottom: 1rem; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--c-border);
  border-radius: var(--r-chip);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--c-white);
  transition: border-color var(--t-fast);
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--c-muted); }

.form-group select { color: var(--c-muted); cursor: pointer; }
.form-group select option { background: #1a1836; color: var(--c-white); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-gold);
  background: rgba(255,255,255,0.07);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* ============================================================
   21. Footer
   ============================================================ */
.site-footer {
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
  padding: 4.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 2rem;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}
.footer-brand-logo img { height: 32px; width: auto; }

.footer-tagline {
  font-family: var(--font-light);
  font-size: 0.875rem;
  color: var(--c-muted);
  line-height: 1.75;
  max-width: 260px;
  margin-bottom: 1.6rem;
}

.footer-ecologi { margin-bottom: 1.25rem; }
.footer-ecologi img { height: 36px; width: auto; }
.footer-socials { display: flex; gap: 0.6rem; }

.footer-social {
  width: 36px;
  height: 36px;
  border-radius: var(--r-chip);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-muted);
  transition: all var(--t-fast);
}
.footer-social:hover {
  background: var(--c-purple);
  border-color: var(--c-purple);
  color: var(--c-white);
  transform: translateY(-2px);
}
.footer-social svg { width: 15px; height: 15px; }

.footer-col-heading {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-white);
  margin-bottom: 1.1rem;
}

.footer-links { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a {
  font-family: var(--font-light);
  font-size: 0.84rem;
  color: var(--c-muted);
  transition: color var(--t-fast);
}
.footer-links a:hover { color: var(--c-gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-family: var(--font-light);
  font-size: 0.76rem;
  color: var(--c-muted);
  line-height: 1.6;
}

.footer-legal { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.footer-legal a {
  font-family: var(--font-light);
  font-size: 0.76rem;
  color: var(--c-muted);
  transition: color var(--t-fast);
}
.footer-legal a:hover { color: var(--c-gold); }

/* ============================================================
   22. Back to Top
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: var(--c-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 900;
  box-shadow: 0 4px 18px rgba(0,0,0,0.3);
}
.back-to-top:hover { transform: translateY(-3px); }
.back-to-top.is-visible { opacity: 1; visibility: visible; }
.back-to-top svg { width: 16px; height: 16px; }

/* ============================================================
   Keyframes
   ============================================================ */
@keyframes ds-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

@keyframes ds-scroll-dot {
  0%   { transform: translateX(-50%) translateY(0); opacity: 1; }
  100% { transform: translateX(-50%) translateY(10px); opacity: 0; }
}

@keyframes ds-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   23. Responsive
   ============================================================ */
@media (max-width: 1200px) {
  :root { --max-w: 100%; --gutter: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; display: flex; gap: 3rem; align-items: flex-start; }
}

@media (max-width: 1024px) {
  :root { --section-v: 5rem; }

  .hero-inner    { grid-template-columns: 1fr; text-align: center; }
  .hero-description { margin-left: auto; margin-right: auto; }
  .hero-ctas     { justify-content: center; }
  .hero-trust    { justify-content: center; }
  .hero-services { align-items: center; }
  .hero-visual   { display: none; }

  .pioneering-header h2 { font-size: 2.2rem; }
  .client-pride-inner { grid-template-columns: 1fr; gap: 3rem; }
  .client-pride-text h2 { font-size: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-info h2 { font-size: 2rem; }
  .why-inner      { grid-template-columns: 1fr; gap: 3rem; }
  .why-image-col  { display: none; }
  .repair-inner   { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .tslide-pair    { grid-template-columns: 1fr; }
  .tslide-pair .tcard:last-child { display: none; }
}

@media (max-width: 768px) {
  :root { --gutter: 1.25rem; --section-v: 4rem; }

  .main-nav  { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 7rem 0 4rem; }

  .pioneering-header h2 { font-size: 1.9rem; }

  .services-grid  { grid-template-columns: 1fr; }
  .works-grid     { grid-template-columns: 1fr; }
  .pricing-grid   { grid-template-columns: 1fr; }
  .news-grid      { grid-template-columns: 1fr; }
  .repair-tags    { grid-template-columns: 1fr; }

  .footer-grid    { grid-template-columns: 1fr 1fr; }
  .footer-brand   { grid-column: 1 / -1; flex-direction: column; }
  .footer-bottom  { flex-direction: column; text-align: center; }
  .footer-legal   { justify-content: center; }

  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
}

@media (max-width: 480px) {
  :root { --gutter: 1rem; }

  .pioneering-header h2 { font-size: 1.65rem; }
  .portfolio-marquee-item { height: 200px; }
  .contact-info h2 { font-size: 1.65rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-trust  { flex-direction: column; text-align: center; align-items: center; }
  .footer-legal { flex-direction: column; align-items: center; gap: 0.65rem; }
}
