* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ─── CSS VARIABLES ───────*/
:root {
  --primary-red: #c55656;
  --dark-red: #a94444;
  --accent-red: #ff6b6b;
  --button-red: #cc433d;
  --button-red-hover: #cc433d;
  --button-gradient: #cc433d;
  --button-gradient-hover: #cc433d;
  --black: #0a0a0a;
  --dark-gray: #1a1a1a;
  --light-gray: #aaa4a4;
  --gradient-orange-dark: #a94444;
  --primary-red-dark: #a94444;
  --white: #ffffff;
  --gradient-orange: #c55656;
  --gradient-cyan: #06b6d4;
}

/* ─── BASE ───────────── */
body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
  background:
    radial-gradient(at 0% 0%, rgba(220, 38, 38, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(179, 46, 5, 0.1) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(220, 38, 38, 0.1) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(179, 46, 5, 0.08) 0px, transparent 50%),
    linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
  color: var(--white);
  line-height: 1.6;
  max-width: 100%;
}

html {
  width: 100%;
  overflow-x: clip;
  scrollbar-width: thin;
  scrollbar-color: #5a5a5a #141414;
}

body {
  width: 100%;
  overflow-x: clip;
}

/* ─── SCROLLBAR ────────── */
html::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

html::-webkit-scrollbar-track {
  background: #141414;
}

html::-webkit-scrollbar-thumb {
  background: #5a5a5a;
  border: 2px solid #141414;
  border-radius: 8px;
}

html::-webkit-scrollbar-thumb:hover {
  background: #7a7a7a;
}

/* Inner scroll areas (table of contents, modals, etc.) scroll without a visible bar. */
:not(html) {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

:not(html)::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── NAVBAR ───────────*/
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo-icon img,
.logo-icon a img {
  width: 55px;
  height: 55px;
  object-fit: contain;
  border-radius: 50%;
  cursor: pointer;
}

.logo-text .logo-brand {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.logo-text p {
  margin: 0;
  line-height: 1.4;
}

.logo-text p:first-of-type {
  font-size: 0.85rem;
  font-weight: 500;
  color: #e5e7eb;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.logo-text p:last-of-type {
  font-size: 0.75rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2px;
  display: inline-block;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a,
.nav-links a:link,
.nav-links a:visited,
.nav-links a:focus,
.nav-links a:active {
  color: rgba(255, 255, 255, 0.72) !important;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* CTA Button */
.cta-btn {
  background: var(--primary-red);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.cta-btn:hover {
  background: var(--primary-red-dark);
}

.nav-links a.nav-ai-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px !important;
  background: rgba(220, 38, 38, 0.1) !important;
  border: 1px solid rgba(220, 38, 38, 0.5) !important;
  border-radius: 50px !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease !important;
  position: relative;
  text-decoration: none;
}

.nav-links a.nav-ai-pill:hover {
  background: rgba(220, 38, 38, 0.25) !important;
  border-color: #ff3e3e !important;
  transform: translateY(-2px);
  color: #fff !important;
}

.live-indicator {
  width: 8px;
  height: 8px;
  background-color: #ff3e3e;
  border-radius: 50%;
  position: relative;
  display: inline-block;
}

.live-indicator::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: inherit;
  border-radius: 50%;
  animation: pulse-ring 1.5s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.7);
    opacity: 1;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .nav-links a.nav-ai-pill {
    margin: 15px 0;
    padding: 12px 18px !important;
    font-size: 13px;
    justify-content: center;
    width: 100%;
    max-width: 200px;
    border-width: 1px !important;
  }
}
/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5.66px, 5.66px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5.66px, -5.66px);
}

/* Booking Dropdown */
.booking-wrapper {
  position: relative;
}

.booking-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(26, 26, 26, 0.98);
  border: 1px solid rgba(197, 86, 86, 0.3);
  border-radius: 12px;
  min-width: 220px;
  margin-top: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1001;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.booking-wrapper:hover .booking-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.booking-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--light-gray);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(220, 38, 38, 0.1);
}

.booking-dropdown a:last-child {
  border-bottom: none;
}

.booking-dropdown a:hover {
  background: rgba(220, 38, 38, 0.1);
  color: var(--white);
  padding-left: 20px;
}

.booking-dropdown a svg {
  width: 18px;
  height: 18px;
  color: var(--primary-red);
  flex-shrink: 0;
}

/* ─── HERO ────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px 20px 60px;
  text-align: center;
  background: radial-gradient(
    ellipse at top,
    rgba(184, 29, 29, 0.1),
    transparent 50%
  );
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
}

.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(220, 38, 38, 0.3);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.945rem;
  margin-top: 2.5rem;
  margin-bottom: 2rem;
  color: #ffffff;
  background-color: rgb(4, 120, 87);
  animation: pulse 2s infinite;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: rgb(146, 223, 146);
  border-radius: 50%;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-title--home {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  text-wrap: balance;
}

.gradient-text {
  background: linear-gradient(
    135deg,
    var(--gradient-orange),
    var(--primary-red),
    var(--gradient-cyan)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--light-gray);
  margin: 0 auto 2.5rem;
  max-width: 900px;
  line-height: 1.8;
  text-wrap: balance;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 0.9rem 2.7rem;
  min-width: 160px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background: var(--primary-red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-red-dark);
}

.btn-primary svg {
  display: inline-block;
  transition: transform 0.3s ease;
  vertical-align: middle;
}

.btn-primary:hover svg {
  transform: translateX(6px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 0.4px solid var(--dark-red);
}

.btn-secondary:hover {
  background: rgb(29, 27, 27);
  color: #ece4e4;
  border-color: rgb(29, 27, 27);
}

/* ─── STATS ────────────────*/
.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 7rem;
  width: 100%;
  max-width: 1000px;
}

.stat-item {
  position: relative;
  text-align: center;
  padding: 2rem 1rem;
  transition: all 0.3s ease;
}

.stat-icon {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  background: rgba(220, 38, 38, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red);
}

.stat-icon svg {
  width: 25px;
  height: 25px;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--white);
  margin-top: 0.3rem;
}

.stat-label {
  color: var(--light-gray);
  font-size: 0.95rem;
}

/* ─── SECTION HEADER ──────── */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.section-header p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--light-gray);
  max-width: 700px;
  margin: 0 auto;
}

/* ─── SERVICES ─────────────── */
.services-section {
  padding: 80px 20px;
  background: radial-gradient(
    ellipse at center,
    rgba(184, 29, 29, 0.05),
    transparent 70%
  );
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.service-learn-more {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--primary-red);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.service-learn-more:hover {
  color: var(--accent-red);
  text-decoration: underline;
}

.service-card {
  background: linear-gradient(
    135deg,
    rgba(220, 38, 38, 0.05),
    rgba(26, 26, 26, 0.8)
  );
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--gradient-orange-dark),
    var(--primary-red-dark)
  );
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(158, 15, 15, 0.3);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(
    135deg,
    var(--gradient-orange),
    var(--primary-red)
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-icon svg {
  width: 30px;
  height: 30px;
  color: var(--white);
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--white);
}

