/* ================================================================
   DECOZA INTERIOR DESIGN — MASTER STYLESHEET
   ✏️  TO CHANGE COLORS: Edit the CSS variables in :root below.
   ================================================================ */

/* ── Google Fonts ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

/* ── CSS Variables (EDIT HERE TO CHANGE COLORS) ──────────────── */
:root {
  /* Primary accent — change this one value to re-theme the site */
  --accent: #C9A96E;
  /* Gold / Champagne */
  --accent-light: #E8C98A;
  --accent-dark: #A07840;
  --accent-glow: rgba(201, 169, 110, 0.15);
  --accent-border: rgba(201, 169, 110, 0.25);

  /* Backgrounds */
  --bg-deep: #080808;
  --bg-primary: #0D0D0D;
  --bg-secondary: #111111;
  --bg-card: #161616;
  --bg-card-hover: #1C1C1C;
  --bg-overlay: rgba(8, 8, 8, 0.75);

  /* Text */
  --text-primary: #F0EDE8;
  --text-secondary: #9A9490;
  --text-muted: #5A5652;
  --text-accent: var(--accent);

  /* Borders */
  --border: rgba(255, 255, 255, 0.06);
  --border-accent: var(--accent-border);

  /* Typography */
  --font-ar: 'Cairo', sans-serif;
  --font-en-heading: 'Playfair Display', Georgia, serif;
  --font-en-body: 'DM Sans', system-ui, sans-serif;

  /* Layout */
  --max-width: 1280px;
  --section-pad: 120px;
  --section-pad-sm: 70px;

  /* Animation */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.2s;
  --dur-med: 0.45s;
  --dur-slow: 0.8s;

  /* Shadows */
  --shadow-card: 0 4px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 60px rgba(201, 169, 110, 0.12);
}

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

html,
body {
  background: #0D0D0D;
  color: #F0EDE8;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-ar);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  line-height: 1.7;
}

body.lang-en {
  font-family: var(--font-en-body);
  direction: ltr;
  text-align: left;
}

body.lang-en h1,
body.lang-en h2,
body.lang-en h3,
body.lang-en .hero-headline,
body.lang-en .section-headline {
  font-family: var(--font-en-heading);
  font-weight: 300;
  letter-spacing: 0.01em;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

::selection {
  background: var(--accent);
  color: var(--bg-deep);
}

/* ── Scrollbar ────────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-dark);
  border-radius: 6px;
}

/* ── Utility ──────────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

.section-headline {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 22px;
}

body.lang-en .section-headline {
  font-size: clamp(2.3rem, 4.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.2;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.8;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── Card Entrance & Micro-animations ───────────────────────── */
.card-animate,
.service-card,
.why-card,
.phil-card,
.counter-item,
.contact-item {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
  will-change: transform, opacity;
}

.card-animate.card-visible,
.card-animate.visible,
.service-card.card-visible,
.service-card.visible,
.why-card.card-visible,
.why-card.visible,
.phil-card.card-visible,
.phil-card.visible,
.counter-item.card-visible,
.counter-item.visible,
.contact-item.card-visible,
.contact-item.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Card hover micro-animations (luxury lift & glow) */
.service-card.card-visible:hover,
.service-card.visible:hover {
  transform: translateY(-6px);
  border-color: var(--accent-border);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 25px var(--accent-glow);
}

.why-card.card-visible:hover,
.why-card.visible:hover {
  transform: translateY(-6px);
  border-color: var(--accent-border);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 25px var(--accent-glow);
  background: var(--bg-card-hover);
}

.phil-card.card-visible:hover,
.phil-card.visible:hover {
  transform: translateY(-5px);
  border-color: var(--accent-border);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35), 0 0 20px var(--accent-glow);
}

.counter-item.card-visible:hover,
.counter-item.visible:hover {
  transform: translateY(-4px);
  border-color: var(--accent-border);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3), 0 0 16px var(--accent-glow);
}

.contact-item.card-visible:hover,
.contact-item.visible:hover {
  border-color: var(--accent-border);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), 0 0 20px var(--accent-glow);
}

/* Gold divider */
.gold-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(270deg, var(--accent), transparent);
  /* RTL: gold on right */
  margin: 24px 0;
}

body.lang-en .gold-divider {
  background: linear-gradient(90deg, var(--accent), transparent);
  /* LTR: gold on left */
}

/* Section labels in EN */
body.lang-en .section-label {
  justify-content: flex-start;
}

