:root {
  --bg: #0a0a0a;
  --bg-soft: #121212;
  --bg-elevated: #181818;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f5f5;
  --text-soft: #c9c9c9;
  --text-muted: #8d8d8d;
  --white: #ffffff;
  --red: #b30000;
  --red-soft: #ff3b3b;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.6);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --container: 1280px;
  --header-height: 84px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.04), transparent 28%),
    radial-gradient(circle at top right, rgba(179, 0, 0, 0.08), transparent 22%),
    radial-gradient(circle at bottom center, rgba(255, 255, 255, 0.03), transparent 30%),
    linear-gradient(180deg, #050505 0%, #0a0a0a 35%, #0e0e0e 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 110px 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-tag::before {
  content: "";
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, var(--red-soft), rgba(255, 255, 255, 0.5));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading h2,
.about-content h2,
.contact-copy h2 {
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

.section-heading p,
.about-content p,
.contact-copy p,
.hero-description,
.stat-card p,
.service-card-content p,
.pricing-card li,
.site-footer p {
  color: var(--text-soft);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 15px 24px;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    color var(--transition);
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, #151515, #2a2a2a);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1a1a1a, #323232);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-strong);
}

.bg-overlay,
.bg-grid,
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
}

.bg-overlay {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 20%, transparent 80%, rgba(0, 0, 0, 0.3)),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.04), transparent 34%);
}

.bg-grid {
  z-index: -4;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
}

.bg-glow {
  filter: blur(70px);
  opacity: 0.35;
}

.bg-glow-1 {
  background: rgba(255, 255, 255, 0.08);
  width: 30vw;
  height: 30vw;
  top: -8vw;
  left: -6vw;
  border-radius: 50%;
  animation: floatGlow 10s ease-in-out infinite;
}

.bg-glow-2 {
  background: rgba(179, 0, 0, 0.1);
  width: 24vw;
  height: 24vw;
  right: -5vw;
  top: 20vh;
  border-radius: 50%;
  animation: floatGlow 14s ease-in-out infinite reverse;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo img {
  display: block;
  height: 130px;      /* main change */
  width: auto;
  max-width: none;   /* prevents squishing */
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 900;
  color: var(--white);
  background: linear-gradient(135deg, #111111, #2b2b2b);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text strong {
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.logo-text small {
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  position: relative;
  padding: 12px 15px;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color var(--transition), transform var(--transition);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-soft), transparent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.main-nav a:hover {
  color: var(--white);
  transform: translateY(-1px);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 999px;
}

.hero {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 60px 0 90px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(3.1rem, 7vw, 6.7rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  max-width: 11ch;
  margin-bottom: 22px;
}

.accent-text {
  color: #d9d9d9;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.08);
}

.hero-description {
  max-width: 640px;
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.stat-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  transition: transform var(--transition), border-color var(--transition);
}

.stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.16);
}

.stat-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.hero-visual {
  position: relative;
  min-height: 680px;
  perspective: 1200px;
}

.hero-image-card {
  position: absolute;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #111;
}

.hero-image-card img {
  height: 100%;
  transition: transform 0.9s ease;
}

.hero-image-card:hover img {
  transform: scale(1.06);
}

.hero-image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, transparent 35%, rgba(0, 0, 0, 0.45) 100%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 30%, rgba(179, 0, 0, 0.08));
}

.main-card {
  width: 78%;
  height: 560px;
  right: 0;
  top: 60px;
  transform: rotateY(-8deg) rotateX(4deg);
}

.top-card {
  width: 230px;
  height: 180px;
  left: 0;
  top: 10px;
  transform: rotateY(12deg) rotateX(-3deg);
  animation: floatCard 6s ease-in-out infinite;
}

.bottom-card {
  width: 260px;
  height: 190px;
  left: 40px;
  bottom: 30px;
  transform: rotateY(10deg) rotateX(2deg);
  animation: floatCard 7.5s ease-in-out infinite reverse;
}