.service-card > p {
  color: var(--light-gray);
  margin-bottom: 1.2rem;
  line-height: 1.6;
  font-size: 0.95rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  margin-bottom: 1.2rem;
}

.service-features li {
  color: var(--light-gray);
  margin-bottom: 0.6rem;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9rem;
  line-height: 1.4;
}

.service-features li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--primary-red);
  font-size: 1.3rem;
  font-weight: bold;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.tag {
  background: rgba(6, 182, 212, 0.15);
  color: var(--gradient-cyan);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(6, 182, 212, 0.2);
}

/* ─── LOGO SLIDER ──────────── */
.logo-slider {
  padding: 80px 20px;
  overflow: hidden;
}

.logo-track {
  display: flex;
  width: max-content;
  animation: scroll 40s linear infinite;
  gap: 110px;
}

.logo-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 220px;
  height: 85px;
  flex-shrink: 0;
}

.logo-item img {
  max-width: 100%;
  max-height: 100%;
  filter: grayscale(100%) brightness(1.3);
  opacity: 0.7;
  transition: all 0.3s ease;
}

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

/* ─── PROJECTS ──────────────── */
.projects-section {
  padding: 80px 20px;
  background: radial-gradient(
    ellipse at center,
    rgba(184, 29, 29, 0.05),
    transparent 70%
  );
}

.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.5rem;
  background: transparent;
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: var(--light-gray);
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.filter-btn:hover {
  border-color: var(--primary-red);
  color: var(--white);
}

.filter-btn.active {
  background: linear-gradient(
    90deg,
    var(--gradient-orange),
    var(--primary-red)
  );
  border-color: transparent;
  color: var(--white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(550px, 1fr));
  gap: 2rem;
  justify-content: center;
}
.projects-grid-static {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(550px, 1fr));
  gap: 2rem;
  justify-content: center;
}
.project-card {
  background: linear-gradient(
    180deg,
    rgba(26, 26, 26, 0.6) 0%,
    rgba(15, 15, 15, 0.8) 100%
  );
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: auto;
  border: 1px solid rgba(220, 38, 38, 0.1);
  transition: border 0.3s ease;
}

.project-card:hover {
  border: 1px solid rgb(94, 27, 27);
}

.project-header {
  padding: 3rem 2rem;
  min-height: 280px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.project-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(25, 25, 25, 0.1) 0%,
    rgba(20, 20, 20, 0.3) 100%
  );
  mix-blend-mode: multiply;
}

.project-metric {
  text-align: center;
  cursor: pointer;
}

.metric-value {
  font-size: 5rem;
  font-weight: 700;
  background: linear-gradient(
    45deg,
    rgba(180, 60, 60, 0.6),
    rgba(102, 27, 27, 0.4)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
  letter-spacing: -0.02em;
  opacity: 1;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.project-header:hover .metric-value {
  transform: scale(1.15);
  opacity: 0.9;
}

.project-category {
  padding: 0.4rem 1rem;
  background: rgba(26, 26, 26, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--white);
  margin-top: 1.5rem;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
}

.project-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
}

.project-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.project-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  flex-grow: 1;
}

.project-stats {
  display: flex;
  gap: 1.5rem;
}

.project-stat {
  display: flex;
  flex-direction: column;
}

.project-stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.3rem;
}

.project-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-red), var(--accent-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  background: rgba(6, 182, 212, 0.15);
  color: var(--gradient-cyan);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 1.5rem;
  position: relative;
}

.stylish-arrow-wrapper {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.stylish-arrow-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.stylish-arrow-wrapper:hover {
  color: #ffffff;
  background: rgba(239, 68, 68, 0.1);
}

.stylish-arrow-wrapper:hover .stylish-arrow-icon {
  transform: translate(2px, -2px) scale(1.1);
}

.stylish-arrow-wrapper::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid var(--primary-red);
  opacity: 0;
  transition: all 0.3s ease;
}

.stylish-arrow-wrapper:hover::after {
  transform: scale(1.3);
  opacity: 0;
}

/* View More Button */
.view-more-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.view-more-btn {
  padding: 0.9rem 2.5rem;
  background: transparent;
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: var(--white);
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.view-more-btn:hover {
  background: rgba(220, 38, 38, 0.1);
  border-color: var(--primary-red);
  transform: translateY(-2px);
}

.view-more-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.view-more-btn.expanded svg {
  transform: rotate(180deg);
}

/* Hidden */
.hidden {
  display: none !important;
}

/* ─── TECH STACK & TESTIMONIALS SECTION ────────── */
.tech-testimonial-section {
  padding: 100px 0;
  position: relative;
  width: 100%;
  overflow: visible;
  background: radial-gradient(
    ellipse at center,
    rgba(16, 185, 129, 0.05),
    transparent 70%
  );
}

.tech-testimonial-section .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: block;
}

.tech-stack-full {
  margin-bottom: 120px;
  width: 100%;
}

.tech-stack-full .side-title,
.testimonials-full .side-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--white);
  letter-spacing: -1px;
  text-align: center;
}

/* Tech Stack Main Layout */
.tech-stack-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
  min-height: 600px;
}

.categories-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 40px 20px 20px;
  border-right: 2px solid var(--accent-red);
}

.category-button {
  background: transparent;
  border: none;
  padding: 16px 24px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--light-gray);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.category-button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-red);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-button:hover {
  background: rgba(220, 38, 38, 0.1);
  color: var(--white);
  transform: translateX(8px);
}

.category-button.active {
  background: rgba(220, 38, 38, 0.15);
  color: var(--white);
}

.category-button.active::before {
  opacity: 1;
}

.tools-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-left: 40px;
}

.tools-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
  min-height: 50px;
}

.tools-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  animation: fadeIn 0.4s ease;
}

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

.tool-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.tool-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(220, 38, 38, 0.1),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.tool-card:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-8px);
}

.tool-card:hover::before {
  opacity: 1;
}

.tool-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 600;
  color: var(--white);
  transition: all 0.3s ease;
}

.tool-card:hover .tool-icon {
  transform: scale(1.15) rotate(5deg);
  background: linear-gradient(135deg, var(--primary-red), #34d399);
}

.tool-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  text-align: center;
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
}

.tools-content {
  display: none;
}

.tools-content.active {
  display: block;
  animation: slideIn 0.4s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Old tech grid (kept for any pages still using it) */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3.5rem;
  width: 100%;
}

.tech-group .tech-label {
  color: var(--primary-red);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-weight: 600;
  display: block;
}

.tech-grid .tech-items {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tech-grid .tech-items span {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(220, 38, 38, 0.3);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--light-gray);
  transition: all 0.3s ease;
  display: inline-block;
  white-space: nowrap;
}

.tech-grid .tech-items span:hover {
  background: rgba(220, 38, 38, 0.1);
  border-color: var(--primary-red);
  color: var(--white);
  transform: translateY(-2px);
}

/* ─── TESTIMONIALS ──────────────────── */
.testimonials-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 16px;
  padding: 0;
  position: relative;
}

.testimonials-scroll-container {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 1.5rem 0;
}