body.lang-en .services-header .section-label,
body.lang-en .why-header .section-label {
  justify-content: center;
}

body.lang-en .section-label::before {
  display: none;
}

body.lang-en .services-header .section-label::before,
body.lang-en .why-header .section-label::before {
  display: block;
}

/* Reveal animations for EN */
body.lang-en .reveal-left {
  transform: translateX(-40px);
}

body.lang-en .reveal-right {
  transform: translateX(40px);
}

body.lang-en .reveal-left.visible,
body.lang-en .reveal-right.visible {
  transform: translateX(0);
}

/* ── Loader ───────────────────────────────────────────────────── */
body.page-loading {
  overflow: hidden !important;
  height: 100vh !important;
  height: 100dvh !important;
  touch-action: none !important;
}

#page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
  animation: loaderAutoDismiss 0.3s 2s forwards;
}

#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes loaderAutoDismiss {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.loader-logo {
  width: 140px;
  margin-bottom: 40px;
  animation: loaderPulse 1.5s ease-in-out infinite;
}

.loader-bar {
  width: 200px;
  height: 1px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.loader-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-100%);
  animation: loaderSlide 1.8s var(--ease) forwards;
}

body.lang-en .loader-bar::after {
  transform: translateX(100%);
  animation: loaderSlideEn 1.8s var(--ease) forwards;
}

@keyframes loaderPulse {

  0%,
  100% {
    opacity: 0.6
  }

  50% {
    opacity: 1
  }
}

@keyframes loaderSlide {
  to {
    transform: translateX(0)
  }
}

@keyframes loaderSlideEn {
  to {
    transform: translateX(0)
  }
}

/* ── Scroll Progress Bar ──────────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  height: 2px;
  background: var(--accent);
  z-index: 1002;
  width: 0%;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* ── Header ───────────────────────────────────────────────────── */
#main-header {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: padding var(--dur-med) var(--ease),
    background var(--dur-med) var(--ease),
    box-shadow var(--dur-med) var(--ease);
}

#main-header.scrolled {
  padding: 14px 0;
  background: rgba(8, 8, 8, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border-accent);
}

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

.header-logo img {
  width: 140px;
  max-height: 48px;
  height: auto;
  object-fit: contain;
  transition: width var(--dur-med) var(--ease), max-height var(--dur-med) var(--ease);
}

#main-header.scrolled .header-logo img {
  width: 120px;
  max-height: 40px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  transition: color var(--dur-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  inset-inline-start: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--dur-med) var(--ease);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-lang {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  border: 1px solid var(--accent-border);
  padding: 6px 16px;
  border-radius: 50px;
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}

.btn-lang:hover {
  background: var(--accent);
  color: var(--bg-deep);
  border-color: var(--accent);
}

.btn-cta-header {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--bg-deep);
  background: var(--accent);
  padding: 9px 22px;
  border-radius: 50px;
  transition: background var(--dur-fast), transform var(--dur-fast);
}

.btn-cta-header:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--dur-fast);
}

.hamburger:hover {
  background: rgba(201, 169, 110, 0.12);
  border-color: var(--accent);
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--dur-med) var(--ease);
}

.hamburger.open {
  background: var(--accent);
  border-color: var(--accent);
}

.hamburger.open span {
  background: var(--bg-deep);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .header-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Compact Floating Luxury Dropdown Menu (does NOT cover the whole page) */
  .header-nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 8px);
    left: 14px;
    right: 14px;
    width: auto;
    max-height: calc(85vh - 80px);
    overflow-y: auto;
    background: rgba(13, 13, 13, 0.96);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid var(--border-accent);
    border-radius: 18px;
    padding: 14px 12px 18px;
    gap: 4px;
    z-index: 1000;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(201, 169, 110, 0.12);
    animation: mobileMenuDrop 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .header-nav.mobile-open .nav-link {
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 11px 16px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all var(--dur-fast);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .header-nav.mobile-open .nav-link:last-child {
    border-bottom: none;
  }

  .header-nav.mobile-open .nav-link::after {
    content: '←';
    font-size: 0.9rem;
    color: var(--accent);
    opacity: 0.45;
    background: none;
    width: auto;
    height: auto;
    position: static;
    transition: transform var(--dur-fast), opacity var(--dur-fast);
  }

  body.lang-en .header-nav.mobile-open .nav-link::after {
    content: '→';
  }

  .header-nav.mobile-open .nav-link:hover,
  .header-nav.mobile-open .nav-link:active {
    background: rgba(201, 169, 110, 0.1);
    color: var(--accent-light);
    padding-inline-start: 20px;
  }

  .header-nav.mobile-open .nav-link:hover::after,
  .header-nav.mobile-open .nav-link:active::after {
    opacity: 1;
    transform: translateX(-4px);
  }

  body.lang-en .header-nav.mobile-open .nav-link:hover::after,
  body.lang-en .header-nav.mobile-open .nav-link:active::after {
    transform: translateX(4px);
  }
}

