:root {
  --primary: #1565c0;
  --primary-dark: #3a47a3;
  --secondary: #2ed0e4;
  --accent: #e41d78;
  --ink: #171326;
  --muted: #67607f;
  --surface: #f5f2fb;
  --white: #ffffff;
  --border: rgba(58, 71, 163, 0.14);
  --shadow: 0 24px 60px rgba(58, 28, 109, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(228, 29, 120, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(46, 208, 228, 0.08), transparent 24%),
    linear-gradient(180deg, #fcfbff 0%, #f2f4fb 100%);
  overflow-x: hidden;
}

.section-padding {
  padding: 74px 0;
}

.topbar {
  background: linear-gradient(90deg, #3a47a3, #7c2f97);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
}

.topbar a,
.footer a {
  color: #fff;
  text-decoration: none;
}

.social-links {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.social-links a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(58, 71, 163, 0.1);
}

.navbar-brand {
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-logo {
  height: 60px;
  width: auto;
  display: block;
}

.footer-logo {
  max-width: 280px;
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}

.nav-link {
  font-weight: 700;
  color: var(--ink);
}

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

.btn-brand,
.btn-outline-brand,
.btn-dark-brand {
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  font-weight: 700;
}

.btn-brand {
  background: linear-gradient(135deg, var(--accent), #7c2f97);
  border: none;
  color: #fff;
  box-shadow: 0 14px 28px rgba(228, 29, 120, 0.26);
}

.btn-brand:hover {
  color: #fff;
  transform: translateY(-2px);
}

.btn-brand .cta-icon {
  display: inline-block;
  margin-right: 0.45rem;
  font-size: 1.15rem;
  line-height: 1;
  vertical-align: -0.08em;
  animation: ctaWiggle 1.4s ease-in-out infinite;
  transform-origin: center;
}

.btn-outline-brand {
  border: 1px solid rgba(255, 255, 255, 0.44);
  color: #fff;
}

.btn-outline-brand:hover {
  color: #3a47a3;
  background: #fff;
}

.btn-dark-brand {
  background: #3a47a3;
  color: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(46, 208, 228, 0.16), transparent 24%),
    radial-gradient(circle at bottom left, rgba(228, 29, 120, 0.14), transparent 26%),
    linear-gradient(130deg, #2b1b5f 0%, #3a47a3 42%, #e41d78 100%);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent);
}

.hero-badge,
.page-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.48rem 0.95rem;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.92rem;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(2.35rem, 4vw, 4.7rem);
  line-height: 1.02;
  font-weight: 800;
}

.hero p,
.page-hero p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-image-wrap {
  position: relative;
  padding: 1rem;
}

.hero-main-image {
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  animation: floatY 5.5s ease-in-out infinite;
}

img {
  max-width: 100%;
  height: auto;
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.floating-badge strong {
  display: block;
  font-size: 0.96rem;
}

.floating-badge span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.floating-badge.top {
  right: -10px;
  top: 48px;
  animation: floatY 4.2s ease-in-out infinite;
}

.floating-badge.bottom {
  left: -8px;
  bottom: 56px;
  animation: floatY 4.8s ease-in-out infinite reverse;
}

.floating-badge .card-icon {
  flex: 0 0 auto;
}

.hero-card,
.info-card,
.service-card,
.stat-card,
.timeline-card,
.contact-card,
.media-card,
.feature-card,
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card,
.service-card,
.info-card,
.feature-card,
.value-card,
.media-card,
.timeline-card,
.contact-card,
.stat-card {
  height: 100%;
  padding: 1.7rem;
}

.hero-card {
  color: var(--ink);
}

.hero-card p,
.hero-card .text-muted-custom,
.hero-card .list-group-item,
.hero-card .list-group-item span,
.hero-card .list-group-item strong {
  color: var(--ink);
}

.hero-card .metric {
  color: var(--primary);
}

.hero-card .list-group-item {
  border: 0;
  padding-left: 0;
  padding-right: 0;
}

.card-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 47, 151, 0.12), rgba(46, 208, 228, 0.16));
  color: var(--primary);
  font-size: 1.4rem;
}

.section-title {
  max-width: 760px;
  margin-bottom: 1.6rem;
}

.section-title .eyebrow,
.eyebrow {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-title h2 {
  font-size: clamp(2rem, 3vw, 3.15rem);
  font-weight: 800;
  margin-bottom: 0.45rem;
}

.service-card h3,
.feature-card h3,
.value-card h3,
.media-card h3,
.timeline-card h3,
.contact-card h3 {
  margin-bottom: 0.45rem;
}

.section-title p,
.lead-text,
.text-muted-custom {
  color: var(--muted);
}

.metric {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
}

.highlight-strip {
  background: linear-gradient(135deg, rgba(124, 47, 151, 0.08), rgba(46, 208, 228, 0.12));
  border: 1px solid rgba(58, 71, 163, 0.08);
  border-radius: 22px;
  padding: 1.5rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(46, 208, 228, 0.2), transparent 20%),
    radial-gradient(circle at top right, rgba(228, 29, 120, 0.18), transparent 20%),
    linear-gradient(130deg, #311f68 0%, #3a47a3 54%, #7c2f97 100%);
  color: #fff;
  padding: 96px 0 54px;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -80px auto;
  width: 320px;
  height: 320px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.page-hero .breadcrumb,
.page-hero .breadcrumb a,
.page-hero .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.72);
}

.page-hero .breadcrumb a {
  text-decoration: none;
}

.service-card,
.feature-card,
.value-card,
.media-card,
.timeline-card,
.contact-card,
.stat-card,
.info-card {
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.service-card:hover,
.feature-card:hover,
.value-card:hover,
.media-card:hover,
.timeline-card:hover,
.contact-card:hover,
.stat-card:hover,
.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 65px rgba(58, 28, 109, 0.16);
  border-color: rgba(46, 208, 228, 0.24);
}

.service-media {
  margin: -1.7rem -1.7rem 1.25rem;
  overflow: hidden;
  border-radius: 24px 24px 18px 18px;
  background: linear-gradient(135deg, #ede7fb, #f9fbff);
}

.service-media img,
.story-image,
.repair-image {
  width: 100%;
  display: block;
}

.repair-image,
.story-image {
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.shop-panel {
  position: relative;
}

.image-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(8, 24, 38, 0.86);
  color: #fff;
}

.contact-list li,
.check-list li {
  margin-bottom: 0.8rem;
}

.check-list i,
.contact-list i {
  color: var(--secondary);
  margin-right: 0.75rem;
}

.repair-strip {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(135deg, #311f68, #7c2f97);
  color: #fff;
}

.repair-strip .content {
  padding: 2.2rem;
}

.repair-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-banner {
  background: linear-gradient(135deg, #3a47a3, #e41d78);
  color: #fff;
  border-radius: 30px;
  padding: 2.4rem;
  box-shadow: var(--shadow);
}

.footer {
  background: linear-gradient(135deg, #24154e, #3a47a3);
  color: rgba(255, 255, 255, 0.75);
}

.footer-title {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}


.form-control,
.form-select {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border-color: rgba(58, 71, 163, 0.18);
}

.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 0 0.25rem rgba(228, 29, 120, 0.12);
  border-color: rgba(124, 47, 151, 0.42);
}

.map-frame {
  border: 0;
  width: 100%;
  min-height: 320px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.media-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.quick-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quick-action {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 18px 35px rgba(58, 28, 109, 0.18);
  color: #fff;
  font-size: 1.3rem;
  text-decoration: none;
}

.quick-action.call {
  background: linear-gradient(135deg, #3a47a3, #1565c0);
}

.quick-action.whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.quick-action:hover {
  transform: translateY(-3px);
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

.delay-3 {
  transition-delay: 0.24s;
}

.float-soft {
  animation: floatY 5s ease-in-out infinite;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes ctaWiggle {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }
  20% {
    transform: rotate(-10deg) scale(1.06);
  }
  40% {
    transform: rotate(10deg) scale(1.06);
  }
  60% {
    transform: rotate(-6deg) scale(1.02);
  }
  80% {
    transform: rotate(6deg) scale(1.02);
  }
}

@media (max-width: 991.98px) {
  .section-padding {
    padding: 58px 0;
  }

  .topbar {
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .navbar .container {
    gap: 0.6rem;
  }

  .navbar-collapse {
    margin-top: 0.8rem;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 40px rgba(58, 28, 109, 0.1);
  }

  .navbar-nav {
    align-items: stretch !important;
  }

  .navbar-nav .nav-link,
  .navbar-nav .btn {
    text-align: center;
  }

  .navbar-nav .btn {
    width: 100%;
    margin-top: 0.25rem;
  }

  .hero,
  .page-hero {
    text-align: center;
  }

  .hero .btn,
  .page-hero .btn {
    width: 100%;
    margin-bottom: 0.75rem;
  }

  .floating-badge.top,
  .floating-badge.bottom {
    position: static;
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
  }

  .image-caption {
    position: static;
    border-radius: 0 0 18px 18px;
  }

  .repair-strip .row > [class*="col-"]:first-child img,
  .shop-panel img {
    border-radius: 24px 24px 0 0;
  }

  .footer .row > [class*="col-"] {
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .hero-badge,
  .page-badge {
    font-size: 0.84rem;
    padding: 0.42rem 0.8rem;
  }

  .hero-main-image {
    border-radius: 22px;
  }

  .hero-card,
  .service-card,
  .info-card,
  .feature-card,
  .value-card,
  .media-card,
  .timeline-card,
  .contact-card,
  .stat-card {
    padding: 1.2rem;
  }

  .service-media {
    margin-bottom: 0.9rem;
  }

  .repair-strip,
  .cta-banner,
  .map-frame {
    border-radius: 20px;
  }

  .quick-action {
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
  }

  .footer-bottom {
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .brand-logo {
    height: 42px;
  }

  .quick-actions {
    right: 12px;
    bottom: 12px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 1.8rem;
  }

  .cta-banner,
  .repair-strip .content {
    padding: 1.6rem;
  }

  .service-media {
    margin-left: -1rem;
    margin-right: -1rem;
    margin-top: -1rem;
  }

  .section-title {
    margin-bottom: 1.15rem;
  }

  .section-title h2 {
    font-size: 1.75rem;
  }

  .hero-card .metric,
  .metric {
    font-size: 2rem;
  }

  .page-hero {
    padding-top: 78px;
    padding-bottom: 42px;
  }

  .topbar .container,
  .footer-bottom {
    font-size: 0.9rem;
  }

  .contact-card form .col-12.d-flex,
  .contact-card form .col-12.d-flex small,
  .contact-card form .col-12.d-flex button {
    width: 100%;
    text-align: center;
  }

  .contact-card form .btn-brand {
    width: 100%;
  }

  body {
    padding-bottom: 84px;
  }
}