.testimonials-scroll-container::-webkit-scrollbar {
  display: none;
}

.testimonials-carousel {
  display: flex;
  gap: 1.5rem;
  width: fit-content;
  padding: 0 4px;
}

.testimonial-card-horizontal {
  width: 390px;
  height: auto;
  min-height: 300px;
  flex-shrink: 0;
  background: linear-gradient(
    135deg,
    rgba(220, 38, 38, 0.05),
    rgba(26, 26, 26, 0.8)
  );
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.testimonial-card-horizontal:hover {
  border-color: rgba(220, 38, 38, 0.5);
  background: linear-gradient(
    135deg,
    rgba(220, 38, 38, 0.1),
    rgba(26, 26, 26, 0.95)
  );
}

.testimonial-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 1.5rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(220, 38, 38, 0.3);
  flex-shrink: 0;
}

.testimonial-client-info {
  flex: 1;
}

.testimonial-client-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 4px 0;
  display: block;
}

.testimonial-client-role {
  font-size: 0.85rem;
  color: var(--light-gray);
  margin: 0 0 8px 0;
  display: block;
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 0.95rem;
  font-weight: 600;
  display: block;
  margin: 0;
}

.testimonial-stars .star-partial {
  background: linear-gradient(90deg, #fbbf24 var(--fill, 100%), rgba(251, 191, 36, 0.3) var(--fill, 100%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.testimonial-text {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0;
  flex-grow: 1;
}

/* Scroll Buttons */
.scroll-btn {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(220, 38, 38, 0.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  position: static;
}

.scroll-btn img {
  width: 20px;
  height: auto;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.scroll-btn:hover {
  background: rgba(220, 38, 38, 0.15);
  border-color: var(--primary-red);
  transform: scale(1.08);
}

.scroll-btn:hover img {
  opacity: 1;
}

.testimonial-nav {
  display: none !important;
}

/* ─── FOOTER ────────────── */
.footer {
  background: rgba(8, 8, 8, 0.95);
  padding: 80px 0 30px;
  margin-top: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 50px;
  align-items: start;
}

.footer-brand {
  max-width: 350px;
}

.footer-brand .logo-text .logo-brand {
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.footer-brand .logo-text p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 2px;
  letter-spacing: 0.3px;
}

.footer-brand .footer-desc {
  margin-top: 20px;
  color: var(--light-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links h3,
.footer-connect h3,
.footer-location h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: var(--light-gray);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--primary-red);
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.social-box {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-gray);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-box:hover {
  border-color: var(--primary-red);
  color: var(--white);
  transform: translateY(-3px);
}

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

.contact-location {
  color: #aaa4a4;
  margin: 0;
}

.contact-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--light-gray);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.contact-list a i {
  font-size: 1.1rem;
  color: var(--primary-red);
  width: 20px;
}

.contact-list a:hover {
  color: var(--white);
}

.footer-info {
  margin-top: 15px;
  color: var(--light-gray);
  font-size: 0.85rem;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--light-gray);
  font-size: 0.9rem;
}

/* ─── FLOATING WIDGET ──────────── */
.floating-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  width: auto;
  max-width: 700px;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.98),
    rgba(15, 15, 15, 0.98)
  );
  border-radius: 50px;
  padding: 12px 25px;
  border: 1px solid rgba(220, 38, 38, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.widget-content {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
}

.widget-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(220, 38, 38, 0.3);
  flex-shrink: 0;
}

.widget-text {
  flex: 1;
  min-width: 0;
}

.widget-text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.4;
}

.widget-text strong {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

.widget-btn {
  background: #fff;
  color: #1a1d21;
  padding: 8px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.2s;
}

.widget-btn:hover {
  transform: scale(1.05);
}

.widget-close {
  background: none;
  border: none;
  color: var(--light-gray);
  font-size: 24px;
  cursor: pointer;
  padding: 0 8px;
  line-height: 1;
  transition: color 0.3s ease;
  flex-shrink: 0;
}

.widget-close:hover {
  color: var(--white);
}

body:has(.blog-post) .floating-widget {
  display: none;
}

/* ─── CONTACT FORM ────────────*/
.contact-form-section {
  width: 100%;
  padding: 80px 20px;
  margin-top: 4rem;
}

.form-wrapper {
  border: 1px solid var(--light-gray);
  border-radius: 16px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto;
}

.form-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.form-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.form-header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
  letter-spacing: -0.5px;
}

.form-header p {
  color: var(--light-gray);
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

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

.form-row-item {
  display: flex;
  flex-direction: column;
}

label {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}

input[type="text"],
input[type="email"],
textarea {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  line-height: 1.6;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(197, 86, 86, 0.1);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

textarea {
  resize: vertical;
  min-height: 140px;
  font-size: 0.95rem;
}

.button-group {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

button[type="submit"] {
  flex: 1;
  background: var(--primary-red);
  color: var(--white);
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

button[type="submit"]:hover {
  background: var(--primary-red-dark);
  transform: translateY(-2px);
}

button[type="submit"]:active {
  transform: translateY(0);
}

button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

button[type="submit"] svg {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

button[type="submit"]:hover svg {
  transform: translateX(4px);
}

button[type="reset"] {
  flex: 0 1 auto;
  background: transparent;
  color: var(--white);
  padding: 12px 24px;
  border: 1px solid rgba(197, 86, 86, 0.3);
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

button[type="reset"]:hover {
  background: rgba(197, 86, 86, 0.1);
  border-color: var(--primary-red);
  color: var(--accent-red);
}

/* Success Message */
.success-message {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.success-message.show {
  display: flex;
}

.success-content {
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.95),
    rgba(15, 15, 15, 0.95)
  );
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 16px;
  padding: 3rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  animation: slideUp 0.4s ease;
  position: relative;
  overflow: hidden;
}

.success-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--gradient-orange-dark),
    var(--primary-red-dark)
  );
}

.success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-red), var(--accent-red));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 40px;
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  color: var(--white);
}

.success-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--white);
  letter-spacing: -0.5px;
}

.success-content p {
  color: var(--light-gray);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-size: 0.95rem;
}

.success-button {
  background: var(--primary-red);
  color: var(--white);
  padding: 12px 32px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}

.success-button:hover {
  background: var(--primary-red-dark);
  transform: translateY(-2px);
}

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

@keyframes popIn {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-status {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--light-gray);
  display: none;
}

.form-status.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

.form-status.loading {
  color: var(--gradient-cyan);
}
.form-status.error {
  color: var(--accent-red);
}

/* ======================================
   RESPONSIVE BREAKPOINTS
   ======================================*/