@keyframes mobileMenuDrop {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ── Hero ─────────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: clamp(85px, 11vh, 115px);
  padding-bottom: 45px;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-background.jpg');
  background-size: cover;
  background-position: center;
  will-change: transform;
  transform: scale(1.1);
  transition: transform 0.1s linear;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 8, 8, 0.1) 0%,
      rgba(8, 8, 8, 0.2) 50%, rgba(8, 8, 8, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

body.lang-en #hero {
  direction: ltr;
}

body.lang-en .hero-content {
  text-align: left;
  max-width: 840px;
}

.hero-title-group {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  display: block;
}

.hero-brand {
  display: block;
  font-size: clamp(1.15rem, 1.8vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  opacity: 0;
  animation: heroFadeUp 1s var(--ease-out) 0.3s forwards;
}

.hero-headline {
  display: block;
  font-size: clamp(2.6rem, 5.2vw, 4.2rem);
  font-weight: 800;
  line-height: 1.22;
  color: var(--text-primary);
  white-space: pre-line;
  margin-bottom: 20px;
  opacity: 0;
  animation: heroFadeUp 1s var(--ease-out) 0.5s forwards;
}

body.lang-en .hero-headline {
  font-family: var(--font-en-heading);
  font-weight: 400;
  font-size: clamp(2.3rem, 4.3vw, 3.7rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.hero-typed-wrapper {
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  color: var(--text-secondary);
  height: 34px;
  margin-bottom: 34px;
  opacity: 0;
  animation: heroFadeUp 1s var(--ease-out) 0.7s forwards;
}

#typed-text {
  color: var(--accent);
  font-weight: 600;
}

#typed-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--accent);
  margin-inline-start: 2px;
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0
  }
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp 1s var(--ease-out) 0.9s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--bg-deep);
  background: var(--accent);
  padding: 15px 36px;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-fast), box-shadow var(--dur-fast);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-light);
  transform: translateX(-100%);
  transition: transform var(--dur-med) var(--ease);
}

body.lang-en .btn-primary::before {
  transform: translateX(100%);
}

.btn-primary:hover::before {
  transform: translateX(0);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201, 169, 110, 0.35);
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-secondary {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  transition: all var(--dur-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 1px solid var(--border);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.03);
}

.btn-secondary:hover {
  color: var(--accent);
  border-color: var(--accent-border);
  background: var(--accent-glow);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  opacity: 0;
  animation: heroFadeUp 1s var(--ease-out) 1.2s forwards;
}

.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: scrollPulse 2s ease-in-out infinite;
}

.hero-scroll-text {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.4
  }

  50% {
    opacity: 1
  }
}

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

  from {
    opacity: 0;
    transform: translateY(20px)
  }
}

@media (max-height: 760px) and (min-width: 769px) {
  #hero {
    padding-top: 85px;
    padding-bottom: 30px;
  }
  .hero-brand {
    margin-bottom: 12px;
    font-size: 1.15rem;
  }
  .hero-headline {
    font-size: clamp(2.1rem, 3.8vw, 3.2rem);
    margin-bottom: 14px;
  }
  body.lang-en .hero-headline {
    font-size: clamp(1.9rem, 3.4vw, 2.9rem);
    margin-bottom: 14px;
  }
  .hero-typed-wrapper {
    margin-bottom: 22px;
    font-size: 1.05rem;
  }
  .hero-scroll {
    bottom: 18px;
  }
}

/* ── About ────────────────────────────────────────────────────── */
#about {
  padding: var(--section-pad) 0;
  background: var(--bg-primary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

body[dir="rtl"] .about-grid {}

body.lang-en .about-grid {}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 20px;
}

.about-image-badge {
  position: absolute;
  bottom: -24px;
  inset-inline-end: -24px;
  background: var(--accent);
  color: var(--bg-deep);
  padding: 28px 32px;
  text-align: center;
  border-radius: 20px;
}