.hero-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(14, 14, 14, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.hero-badge span {
  display: block;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.hero-badge strong {
  display: block;
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card,
.about-panel-box,
.pricing-card,
.gallery-item,
.contact-form,
.contact-info > div {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.service-card {
  overflow: hidden;
  border-radius: 28px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.55);
}

.service-card-image {
  height: 260px;
  overflow: hidden;
}

.service-card-image img {
  height: 100%;
  transition: transform 0.9s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.08);
}

.service-card-content {
  padding: 24px;
}

.service-card-content h3 {
  font-size: 1.45rem;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.about-content .btn {
  margin-top: 10px;
}

.about-content p + p {
  margin-top: 14px;
}

.about-panel {
  display: flex;
}

.about-panel-box {
  width: 100%;
  border-radius: 30px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-panel-box h3 {
  font-size: 1.8rem;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.about-panel-box ul {
  display: grid;
  gap: 14px;
}

.about-panel-box li {
  position: relative;
  padding-left: 22px;
  color: var(--text-soft);
}

.about-panel-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-soft);
  box-shadow: 0 0 14px rgba(255, 59, 59, 0.45);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.pricing-card {
  padding: 30px;
  border-radius: 28px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.16);
}

.pricing-card.featured {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    radial-gradient(circle at top right, rgba(179, 0, 0, 0.12), transparent 35%);
}

.pricing-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pricing-card h3 {
  font-size: 1.7rem;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 20px;
}

.pricing-card ul {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}

.pricing-card li {
  position: relative;
  padding-left: 22px;
}

.pricing-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 24px;
  min-height: 320px;
  transition: transform var(--transition), border-color var(--transition);
}

.gallery-item:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.16);
}

.gallery-item img {
  height: 100%;
  transition: transform 1s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.contact-info > div {
  padding: 18px 20px;
  border-radius: 20px;
}

.contact-info strong {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.contact-info span {
  color: var(--text);
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.contact-form {
  padding: 28px;
  border-radius: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px 16px;
  outline: none;
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    transform var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}

.contact-form select {
  color: var(--text-soft);
}

.contact-form textarea {
  resize: vertical;
  min-height: 160px;
  margin-bottom: 18px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

/* reveal animation */
.reveal-left,
.reveal-right {
  opacity: 0;
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-left {
  transform: translateX(-90px);
}

.reveal-right {
  transform: translateX(90px);
}

.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.site-footer {
  padding: 30px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.18);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-inner h3 {
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--text-soft);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

@keyframes floatGlow {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -20px, 0) scale(1.08);
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0) rotateY(12deg) rotateX(-3deg);
  }
  50% {
    transform: translateY(-14px) rotateY(13deg) rotateX(-1deg);
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 620px;
  }

  .services-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .main-card {
    width: 70%;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 74px;
  }

  .section {
    padding: 90px 0;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding: 40px 0 70px;
  }

  .hero-content h1 {
    max-width: 100%;
  }

  .hero-stats,
  .services-grid,
  .pricing-grid,
  .form-row,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 520px;
  }

  .main-card {
    position: relative;
    width: 100%;
    height: 380px;
    top: 0;
    right: 0;
    transform: none;
  }

  .top-card,
  .bottom-card {
    display: none;
  }

  .hero-badge {
    right: 16px;
    bottom: 16px;
  }

  .contact-form {
    padding: 22px;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 14px;
    border-radius: 24px;
    background: rgba(10, 10, 10, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(18px);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .main-nav.mobile-open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .main-nav a {
    width: 100%;
    padding: 14px 12px;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .menu-toggle span {
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 20px), var(--container));
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .section-heading h2,
  .about-content h2,
  .contact-copy h2 {
    font-size: clamp(1.9rem, 10vw, 2.8rem);
  }

  .hero-content h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .service-card-content,
  .pricing-card,
  .about-panel-box,
  .contact-form {
    padding: 20px;
  }

  .gallery-item {
    min-height: 240px;
  }

  .logo img {
    height: 40px !important;
    max-width: 180px;
  }

  .logo-text strong {
    font-size: 0.92rem;
  }

  .logo-text small {
    font-size: 0.7rem;
  }

}

.hover-bar {
  position: relative;
  overflow: hidden;
}

.hover-bar::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 14px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--red-soft),
    var(--red-soft),
    transparent
  );
  box-shadow: 0 0 10px rgba(255, 59, 59, 0.45);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
}