/* ─── 992px ───────────────────────────*/
@media (max-width: 992px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .tech-stack-full .side-title,
  .testimonials-full .side-title {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .footer-brand {
    grid-column: span 2;
    max-width: 100%;
  }

  .floating-widget {
    max-width: 600px;
    padding: 10px 20px;
  }

  .widget-text p {
    font-size: 0.85rem;
  }
  .widget-btn {
    padding: 8px 18px;
    font-size: 0.85rem;
  }
}

/* ─── 768px ───────────────── */
@media (max-width: 768px) {
  /* Nav bar scrolls away with the page on mobile instead of staying pinned */
  .navbar {
    position: relative;
  }

  /* Nav */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    transition: right 0.3s ease;
    border-left: 1px solid rgba(220, 38, 38, 0.2);
    padding-top: 80px;
    overflow-y: auto;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links > a {
    color: var(--light-gray);
    font-size: 1.1rem;
    width: 100%;
    text-align: center;
    padding: 12px 0;
  }

  .nav-links > a:hover {
    color: var(--primary-red);
  }

  .cta-btn {
    display: none;
  }

  .booking-wrapper {
    width: 100%;
    text-align: center;
    position: relative;
  }

  .booking-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: none;
    transform: none;
    box-shadow: none;
    margin-top: 12px;
  }

  .booking-dropdown a {
    justify-content: center;
    border: none;
    background: transparent;
    font-size: 1rem;
  }

  .booking-dropdown a:hover {
    color: var(--primary-red);
    background: transparent;
    padding-left: 16px;
  }

  .booking-dropdown a svg {
    width: 20px;
    height: 20px;
  }

  /* Hero */
  .hero {
    padding: 40px 25px 40px;
    margin-top: 0;
  }

  /* Stats */
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 3rem;
  }

  .stat-item {
    padding: 1.5rem 1rem;
  }
  .stat-number {
    font-size: 2rem;
    margin-top: 1rem;
  }

  /* Services & Projects */
  .services-section,
  .projects-section {
    padding: 35px 12px;
  }

  .services-grid,
  .services-grid-bottom,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .filter-buttons {
    gap: 0.5rem;
  }
  .filter-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }

  /* Tech */
  .tech-testimonial-section {
    padding: 60px 0;
  }
  .tech-stack-full {
    margin-bottom: 60px;
  }
  .tech-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .tech-grid .tech-items span {
    font-size: 0.85rem;
    padding: 6px 14px;
  }

  .tech-stack-full .side-title,
  .testimonials-full .side-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .tech-stack-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
  }

  .categories-sidebar {
    border-right: none;
    border-bottom: 2px solid var(--primary-red);
    padding: 20px 20px 20px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .category-button {
    flex: 0 1 auto;
    min-width: 150px;
  }
  .tools-container {
    padding-left: 0;
  }
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tools-title {
    font-size: 1.5rem;
  }

  /* Testimonials */
  .testimonials-wrapper {
    gap: 10px;
  }
  .scroll-btn {
    width: 40px;
    height: 40px;
  }
  .scroll-btn img {
    width: 11px;
  }

  .testimonial-card-horizontal {
    width: 290px;
    padding: 1.25rem;
    min-height: 280px;
  }

  .testimonial-avatar {
    width: 50px;
    height: 50px;
  }
  .testimonial-text {
    font-size: 0.9rem;
  }

  /* Footer */
  .floating-widget {
    width: calc(100% - 30px);
    right: 15px;
    left: 15px;
    bottom: 15px;
    padding: 12px 16px;
    border-radius: 40px;
    max-width: none;
  }

  .widget-content {
    gap: 10px;
  }
  .widget-avatar {
    width: 40px;
    height: 40px;
  }
  .widget-text p {
    font-size: 0.8rem;
    line-height: 1.3;
  }
  .widget-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
  .widget-close {
    font-size: 20px;
    padding: 0 4px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 20px;
  }

  .footer-brand {
    grid-column: span 2;
  }
  .footer-connect {
    grid-column: span 2;
  }

  /* Contact Form */
  .contact-form-section {
    padding: 60px 12px;
  }
  .form-wrapper {
    padding: 2rem;
  }
  .form-header h1 {
    font-size: 1.5rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .button-group {
    flex-direction: column;
  }
  button[type="submit"],
  button[type="reset"] {
    width: 100%;
  }
  .success-content {
    padding: 2rem;
  }
  .success-content h3 {
    font-size: 1.5rem;
  }
  .success-icon {
    width: 60px;
    height: 60px;
    font-size: 30px;
  }
}

/* ─── 468px ─────────────────── */
@media (max-width: 468px) {
  /* Navbar */
  .navbar {
    padding: 0.55rem 0;
  }
  .hamburger {
    display: flex;
  }

  .logo-icon img,
  .logo-icon a img {
    width: 42px;
    height: 42px;
  }

  .logo-text .logo-brand {
    font-size: 1.2rem;
    letter-spacing: -0.3px;
    line-height: 1.15;
  }
  .logo-text p:first-of-type {
    font-size: 0.68rem;
    letter-spacing: 0;
    margin-top: 2px;
  }
  .logo-text p:last-of-type {
    font-size: 0.6rem;
    margin-top: 1px;
  }

  .nav-links {
    width: 75%;
    max-width: 280px;
    background: rgba(8, 8, 8, 0.99);
    backdrop-filter: blur(16px);
    gap: 0.6rem;
    border-left-color: rgba(220, 38, 38, 0.25);
    padding-top: 90px;
    z-index: 999;
  }

  .nav-links > a {
    font-size: 1rem;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .booking-wrapper {
    width: 100%;
    text-align: center;
  }
  .booking-dropdown {
    background: transparent;
    border: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    margin-top: 8px;
  }

  .booking-dropdown a {
    justify-content: center;
    border: none;
    padding: 10px 0;
    font-size: 0.95rem;
  }

  .booking-dropdown a:hover {
    background: transparent;
    padding-left: 0;
  }

  /* Hero */
  .hero {
    padding: 30px 14px 40px;
    min-height: auto;
    margin-top: 0;
  }
  .hero-content {
    width: 100%;
  }
  .availability-badge {
    font-size: 0.78rem;
    padding: 0.4rem 1rem;
    margin-top: 0.5rem;
    margin-bottom: 1.4rem;
  }
  .hero-title {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
    line-height: 1.15;
    margin-bottom: 1rem;
  }
  .hero-description {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.8rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    align-items: center;
  }
  .hero-buttons a {
    width: 100%;
    display: block;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
  }

  /* Stats */
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem 1rem;
    margin-top: 3.5rem;
  }
  .stat-item {
    padding: 1.6rem 0.75rem 1rem;
  }
  .stat-icon {
    top: -22px;
    width: 46px;
    height: 46px;
    border-radius: 9px;
  }
  .stat-icon svg {
    width: 22px;
    height: 22px;
  }
  .stat-number {
    font-size: 1.8rem;
    margin-top: 0.5rem;
  }
  .stat-label {
    font-size: 0.78rem;
  }

  /* Section headers */
  .section-header {
    margin-bottom: 2rem;
  }
  .section-header h2 {
    font-size: clamp(1.6rem, 6vw, 2rem);
    line-height: 1.2;
  }
  .section-header p {
    font-size: 0.88rem;
    line-height: 1.6;
    padding: 0 4px;
  }

  /* Services */
  .services-section {
    padding: 40px 14px;
  }
  .services-grid,
  .services-grid-bottom {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .service-card {
    padding: 1.4rem;
    min-height: auto;
    border-radius: 14px;
  }
  .service-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    margin-bottom: 1rem;
  }
  .service-icon svg {
    width: 24px;
    height: 24px;
  }
  .service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
  }
  .service-card > p {
    font-size: 0.88rem;
    margin-bottom: 1rem;
  }
  .service-features li {
    font-size: 0.84rem;
    margin-bottom: 0.5rem;
  }
  .tag {
    font-size: 0.78rem;
    padding: 0.3rem 0.65rem;
  }

  /* Logo slider */
  .logo-slider {
    padding: 40px 0;
  }
  .logo-item {
    width: 130px;
    height: 55px;
  }
  .logo-track {
    gap: 60px;
  }

  /* Projects */
  .projects-section {
    padding: 40px 14px;
  }
  .filter-buttons {
    gap: 0.4rem;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .filter-buttons::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.78rem;
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 6px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .project-card {
    border-radius: 12px;
  }
  .project-header {
    min-height: 180px;
    padding: 2rem 1.25rem;
  }
  .metric-value {
    font-size: 3.5rem;
  }
  .project-content {
    padding: 1.2rem;
  }
  .project-title {
    font-size: 1.15rem;
    margin-bottom: 0.7rem;
  }
  .project-description {
    font-size: 0.87rem;
    line-height: 1.65;
    margin-bottom: 0.8rem;
  }
  .project-stats {
    gap: 1rem;
    flex-wrap: wrap;
  }
  .project-stat-value {
    font-size: 1.25rem;
  }
  .project-stat-label {
    font-size: 0.78rem;
  }
  .tech-tag {
    font-size: 0.78rem;
    padding: 0.3rem 0.65rem;
  }
  .stylish-arrow-wrapper {
    width: 38px;
    height: 38px;
    right: 12px;
    bottom: 12px;
  }
  .stylish-arrow-icon {
    width: 16px;
    height: 16px;
  }
  .view-more-btn {
    padding: 0.75rem 1.75rem;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
  }

  /* Tech */
  .tech-testimonial-section {
    padding: 40px 0;
  }
  .tech-stack-full {
    margin-bottom: 50px;
  }
  .tech-stack-full .side-title,
  .testimonials-full .side-title {
    font-size: 1.55rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
  }
  .tech-stack-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-height: auto;
  }

  .categories-sidebar {
    border-right: none;
    border-bottom: 2px solid var(--primary-red);
    padding: 0 0 16px;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .categories-sidebar::-webkit-scrollbar {
    display: none;
  }

  .category-button {
    font-size: 0.82rem;
    padding: 10px 14px;
    flex-shrink: 0;
    white-space: nowrap;
    border-radius: 8px;
  }
  .category-button:hover {
    transform: none;
  }
  .tools-container {
    padding-left: 0;
  }
  .tools-header {
    margin-bottom: 0.75rem;
    min-height: auto;
  }
  .tools-title {
    font-size: 1.25rem;
  }
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .tool-card {
    padding: 14px 10px;
    border-radius: 10px;
    gap: 8px;
    min-height: 110px;
  }
  .tool-icon {
    width: 46px;
    height: 46px;
    font-size: 22px;
  }
  .tool-name {
    font-size: 0.82rem;
  }

  .tech-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .tech-grid .tech-items span {
    font-size: 0.78rem;
    padding: 5px 11px;
    border-radius: 6px;
  }
  .tech-group .tech-label {
    font-size: 0.78rem;
    margin-bottom: 10px;
  }

  /* Testimonials */
  .testimonials-wrapper {
    gap: 4px;
    padding: 0 2px;
  }
  .testimonials-scroll-container {
    padding: 0.8rem 0;
  }
  .testimonials-scroll-container {
    overflow: hidden;
    width: 100%;
    scroll-snap-type: x mandatory;
  }
  .testimonial-card-horizontal {
    width: calc(100vw - 133px); /* full width minus both arrow buttons */
    min-width: 0;
    flex-shrink: 0;
  }
  .testimonial-header {
    gap: 10px;
    margin-bottom: 1rem;
  }
  .testimonial-avatar {
    width: 46px;
    height: 46px;
  }
  .testimonial-client-name {
    font-size: 0.95rem;
  }
  .testimonial-client-role {
    font-size: 0.72rem;
    line-height: 1.3;
  }
  .testimonial-stars {
    font-size: 0.85rem;
  }
  .testimonial-text {
    font-size: 0.85rem;
    line-height: 1.65;
  }
  .scroll-btn {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
  }

  .scroll-btn img {
    width: 9px;
  }
  .testimonials-carousel {
    display: flex;
    gap: 12px;
  }
  /* Contact */
  .contact-form-section {
    padding: 40px 14px;
  }
  .form-wrapper {
    padding: 1.4rem;
    border-radius: 14px;
  }
  .form-header {
    margin-bottom: 1.75rem;
  }
  .form-header h1 {
    font-size: 1.3rem;
    letter-spacing: -0.3px;
  }
  .form-header p {
    font-size: 0.82rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0;
  }
  .form-group,
  .form-row-item {
    margin-bottom: 1.1rem;
  }
  label {
    font-size: 0.78rem;
    margin-bottom: 0.5rem;
  }
  input[type="text"],
  input[type="email"],
  textarea {
    padding: 10px 13px;
    font-size: 0.88rem;
    border-radius: 7px;
  }
  textarea {
    min-height: 120px;
  }
  .button-group {
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }
  button[type="submit"],
  button[type="reset"] {
    width: 100%;
    font-size: 0.9rem;
    padding: 11px 20px;
    letter-spacing: 0.3px;
    border-radius: 8px;
  }
  .success-content {
    padding: 1.75rem;
    border-radius: 14px;
    width: 92%;
  }
  .success-icon {
    width: 58px;
    height: 58px;
    font-size: 28px;
    margin-bottom: 1rem;
  }
  .success-content h3 {
    font-size: 1.35rem;
  }
  .success-content p {
    font-size: 0.88rem;
    line-height: 1.6;
  }
  .success-button {
    padding: 10px 28px;
    font-size: 0.88rem;
  }

  /* Footer */
  .footer {
    padding: 50px 0 20px;
    margin-top: 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-brand,
  .footer-links,
  .footer-connect,
  .footer-location {
    grid-column: span 1;
    max-width: 100%;
  }
  .footer-brand .logo-text .logo-brand {
    font-size: 1.35rem;
  }
  .footer-brand .footer-desc {
    font-size: 0.88rem;
    margin-top: 14px;
    line-height: 1.65;
  }
  .footer-links h3,
  .footer-connect h3,
  .footer-location h3 {
    font-size: 1rem;
    margin-bottom: 14px;
  }
  .footer-links ul li {
    margin-bottom: 10px;
  }
  .footer-links ul li a {
    font-size: 0.9rem;
  }
  .contact-location {
    font-size: 0.88rem;
  }
  .contact-list a {
    font-size: 0.9rem;
    gap: 8px;
  }
  .contact-list a i {
    font-size: 1rem;
  }
  .social-icons {
    gap: 10px;
    justify-content: flex-start;
  }
  .social-box {
    width: 36px;
    height: 36px;
    border-radius: 7px;
  }
  .footer-bottom {
    padding-top: 18px;
    font-size: 0.8rem;
  }

  /* Widget */
  .floating-widget {
    width: calc(100% - 20px);
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 10px 12px;
    border-radius: 28px;
    max-width: none;
  }
  .widget-content {
    gap: 8px;
    align-items: center;
  }
  .widget-avatar {
    width: 34px;
    height: 34px;
  }
  .widget-text {
    flex: 1;
    min-width: 0;
  }
  .widget-text p {
    font-size: 0.72rem;
    line-height: 1.35;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
  }
  .widget-btn {
    padding: 6px 12px;
    font-size: 0.72rem;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .widget-close {
    font-size: 18px;
    padding: 0 4px;
  }
}

/* ─── 360px ─── */
@media (max-width: 360px) {
  .logo-icon img,
  .logo-icon a img {
    width: 36px;
    height: 36px;
  }
  .logo-text .logo-brand {
    font-size: 1.05rem;
  }
  .logo-text p:first-of-type {
    font-size: 0.6rem;
  }

  .hero-title {
    font-size: 1.65rem;
  }
  .hero-description {
    font-size: 0.84rem;
  }

  .stats-container {
    gap: 1.5rem 0.75rem;
  }
  .stat-number {
    font-size: 1.6rem;
  }
  .stat-label {
    font-size: 0.72rem;
  }

  .section-header h2 {
    font-size: 1.45rem;
  }

  .filter-btn {
    font-size: 0.72rem;
    padding: 0.4rem 0.7rem;
  }

  .testimonial-card-horizontal {
    width: calc(100vw - 133px);
  }

  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .tool-card {
    padding: 12px 8px;
    min-height: 100px;
  }
  .tool-icon {
    width: 40px;
    height: 40px;
  }
  .tool-name {
    font-size: 0.75rem;
  }

  .widget-text p {
    font-size: 0.66rem;
  }
  .widget-btn {
    font-size: 0.66rem;
    padding: 5px 10px;
  }
}

/* ══════════════════════
   AI AUTOMATION AUDIT PROMO
══════════════════════ */
.audit-promo-banner {
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.audit-promo-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: 60px 60px;
  pointer-events: none;
}

.audit-promo-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.audit-promo-text {
  margin-bottom: 32px;
}

.audit-promo-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  background: linear-gradient(
    135deg,
    var(--gradient-orange),
    var(--primary-red),
    var(--gradient-cyan)
  );
  line-height: 1.15;
  margin: 0 0 12px;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
}

.audit-promo-subtitle {
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 16px;
}

.audit-promo-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

/* Features List */
.audit-promo-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  justify-content: center;
}

.audit-feature {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  width: fit-content;
  margin: 0 auto;
}

.audit-feature svg {
  color: #22c55e;
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(34, 197, 94, 0.4));
}