.about-image-badge .badge-num {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  display: block;
}

.about-image-badge .badge-text {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-content {}

#about-body {
  white-space: pre-line;
  max-width: 680px;
  line-height: 1.85;
}

.about-tagline {
  font-size: 0.95rem;
  color: var(--accent);
  font-style: italic;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-accent);
}

.about-counters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.counter-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 14px;
  transition: border-color var(--dur-med), transform var(--dur-med);
}

.counter-item:hover {
  border-color: var(--accent-border);
  transform: translateY(-4px);
}

.counter-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

body.lang-en .counter-num {
  font-family: var(--font-en-heading);
  font-size: 2.8rem;
  font-weight: 400;
}

.counter-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-wrap img {
    height: 360px;
  }

  .about-image-badge {
    inset-inline-end: 20px;
  }
}

/* ── Philosophy ───────────────────────────────────────────────── */
#philosophy {
  padding: var(--section-pad) 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

#philosophy::before {
  content: '';
  position: absolute;
  top: -100px;
  inset-inline-end: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.philosophy-text .section-headline {
  margin-bottom: 24px;
}

.philosophy-body {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.9;
}

.philosophy-quote {
  margin-top: 40px;
  padding: 28px 32px;
  border-inline-start: 3px solid var(--accent);
  background: var(--accent-glow);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.7;
  border-radius: 16px;
}

body.lang-en .philosophy-quote {
  font-family: var(--font-en-heading);
  font-size: 1.3rem;
  border-radius: 16px;
}

.philosophy-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.phil-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px 24px;
  border-radius: 16px;
  text-align: center;
  transition: border-color var(--dur-med), box-shadow var(--dur-med);
}

.phil-card:first-child {
  grid-column: 1 / -1;
  background: var(--bg-card-hover);
}

.phil-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-glow);
}

.phil-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.phil-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.phil-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .philosophy-visual {
    grid-template-columns: 1fr;
  }

  .phil-card:first-child {
    grid-column: auto;
  }
}

/* ── Services ─────────────────────────────────────────────────── */
#services {
  padding: var(--section-pad) 0;
  background: var(--bg-primary);
}

.services-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 70px;
}

.services-header .section-label {
  justify-content: center;
}

.services-header .section-label::before,
.services-header .section-label::after {
  display: block;
}

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

.service-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: border-color var(--dur-med), box-shadow var(--dur-med), transform var(--dur-med);
}

.service-card:hover {
  border-color: rgba(201, 169, 110, 0.55);
}

.service-card-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s var(--ease), opacity 0.5s var(--ease);
  opacity: 0.75;
  transform: scale(1.02);
}

.service-card:hover .service-card-image {
  opacity: 0.9;
  transform: scale(1.06);
}

.service-card-content {
  position: absolute;
  inset: 0;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top,
      rgba(10, 10, 10, 0.88) 0%,
      rgba(10, 10, 10, 0.52) 40%,
      rgba(10, 10, 10, 0.12) 72%,
      transparent 100%);
  transition: background var(--dur-med);
}

.service-card:hover .service-card-content {
  background: linear-gradient(to top,
      rgba(10, 10, 10, 0.82) 0%,
      rgba(10, 10, 10, 0.4) 42%,
      rgba(10, 10, 10, 0.05) 75%,
      transparent 100%);
}

.service-num {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-light);
  background: rgba(13, 13, 13, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 169, 110, 0.35);
  padding: 4px 11px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(201, 169, 110, 0.18);
  border: 1px solid rgba(201, 169, 110, 0.4);
  color: var(--accent-light);
  font-size: 1.15rem;
  margin-bottom: 10px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--dur-med) var(--ease);
}

.service-card:hover .service-icon {
  background: var(--accent);
  color: var(--bg-deep);
  border-color: var(--accent);
  transform: translateY(-2px) scale(1.05);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
  margin-bottom: 6px;
}

body.lang-en .service-title {
  font-family: var(--font-en-heading);
  font-weight: 400;
  font-size: 1.45rem;
}

.service-desc {
  font-size: 0.84rem;
  color: #E8E5E0;
  line-height: 1.6;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
  max-height: 80px;
  opacity: 0.92;
  overflow: hidden;
  transition: all 0.35s var(--ease);
}

.service-card:hover .service-desc {
  color: #FFFFFF;
  opacity: 1;
}