.hover-bar:hover::after {
  transform: scaleX(1);
}

.hover-bar {
  position: relative;
  overflow: visible; /* allows bar to sit outside */
}

.hover-bar::after {
  content: "";
  position: absolute;

  left: 20px;
  right: 20px;
  bottom: -14px; /* pushes it below the card */

  height: 3px;
  border-radius: 999px;

  background: linear-gradient(
    90deg,
    transparent,
    var(--red-soft),
    var(--red),
    var(--red-soft),
    transparent
  );

  box-shadow: 0 0 12px rgba(255, 59, 59, 0.6);

  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
}

.hover-bar:hover::after {
  transform: scaleX(1);
}

.service-card.service-glow {
  position: relative;
  overflow: visible;
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.service-card.service-glow::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 100%, rgba(255, 59, 59, 0.28), transparent 45%),
    radial-gradient(circle at 0% 50%, rgba(255, 59, 59, 0.10), transparent 30%),
    radial-gradient(circle at 100% 50%, rgba(255, 59, 59, 0.10), transparent 30%);
  opacity: 0;
  filter: blur(18px);
  z-index: -1;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
  transform: scale(0.98);
  pointer-events: none;
}

.service-card.service-glow::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 29px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255, 59, 59, 0.0),
    rgba(255, 59, 59, 0.55),
    rgba(255, 59, 59, 0.0)
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
  pointer-events: none;

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.service-card.service-glow:hover {
  border-color: rgba(255, 90, 90, 0.28);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 59, 59, 0.10);
}

.service-card.service-glow:hover::before {
  opacity: 1;
  transform: scale(1);
}

.service-card.service-glow:hover::after {
  opacity: 1;
}

.hover-glow-red {
  position: relative;
  overflow: visible;
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.hover-glow-red::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: inherit;

  background:
    radial-gradient(ellipse at bottom, rgba(255,59,59,0.35), transparent 40%),
    radial-gradient(circle at center, rgba(255,59,59,0.08), transparent 65%);

  opacity: 0;
  filter: blur(20px);
  z-index: -1;

  transform: scale(0.96);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;

  pointer-events: none;
}

.hover-glow-red:hover::before {
  opacity: 1;
  transform: scale(1);
}

.hover-glow-soft {
  position: relative;
  overflow: visible;
  isolation: isolate;
}

.hover-glow-soft::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -14px;
  height: 90px;
  border-radius: 999px;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 59, 59, 0.28) 0%,
    rgba(255, 59, 59, 0.14) 35%,
    rgba(255, 59, 59, 0.04) 60%,
    transparent 80%
  );
  filter: blur(20px);
  opacity: 0;
  transform: translateY(6px) scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  z-index: -1;
}

.hover-glow-soft:hover::before {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hover-glow-border {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hover-glow-border::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    180deg,
    rgba(255, 59, 59, 0.55),
    rgba(255, 59, 59, 0.2) 30%,
    rgba(255, 59, 59, 0.08) 65%,
    rgba(255, 59, 59, 0.4)
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 2;

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.hover-glow-border::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -10px;
  height: 60px;
  border-radius: 999px;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 59, 59, 0.22),
    transparent 72%
  );
  filter: blur(18px);
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  z-index: -1;
}

.hover-glow-border:hover::before,
.hover-glow-border:hover::after {
  opacity: 1;
  transform: scale(1);
}

.hover-edge-glow {
  position: relative;
  border-radius: inherit;
  isolation: isolate;
  overflow: visible;
}

/*.hover-edge-glow::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.45),
    rgba(255, 255, 255, 0.85)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 3;

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}*/

.hover-edge-glow::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.75);
  filter: blur(14px);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: scale(0.98);
  pointer-events: none;
  z-index: -1;
}
/*
.hover-edge-glow:hover::before {
  opacity: 1;
}*/

.hover-edge-glow:hover::after {
  opacity: 0.28;
  transform: scale(1);
}