/* CTA Button */
.audit-promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: linear-gradient(135deg, #dc2626, #991b1b);
  color: #fff;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;

  border: 1px solid rgba(220, 38, 38, 0.5);
}

.audit-promo-btn:hover {
  transform: translateY(-3px);
}

.audit-promo-btn:active {
  transform: translateY(-1px);
}

.audit-promo-btn svg {
  transition: transform 0.3s ease;
}

.audit-promo-btn:hover svg {
  transform: translateX(4px);
}

/* ══════════════════════
   RESPONSIVE
══════════════════════ */
@media (max-width: 768px) {
  .audit-promo-banner {
    padding: 60px 16px;
  }

  .audit-promo-title {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
    margin-bottom: 10px;
  }

  .audit-promo-subtitle {
    font-size: 1.1rem;
  }

  .audit-promo-description {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .audit-promo-features {
    margin-bottom: 28px;
  }

  .audit-feature {
    font-size: 0.9rem;
  }

  .audit-promo-btn {
    padding: 14px 32px;
    font-size: 1rem;
  }
}

@media (max-width: 540px) {
  .audit-promo-banner {
    padding: 50px 14px;
  }

  .audit-promo-title {
    font-size: clamp(1.4rem, 7vw, 2rem);
    margin-bottom: 8px;
  }

  .audit-promo-subtitle {
    font-size: 1rem;
    margin-bottom: 12px;
  }

  .audit-promo-description {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .audit-promo-features {
    margin-bottom: 24px;
    gap: 10px;
  }

  .audit-feature {
    font-size: 0.85rem;
    gap: 8px;
  }

  .audit-feature svg {
    width: 18px;
    height: 18px;
  }

  .audit-promo-btn {
    padding: 12px 28px;
    font-size: 0.95rem;
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .audit-promo-btn svg {
    width: 16px;
    height: 16px;
  }
}

.projects-noscript-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem 1.5rem;
  margin: 2rem 0 0;
  padding: 0;
}

.projects-noscript-list a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 2px;
}

.projects-noscript-list a:hover {
  color: var(--primary-red);
  border-color: var(--primary-red);
}

/* Contact page: process steps + FAQ */
.contact-info-section {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

.contact-info-heading {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2.5rem;
}

/* Keep interactive elements on the original muted-red palette. */
.nav-links a:hover,
.footer-links ul li a:hover,
.contact-list a:hover,
.contact-faq-item h3 {
  color: var(--primary-red);
}

.cta-btn,
button[type="submit"],
button[type="reset"],
.success-button {
  border-radius: 8px;
}

.cta-btn,
button[type="submit"],
.success-button {
  background: var(--primary-red);
}

.cta-btn:hover,
button[type="submit"]:hover,
.success-button:hover {
  background: var(--primary-red-dark);
}

.contact-form-section .form-wrapper {
  border-color: var(--border-color, #333333);
  border-radius: 16px;
}

.contact-form-section input[type="text"],
.contact-form-section input[type="email"],
.contact-form-section textarea {
  border-color: rgba(197, 86, 86, 0.3);
  border-radius: 8px;
}

.contact-form-section input[type="text"]:focus,
.contact-form-section input[type="email"]:focus,
.contact-form-section textarea:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(197, 86, 86, 0.1);
}

.contact-form-section button[type="reset"] {
  border-color: rgba(197, 86, 86, 0.3);
}

/* Buttons use the darker original project-page red, not the lighter accent red. */
.cta-btn,
button[type="submit"],
.success-button {
  background: var(--button-gradient);
}

.cta-btn:hover,
button[type="submit"]:hover,
.success-button:hover {
  background: var(--button-gradient-hover);
}

.contact-form-section button[type="reset"] {
  color: var(--white);
  border-color: var(--button-red);
}

.contact-form-section button[type="reset"]:hover {
  background: rgba(143, 63, 63, 0.16);
  border-color: var(--button-red-hover);
  color: var(--white);
}

/* Blog */
.blog-list,
.blog-post {
  width: min(100% - 48px, 1400px);
  max-width: 1400px;
  margin: 0 auto;
  padding: 130px 0 100px;
}

.blog-heading {
  max-width: 820px;
  margin-bottom: 52px;
}

.blog-kicker,
.blog-tags span {
  color: var(--primary-red);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-heading h1 {
  margin: 14px 0 18px;
  color: var(--white);
  font-size: 4.1rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
}

.blog-heading p {
  max-width: 600px;
  color: var(--light-gray);
  font-size: 1.1rem;
}

.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-grid li {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: #111111;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.blog-grid li:hover {
  transform: translateY(-6px);
  border-color: var(--primary-red);
}

.blog-grid li > a {
  display: flex;
  align-items: stretch;
  color: inherit;
  text-decoration: none;
}

.blog-card-image {
  flex: 0 0 50%;
  min-height: 480px;
  margin: 0;
  background: #0d0d0d;
}

.blog-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-start;
  padding: 40px 48px;
}

.blog-grid .blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 26px;
}

.blog-grid .blog-tags span {
  border: 1px solid rgba(197, 86, 86, 0.55);
  border-radius: 999px;
  padding: 7px 16px;
  color: var(--accent-red);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-grid h2 {
  margin: 0 0 20px;
  color: var(--white);
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
}

.blog-grid p {
  flex: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
  line-height: 1.65;
}

.blog-grid time {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.05rem;
}

.blog-grid time i {
  font-size: 1.05rem;
}

.blog-post time {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.82rem;
  margin-top: 24px;
}

.blog-post {
  max-width: 1600px;
  --blog-gold: var(--primary-red);
  --blog-gold-dark: var(--primary-red-dark);
  --blog-panel: #101010;
  --blog-panel-soft: #141414;
}

.blog-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blog-gold);
  text-decoration: none;
  font-weight: 700;
}