/* ── Expand Button ─────────────────────────── */
.srv-expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 5px 12px 5px 10px;
  border: 1px solid rgba(201, 169, 110, 0.45);
  border-radius: 20px;
  background: rgba(13, 13, 13, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--accent-light);
  font-size: 0.75rem;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
  align-self: flex-start;
  text-shadow: none;
}

.srv-expand-btn:hover {
  background: rgba(201, 169, 110, 0.2);
  border-color: var(--accent);
}

.srv-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}

.service-card.subs-open .srv-chevron {
  transform: rotate(180deg);
}

/* ── Sub-services Overlay Panel ──────────── */
.service-subs {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  z-index: 10;
  display: flex;
  flex-direction: column;
}

.service-card.subs-open .service-subs {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.service-subs-inner {
  height: 100%;
  width: 100%;
  padding: 16px 18px 18px;
  background: rgba(12, 12, 12, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 169, 110, 0.4);
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(201, 169, 110, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.srv-subs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(201, 169, 110, 0.2);
  flex-shrink: 0;
}

.srv-subs-header-info {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.srv-subs-header-icon {
  color: var(--accent-light);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.srv-subs-header-title {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.lang-en .srv-subs-header-title {
  font-family: var(--font-en-heading);
  font-size: 1.05rem;
  font-weight: 400;
}

.srv-subs-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(201, 169, 110, 0.35);
  color: var(--accent-light);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  flex-shrink: 0;
  padding: 0;
}

.srv-subs-close:hover {
  background: var(--accent);
  color: #0B0B0B;
  border-color: var(--accent);
  transform: scale(1.08);
}

.srv-subs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  overflow-y: auto;
  padding-right: 4px;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 169, 110, 0.4) transparent;
}

.srv-subs-chips::-webkit-scrollbar {
  width: 4px;
}

.srv-subs-chips::-webkit-scrollbar-thumb {
  background: rgba(201, 169, 110, 0.4);
  border-radius: 4px;
}

.srv-chip {
  display: inline-block;
  padding: 4px 11px;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 20px;
  font-size: 0.72rem;
  color: #DDD8CE;
  background: rgba(201, 169, 110, 0.07);
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
  line-height: 1.6;
}

.srv-chip:hover {
  background: rgba(201, 169, 110, 0.2);
  border-color: rgba(201, 169, 110, 0.7);
  color: var(--accent-light);
  transform: translateY(-1px);
}

/* 7th Card Alignment */
@media (min-width: 901px) {
  .service-card:nth-child(7) {
    grid-column: 2;
  }
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) and (min-width: 551px) {
  .service-card:nth-child(7) {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 550px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    aspect-ratio: 16/11;
  }
}

/* ── Process ──────────────────────────────────────────────────── */
#process {
  padding: var(--section-pad) 0;
  background: var(--bg-secondary);
}

.process-header {
  max-width: 700px;
  margin-bottom: 80px;
}

.process-timeline {
  position: relative;
  padding-inline-start: 60px;
}

/* Background timeline guide track */
.process-timeline::before {
  content: '';
  position: absolute;
  inset-inline-start: 22px;
  top: 42px;
  bottom: 42px;
  width: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}

/* Golden dynamic progress line filled on scroll & click */
.timeline-progress-bar {
  position: absolute;
  inset-inline-start: 22px;
  top: 42px;
  width: 2px;
  height: 0px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-light));
  box-shadow: 0 0 14px rgba(201, 169, 110, 0.7);
  border-radius: 2px;
  transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1;
}

.process-step {
  position: relative;
  margin-bottom: 50px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: flex-start;
  cursor: pointer;
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-node {
  position: absolute;
  inset-inline-start: -60px;
  top: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--accent-border);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  z-index: 2;
  user-select: none;
}

/* ACTIVE Step (activated on scroll or click) */
.process-step.active .step-node {
  background: var(--accent);
  color: var(--bg-deep);
  border-color: var(--accent);
  box-shadow: 0 0 0 5px rgba(201, 169, 110, 0.28), 0 0 26px rgba(201, 169, 110, 0.85);
  transform: scale(1.15);
  font-weight: 800;
}

.process-step.active .step-body {
  border-color: var(--accent-border);
  background: var(--bg-card-hover);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(201, 169, 110, 0.08);
  transform: translateX(-6px);
}

body.lang-en .process-step.active .step-body {
  transform: translateX(6px);
}

/* PASSED Steps (completed steps above the active step) */
.process-step.passed .step-node {
  background: rgba(201, 169, 110, 0.2);
  color: var(--accent-light);
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(201, 169, 110, 0.35);
  transform: scale(1.02);
}

.process-step.passed .step-body {
  border-color: rgba(201, 169, 110, 0.2);
}

/* Hover on non-active step */
.process-step:not(.active):hover .step-node {
  background: rgba(201, 169, 110, 0.22);
  color: var(--accent-light);
  border-color: var(--accent);
  transform: scale(1.08);
}

.process-step:not(.active):hover .step-body {
  border-color: var(--accent-border);
  transform: translateX(-4px);
}

body.lang-en .process-step:not(.active):hover .step-body {
  transform: translateX(4px);
}

.step-body {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 28px 32px;
  border-radius: 16px;
  transition: border-color var(--dur-med), transform var(--dur-med), background var(--dur-med), box-shadow var(--dur-med);
}

.step-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

body.lang-en .step-title {
  font-family: var(--font-en-heading);
  font-weight: 400;
  font-size: 1.35rem;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.process-tagline {
  text-align: center;
  margin-top: 70px;
  font-size: 0.95rem;
  color: var(--accent);
  font-style: italic;
}

@media (max-width: 768px) {
  .process-timeline {
    padding-inline-start: 48px;
  }

  .process-timeline::before,
  .timeline-progress-bar {
    inset-inline-start: 17px;
    top: 34px;
    bottom: 34px;
  }

  .step-node {
    inset-inline-start: -48px;
    width: 36px;
    height: 36px;
    top: 16px;
    font-size: 0.7rem;
  }
}

/* ── Why DECOZA ───────────────────────────────────────────────── */
#why-us {
  padding: var(--section-pad) 0;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

#why-us::before {
  content: '';
  position: absolute;
  bottom: -200px;
  inset-inline-start: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.why-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 70px;
}

.why-header .section-label {
  justify-content: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 70px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  transition: background var(--dur-med), border-color var(--dur-med);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 3px;
  height: 0;
  background: var(--accent);
  transition: height 0.4s var(--ease);
}

.why-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-border);
}

.why-card:hover::before {
  height: 100%;
}

.why-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
  transition: transform var(--dur-med);
}

.why-card:hover .why-icon {
  transform: scale(1.15);
}

.why-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

body.lang-en .why-title {
  font-family: var(--font-en-heading);
  font-weight: 400;
  font-size: 1.3rem;
}

.why-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

@media (min-width: 901px) {
  .why-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .why-grid .why-card:nth-child(1),
  .why-grid .why-card:nth-child(2),
  .why-grid .why-card:nth-child(3) {
    grid-column: span 2;
  }

  .why-grid .why-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .why-grid .why-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

.why-closing {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 50px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 24px;
  white-space: pre-line;
}

.why-closing p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.9;
}

body.lang-en .why-closing p {
  font-family: var(--font-en-heading);
  font-size: 1.3rem;
  font-style: italic;
}

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid .why-card:nth-child(4),
  .why-grid .why-card:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 550px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-closing {
    padding: 32px 24px;
  }
}

/* ── Contact ──────────────────────────────────────────────────── */
#contact {
  padding: var(--section-pad) 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

#contact::after {
  content: '';
  position: absolute;
  top: -100px;
  inset-inline-end: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-text .section-headline {
  margin-bottom: 20px;
}

.contact-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 40px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color var(--dur-med), transform var(--dur-med);
  text-decoration: none;
  color: inherit;
}

.contact-item:hover {
  border-color: var(--accent-border);
  transform: translateX(-4px);
}

body.lang-en .contact-item:hover {
  transform: translateX(4px);
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  transition: all var(--dur-med) var(--ease);
}

.contact-item-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  transition: transform var(--dur-med) var(--ease);
}

.contact-item:hover .contact-item-icon {
  background: var(--accent);
  color: var(--bg-deep);
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(201, 169, 110, 0.35);
}

.contact-item:hover .contact-item-icon svg {
  transform: scale(1.1);
}

.contact-item-info {}

.contact-item-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 3px;
}

.contact-item-value {
  font-size: 0.92rem;
  color: var(--text-primary);
  direction: ltr;
  text-align: left;
}

body.lang-en .contact-item-value {
  text-align: left;
}

.contact-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 45px;
}

.contact-header .section-headline {
  margin-bottom: 20px;
}

.contact-header .contact-sub {
  margin-bottom: 0;
}