.blog-back i {
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

.blog-back:hover i {
  transform: translateX(-3px);
}

.blog-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 1fr);
  gap: clamp(32px, 4.5vw, 72px);
  align-items: center;
  margin: 42px auto 72px;
  max-width: 1400px;
}

.blog-post-header {
  margin: 0;
}

.blog-post-header .blog-tags {
  margin: 0 0 25px;
}

.blog-post h1 {
  margin: 0 0 26px;
  color: var(--white);
  font-size: clamp(2.6rem, 4.2vw, 4.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
}

.blog-post-description {
  max-width: 860px;
  color: #cfcfcf;
  font-size: 1.18rem;
  line-height: 1.85;
}

.blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.blog-post-meta time,
.blog-post-meta span {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

.blog-post-meta span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 12px 2px 0;
  border-radius: 50%;
  background: var(--blog-gold);
}

.blog-cover {
  overflow: hidden;
  width: 100%;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: #111111;
  aspect-ratio: 16 / 10;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

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

.blog-cover:has(img[src$=".svg"]),
.blog-card-image:has(img[src$=".svg"]) {
  background: linear-gradient(135deg, #1c1010, #0b0b0b);
}

.blog-cover img[src$=".svg"],
.blog-card-image img[src$=".svg"] {
  object-fit: contain;
}

.blog-toc-panel,
.blog-booking-card,
.blog-reading-map nav,
.blog-tldr {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: var(--blog-panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.blog-toc-panel {
  margin-bottom: 64px;
  padding: 38px 42px;
}

.blog-toc-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
  cursor: pointer;
  user-select: none;
}

.blog-toc-heading h2,
.blog-reading-map h2 {
  margin: 0;
  color: var(--white);
  font-size: 1.55rem;
  line-height: 1.2;
}

.blog-toc-heading i {
  color: var(--blog-gold);
  font-size: 1.05rem;
  transition: transform 0.25s ease;
}

.blog-toc-panel.is-collapsed .blog-toc-heading {
  margin-bottom: 0;
}

.blog-toc-panel.is-collapsed .blog-toc-heading i {
  transform: rotate(180deg);
}

.blog-toc-panel ol {
  overflow: hidden;
  max-height: 1400px;
  transition: max-height 0.3s ease, opacity 0.25s ease;
}

.blog-toc-panel.is-collapsed ol {
  max-height: 0;
  opacity: 0;
}

.blog-toc-panel ol,
.blog-reading-map ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: blog-toc;
}

.blog-toc-panel li,
.blog-reading-map li {
  counter-increment: blog-toc;
}

.blog-toc-panel a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 8px 0;
  color: var(--blog-gold);
  font-size: 1.09rem;
  line-height: 1.45;
  text-decoration: none;
}

.blog-toc-panel a::before,
.blog-reading-map a::before {
  content: counter(blog-toc) ".";
  color: #d7e6f4;
}

.blog-toc-panel a:hover,
.blog-toc-panel a.is-active,
.blog-reading-map a:hover,
.blog-reading-map a.is-active {
  color: var(--white);
}

.blog-booking-card {
  padding: 34px;
}

.blog-booking-card--sticky {
  position: sticky;
  top: 112px;
}

.blog-booking-card--top {
  position: sticky;
  top: 112px;
}

.blog-booking-card h2 {
  margin: 0 0 22px;
  color: var(--white);
  font-size: 2.05rem;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: 0;
}

.blog-booking-card p {
  margin: 0 0 28px;
  color: #c8c8c8;
  font-size: 1.05rem;
  line-height: 1.55;
}

.blog-booking-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 26px;
  color: var(--white);
  background: var(--button-red);
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.blog-booking-card a:hover {
  background: var(--button-red-hover);
  transform: translateY(-2px);
}

.blog-tldr {
  margin: 0 0 72px;
  padding: 38px 42px;
}

.blog-tldr h2 {
  margin: 0 0 24px;
  color: var(--blog-gold);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

.blog-tldr ol {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: blog-tldr;
}

.blog-tldr li {
  counter-increment: blog-tldr;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1.48;
}

.blog-tldr li::before {
  content: counter(blog-tldr, decimal-leading-zero);
  color: var(--blog-gold);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.blog-reader-grid {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 760px) minmax(260px, 340px);
  gap: clamp(28px, 2.8vw, 44px);
  align-items: start;
  margin: 0 auto;
}

.blog-reader-grid--no-toc {
  grid-template-columns: minmax(0, 760px) minmax(280px, 340px);
  max-width: 1144px;
}

.blog-main-column {
  min-width: 0;
}

/* Hidden while the top contents panel is on screen; fades and slides in once it scrolls away. */
.blog-reading-map {
  position: sticky;
  top: 112px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s;
}

.blog-reading-map.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s;
}

@media (prefers-reduced-motion: reduce) {
  .blog-reading-map,
  .blog-reading-map.is-visible {
    transform: none;
    transition: none;
  }
}

.blog-reading-map nav {
  display: flex;
  flex-direction: column;
  max-height: min(60vh, calc(100vh - 220px));
  padding: 28px 28px 30px;
}

.blog-reading-map h2 {
  flex: 0 0 auto;
  margin-bottom: 20px;
}

.blog-reading-map ol {
  display: grid;
  flex: 1 1 auto;
  min-height: 0;
  gap: 18px;
  overflow-y: hidden;
}

.blog-reading-map a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  color: rgba(197, 86, 86, 0.38);
  font-size: 0.96rem;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.blog-reading-map a.is-active {
  color: var(--blog-gold);
  font-weight: 800;
}

.blog-reading-map a:hover,
.blog-reading-map a.is-active {
  transform: translateX(3px);
}

.blog-post-content {
  color: #f0f0f0;
  font-size: clamp(1.08rem, 0.6vw + 0.9rem, 1.24rem);
  line-height: 1.75;
}

.blog-post-content h2,
.blog-post-content h3 {
  scroll-margin-top: 124px;
}

.blog-post-content h2 {
  margin: 64px 0 22px;
  color: var(--blog-gold);
  font-size: clamp(2.05rem, 2.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
}

.blog-post-content h2:first-child {
  margin-top: 0;
}

.blog-post-content h3 {
  margin: 42px 0 14px;
  color: var(--white);
  font-size: 1.48rem;
  line-height: 1.3;
}

.blog-post-content p {
  margin: 0 0 26px;
}

.blog-post-content a {
  color: var(--blog-gold);
  text-underline-offset: 4px;
}

.blog-post-content ul,
.blog-post-content ol {
  margin: 0 0 28px 24px;
}

.blog-post-content li {
  margin: 9px 0;
}

.blog-post-content img {
  display: block;
  width: 100%;
  height: auto;
  margin: 38px 0;
  border-radius: 8px;
}

.blog-post-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  margin: 38px 0;
  border-collapse: collapse;
  color: #e8e8e8;
  font-size: 0.98rem;
}

.blog-post-content th,
.blog-post-content td {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  vertical-align: top;
}

.blog-post-content th {
  color: var(--white);
  background: rgba(197, 86, 86, 0.12);
}

.blog-back-to-top {
  position: fixed;
  right: 40px;
  bottom: 38px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  color: var(--white);
  background: var(--button-red);
  border-radius: 50%;
  font-size: 1.55rem;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.blog-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.blog-back-to-top:hover {
  background: var(--button-red-hover);
  transform: translateY(-3px);
}

.blog-faq {
  max-width: 820px;
  margin: 56px auto 60px;
  padding-top: 88px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.blog-faq-title {
  margin: 0 0 34px;
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 800;
  text-align: center;
}

.blog-faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.blog-faq-item {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: var(--blog-panel);
  overflow: hidden;
}

.blog-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 26px;
  background: none;
  border: none;
  color: var(--white);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.blog-faq-question i {
  flex-shrink: 0;
  color: var(--blog-gold);
  font-size: 1.1rem;
  transition: transform 0.25s ease;
}

.blog-faq-item.is-open .blog-faq-question i {
  transform: rotate(180deg);
}

.blog-faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 26px;
  color: #c8c8c8;
  font-size: 1rem;
  line-height: 1.65;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.blog-faq-answer p {
  margin: 0 0 16px;
}

.blog-faq-answer p:last-child {
  margin-bottom: 0;
}

.blog-faq-item.is-open .blog-faq-answer {
  max-height: 600px;
  padding: 0 26px 24px;
}

.blog-post-nav {
  max-width: 1144px;
  margin: 0 auto 28px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.blog-post-nav-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: var(--blog-panel);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.blog-post-nav-next:hover {
  border-color: var(--blog-gold);
  transform: translateY(-2px);
}

.blog-post-nav-next > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.blog-post-nav-label {
  color: var(--blog-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.blog-post-nav-title {
  overflow: hidden;
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.blog-post-nav-next i {
  flex-shrink: 0;
  color: var(--blog-gold);
  font-size: 1.4rem;
  transition: transform 0.2s ease;
}

.blog-post-nav-next:hover i {
  transform: translateX(4px);
}

.blog-post-nav-prev {
  justify-content: flex-start;
}

.blog-post-nav-prev > div {
  align-items: flex-start;
  text-align: left;
}

.blog-post-nav-prev:hover i {
  transform: translateX(-4px);
}

.blog-consult-banner {
  max-width: 1144px;
  margin: 0 auto 60px;
}

.blog-consult-banner a {
  display: block;
  padding: clamp(44px, 6vw, 76px) 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: radial-gradient(at 50% 0%, rgba(197, 86, 86, 0.16) 0%, transparent 70%);
  color: transparent;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 5.4vw, 4.4rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
  -webkit-text-stroke: 1.5px var(--white);
  transition: color 0.35s ease, -webkit-text-stroke 0.35s ease, border-color 0.25s ease;
}

.blog-consult-banner a:hover {
  color: var(--blog-gold);
  border-color: var(--blog-gold);
  -webkit-text-stroke: 1.5px var(--blog-gold);
}

@media (max-width: 1080px) {
  .blog-reader-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 32px;
  }

  .blog-reading-map {
    display: none;
  }
}

@media (max-width: 900px) {
  .blog-list,
  .blog-post {
    width: min(100% - 28px, 1400px);
    padding: 72px 0 70px;
  }

  .blog-heading h1,
  .blog-post h1 {
    font-size: 2.45rem;
    line-height: 1.14;
  }

  .blog-hero-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
    margin: 34px 0 44px;
  }

  .blog-post-header {
    margin: 0;
  }

  .blog-cover {
    aspect-ratio: 16 / 10;
    margin: 0;
  }

  .blog-reader-grid,
  .blog-reader-grid--no-toc {
    display: block;
  }

  .blog-toc-panel {
    padding: 24px;
    margin-bottom: 24px;
  }

  .blog-toc-panel a {
    grid-template-columns: 28px minmax(0, 1fr);
    font-size: 1rem;
  }

  .blog-booking-card--top,
  .blog-booking-card--sticky {
    display: none;
  }

  .blog-reading-map {
    display: none;
  }

  .blog-tldr {
    margin: 0 0 52px;
    padding: 24px;
  }

  .blog-tldr li {
    grid-template-columns: 38px minmax(0, 1fr);
    font-size: 1.05rem;
  }

  .blog-post-content {
    font-size: 1.04rem;
  }

  .blog-post-content h2 {
    font-size: 1.95rem;
  }

  .blog-back-to-top {
    right: 18px;
    bottom: 18px;
    width: 52px;
    height: 52px;
    font-size: 1.35rem;
  }

  body:has(.blog-post) .floating-widget {
    display: none;
  }

  .blog-grid li > a {
    flex-direction: column;
  }

  .blog-card-image {
    flex: none;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .blog-card-body {
    padding: 24px;
  }
}

/* Use the dark button color consistently across all primary actions. */
.btn-primary,
.cta-btn,
.audit-promo-btn,
button[type="submit"],
.success-button {
  background: var(--button-red) !important;
}

.btn-primary:hover,
.cta-btn:hover,
.audit-promo-btn:hover,
button[type="submit"]:hover,
.success-button:hover {
  background: var(--button-red-hover) !important;
}

.contact-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.contact-step {
  border: 1px solid var(--light-gray);
  border-radius: 16px;
  padding: 1.75rem;
  text-align: center;
}

.contact-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-red);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.contact-step p {
  color: var(--light-gray);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

.contact-faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
}

.contact-faq-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-faq-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.contact-faq-item p {
  color: var(--light-gray);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

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