.contact-items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 35px;
}

.contact-items-grid .contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: all var(--dur-med) var(--ease);
  text-decoration: none;
  color: inherit;
}

.contact-items-grid .contact-item:hover {
  border-color: var(--accent-border);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

@media (max-width: 1024px) {
  .contact-items-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .contact-items-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Footer ───────────────────────────────────────────────────── */
#main-footer {
  background: var(--bg-deep);
  padding: 70px 0 30px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand img {
  width: 170px;
  max-width: 100%;
  height: auto;
  object-fit: contain !important;
  margin-bottom: 18px;
  display: block;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 320px;
}

/* ── Tabby Footer Badge ───────────────────────────────────────── */
.footer-tabby {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 6px 14px;
  background: rgba(62, 254, 161, 0.06);
  border: 1px solid rgba(62, 254, 161, 0.25);
  border-radius: 24px;
  transition: all var(--dur-med) var(--ease);
}

.footer-tabby:hover {
  background: rgba(62, 254, 161, 0.12);
  border-color: rgba(62, 254, 161, 0.45);
  transform: translateY(-2px);
}

.footer-tabby .tabby-tag {
  display: inline-block;
  background: #3EFEA1;
  color: #000000;
  font-weight: 800;
  font-family: system-ui, -apple-system, sans-serif;
  padding: 3px 9px;
  border-radius: 5px;
  font-size: 0.8rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.footer-tabby-text {
  font-size: 0.82rem;
  color: #e0e0e0;
  font-weight: 500;
  white-space: nowrap;
}

/* Focused Instagram Projects Card in Footer */
.footer-instagram-box {
  margin-top: 20px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.08) 0%, rgba(20, 20, 20, 0.95) 100%);
  border: 1px solid rgba(225, 48, 108, 0.25);
  border-radius: 14px;
  max-width: 360px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  transition: border-color var(--dur-med), box-shadow var(--dur-med);
}

.footer-instagram-box:hover {
  border-color: rgba(225, 48, 108, 0.5);
  box-shadow: 0 8px 30px rgba(225, 48, 108, 0.15);
}

.footer-ig-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-ig-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.footer-ig-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-ig-handle {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.footer-ig-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}

.footer-ig-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-ig-spotlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: var(--bg-deep);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 8px;
  transition: transform var(--dur-fast), box-shadow var(--dur-fast);
  text-decoration: none;
}

.btn-ig-spotlight:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(201, 169, 110, 0.4);
}

.ig-btn-arrow {
  font-size: 0.95rem;
  line-height: 1;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: all var(--dur-med) var(--ease);
  text-decoration: none;
}

.social-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform var(--dur-fast);
}

.social-btn:hover {
  background: var(--accent);
  color: var(--bg-deep);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(201, 169, 110, 0.35);
}

.social-btn:hover svg {
  transform: scale(1.1);
}

.footer-col h5 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color var(--dur-fast), padding-inline-start var(--dur-fast);
}

.footer-col ul li a:hover {
  color: var(--text-primary);
  padding-inline-start: 6px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-contact-item a {
  color: inherit;
  transition: color var(--dur-fast);
}

.footer-contact-item a:hover {
  color: var(--accent);
}

.footer-contact-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  transition: all var(--dur-fast);
}

.footer-contact-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.footer-contact-item:hover .footer-contact-icon {
  background: var(--accent);
  color: var(--bg-deep);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.footer-dev {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.dev-credit-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--dur-fast), text-shadow var(--dur-fast), opacity var(--dur-fast);
}

.dev-credit-link:hover {
  color: var(--accent-light);
  text-shadow: 0 0 10px rgba(201, 169, 110, 0.5);
  text-decoration: underline;
}

.footer-made {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 550px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ── Floating Action Buttons (Phone & WhatsApp) ──────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px !important;
  left: 28px !important;
  right: auto !important;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 990;
  transition: transform var(--dur-fast), box-shadow var(--dur-fast);
  animation: waPulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
  animation: none;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}

@keyframes waPulse {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 40px rgba(37, 211, 102, 0.65);
  }
}

/* ── Direct Phone Call Float Button (Above WhatsApp) ──────────── */
.phone-float {
  position: fixed;
  bottom: 96px !important;
  left: 28px !important;
  right: auto !important;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #D4AF37 0%, #A07840 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.4);
  z-index: 990;
  transition: transform var(--dur-fast), box-shadow var(--dur-fast);
  animation: phonePulse 2.8s ease-in-out infinite;
}

.phone-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(201, 169, 110, 0.65);
  animation: none;
}

.phone-float svg {
  width: 25px;
  height: 25px;
  fill: #0D0D0D;
}

@keyframes phonePulse {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(201, 169, 110, 0.4);
  }

  50% {
    box-shadow: 0 4px 35px rgba(201, 169, 110, 0.7);
  }
}

/* ── Services Instagram Projects Callout ───────────────────────── */
.services-ig-cta {
  margin-top: 55px;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.08) 0%, rgba(17, 17, 17, 0.92) 100%);
  border: 1px solid var(--border-accent);
  border-radius: 20px;
  padding: 28px 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform var(--dur-fast), border-color var(--dur-fast), box-shadow var(--dur-fast);
}

.services-ig-cta:hover {
  border-color: rgba(201, 169, 110, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(201, 169, 110, 0.15);
}

.services-ig-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.services-ig-icon-wrap {
  width: 54px;
  height: 54px;
  min-width: 54px;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.22) 0%, rgba(201, 169, 110, 0.05) 100%);
  border: 1px solid var(--border-accent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.services-ig-icon-wrap svg {
  width: 28px;
  height: 28px;
}

.services-ig-text {
  flex: 1;
}

.services-ig-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 5px;
}

body.lang-en .services-ig-title {
  font-family: var(--font-en-heading);
  font-weight: 600;
  font-size: 1.3rem;
}

.services-ig-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.btn-services-ig {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  background: var(--accent);
  color: var(--bg-deep);
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(201, 169, 110, 0.35);
  transition: transform var(--dur-fast), background var(--dur-fast), box-shadow var(--dur-fast);
}

.btn-services-ig:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(201, 169, 110, 0.5);
}

.btn-services-ig .ig-btn-arrow {
  font-size: 1.1rem;
  line-height: 1;
  transition: transform var(--dur-fast);
}

.btn-services-ig:hover .ig-btn-arrow {
  transform: translate(3px, -3px);
}

body.lang-en .btn-services-ig:hover .ig-btn-arrow {
  transform: translate(3px, -3px);
}

@media (max-width: 820px) {
  .services-ig-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .services-ig-cta {
    padding: 22px 18px;
  }
  .services-ig-text {
    text-align: center;
  }
  .btn-services-ig {
    width: 100%;
    justify-content: center;
  }
}

/* ── Progress bar ─────────────────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  height: 2px;
  background: var(--accent);
  z-index: 1100;
  width: 0%;
  transition: width 0.1s linear;
}

/* ── Back to top ──────────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 28px !important;
  right: 28px !important;
  left: auto !important;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-med), transform var(--dur-fast);
}

#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

#back-to-top:hover {
  transform: translateY(-4px);
}

/* ── Mobile responsive fixes ──────────────────────────────────── */
@media (max-width: 900px) {
  .hero-scroll {
    display: none !important;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: var(--section-pad-sm);
  }

  #hero {
    height: 100vh;
    height: 100dvh;
    min-height: auto;
    padding-top: 60px;
    align-items: center;
  }

  .hero-content {
    padding-top: 10px;
    padding-bottom: 20px;
  }

  .hero-brand {
    font-size: clamp(1.55rem, 3.8vw, 1.35rem);
    margin-bottom: 14px;
  }

  .hero-headline {
    font-size: clamp(2.1rem, 7.5vw, 3.2rem);
    margin-bottom: 16px;
    line-height: 1.25;
  }

  .hero-typed-wrapper {
    height: 30px;
    margin-bottom: 24px;
    font-size: 1.15rem;
  }

  .hero-cta-group {
    margin-top: 8px;
  }

  .hero-scroll {
    display: none !important;
  }

  .section-headline {
    font-size: clamp(1.9rem, 6vw, 2.7rem);
  }

  .about-counters {
    grid-template-columns: repeat(2, 1fr);
  }

  .whatsapp-float {
    bottom: 18px !important;
    left: 4px !important;
    right: auto !important;
    width: 50px;
    height: 50px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }

  .phone-float {
    bottom: 78px !important;
    left: 4px !important;
    right: auto !important;
    width: 50px;
    height: 50px;
  }

  .phone-float svg {
    width: 22px;
    height: 22px;
  }

  #back-to-top {
    bottom: 20px !important;
    right: 20px !important;
    left: auto !important;
  }
}