:root {
  --color-bg: #05060c;
  --color-surface: #0f172a;
  --color-surface-alt: #131b2b;
  --color-text: #eff6ff;
  --color-muted: #94a3b8;
  --color-primary: #e61b21;
  --color-primary-dark: #c8171b;
  --color-warning: #d63c41;
  --color-service: #db5a5c;
  --color-service-soft: rgba(240, 75, 80, 0.13);
  --scroll-offset: 77px;
  --bs-primary: var(--color-primary);
  --bs-warning: var(--color-warning);
  --bs-primary-rgb: 230, 27, 33;
  --radius: 1.75rem;
  --max-width: 1180px;
}

.text-warning {
  color: var(--color-warning) !important;
}

.btn-primary {
  color: #ffffff;
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus {
  color: #ffffff;
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
  color: #ffffff;
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.btn-primary.disabled,
.btn-primary:disabled {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-warning {
  color: #ffffff;
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning.focus {
  color: #ffffff;
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.btn-warning:active,
.btn-warning.active,
.show > .btn-warning.dropdown-toggle {
  color: #ffffff;
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.btn-warning.disabled,
.btn-warning:disabled {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-offset);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--color-text);
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 122, 24, 0.1),
      transparent 20%
    ),
    linear-gradient(180deg, #040611 0%, #090d18 100%);
}

img,
svg {
  max-width: 100%;
  display: block;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.language-picker {
  gap: 0.5rem;
}

.language-picker > .btn {
  border: none;
  background: transparent;
  color: #ffffff;
}

.language-picker > .btn:hover,
.language-picker > .btn:focus {
  background: rgba(15, 23, 42, 1);
  color: #ffffff;
}

.language-btn {
  background: transparent;
  color: #ffffff;
  padding: 0.45rem 0.75rem;
  border-radius: 0.75rem;
  font-weight: 600;
  min-width: 42px;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.language-btn img,
.flag-icon {
  width: 20px;
  height: auto;
  display: block;
}

.dropdown-menu {
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.dropdown-menu li + li {
  margin-top: 0.35rem;
}

.dropdown-item {
  color: #f8fafc;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.language-btn.active {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.language-btn:hover,
.language-btn:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.38);
}

.message-modal-body {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 1.25rem;
}

.message-modal-status {
  width: 72px;
  height: 72px;
  min-width: 72px;
  min-height: 72px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.9);
  color: #ffffff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
}

.message-modal-status.success {
  background: rgba(56, 189, 248, 0.15);
  color: #22c55e;
}

.message-modal-status.error {
  background: rgba(248, 113, 113, 0.16);
  color: #f87171;
}

.message-modal-status.info {
  background: rgba(59, 130, 246, 0.16);
  color: #60a5fa;
}

.message-modal-status i {
  font-size: 2rem;
}

.message-modal-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #dbeafe;
}

.language-picker {
  gap: 0.5rem;
}

.language-btn {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  padding: 0.45rem 0.75rem;
  border-radius: 0.75rem;
  font-weight: 600;
  min-width: 42px;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.language-btn:hover,
.language-btn.active {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.38);
}

.container {
  width: min(100%, calc(100% - 2rem));
  max-width: var(--max-width);
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--color-warning);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.85rem;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 20, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header .navbar {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.site-header .navbar-brand {
  letter-spacing: 0.08em;
}

.brand-logo-wrapper {
  position: relative;
  width: 120px;
  height: 40px;
}

.brand-logo-wrapper img {
  position: relative;
  z-index: 1;
  height: 100%;

  width: 100%;
  display: block;
  object-fit: contain;
}

.site-header .navbar-nav {
  margin-left: auto;
  list-style: none !important;
  padding-left: 0 !important;
}

.site-header .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85);
  padding: 0.45rem 0.8rem;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.site-header .navbar-nav .nav-link:hover,
.site-header .navbar-nav .nav-link:focus {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
}

.site-header .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.22);
}

@media (max-width: 991px) {
  .site-header .navbar-nav {
    margin-top: 1rem;
  }

  .site-header .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
  }
}

.hero {
  display: flex;
  align-items: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hero h1 {
  line-height: 1.05;
}

.hero p.lead {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.8) !important;
}

.hero .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

.hero .row {
  align-items: stretch;
}

.hero-card {
  position: relative;
  height: 100%;
}

.hero-image {
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.7));
}

.stat-card,
.info-box,
.service-card,
.project-card,
.testimonial-card,
.contact-card,
.map-card,
.process-step {
  background: rgba(15, 23, 42, 0.92);
}

.stat-card,
.info-box,
.service-card,
.process-step,
.testimonial-card,
.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.stat-card {
  min-height: 140px;
  padding: 1.4rem 1.3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(17, 25, 35, 0.96);
}

.stat-card span {
  display: block;
  font-size: 2.6rem;
  line-height: 1;
  font-weight: 700;
  color: #ffffff;
}

.stat-card p {
  color: rgba(255, 255, 255, 0.72) !important;
  margin-bottom: 0;
}

.info-box {
  padding: 1.5rem 1.25rem;
}

.info-box h3,
.service-card h3,
.testimonial-card strong,
.contact-card h2 {
  color: #ffffff;
}

.section-header {
  position: relative;
}

.section-header::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.8rem;
  transform: translateX(-50%);
  width: 5rem;
  height: 0.2rem;
  background: var(--color-warning);
  border-radius: 99px;
}

.service-card {
  padding: 1.8rem 1.6rem;
  border-radius: 1.75rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(13, 18, 32, 0.95);
}

.service-card h3 {
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.service-card-header h3 {
  margin-top: 0;
  margin-bottom: 0.25rem;
}

.service-card p,
.service-card .text-muted {
  color: rgba(255, 255, 255, 0.86) !important;
  line-height: 1.7;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  border-color: rgba(255, 122, 24, 0.18);
}

.service-icon {
  width: 52px;
  min-width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--color-service-soft);
  color: var(--color-service);
  font-size: 1.15rem;
  border: 1px solid rgba(230, 27, 33, 0.12);
}

.section#services .service-card {
  min-height: auto;
}

.section#services .service-card .service-icon {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.project-card {
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 180px;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.project-card:hover img {
  transform: scale(1.04);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 0.75rem;
  background-color: rgba(15, 23, 42, 0.5);
  position: relative;
  cursor: pointer;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.35s ease;
  z-index: 1;
  pointer-events: none;
}

.gallery-item:hover::after {
  background-color: rgba(0, 0, 0, 0.3);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

@media (max-width: 1199px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

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

.testimonial-card {
  padding: 1.75rem 1.4rem;
  border-radius: 1.5rem;
  max-width: 860px !important;
  margin: 0 auto;
}

.testimonial-card::before {
  display: none;
}

.testimonial-carousel {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}

.testimonial-carousel .carousel-inner {
  padding-bottom: 0;
}

.testimonial-carousel .carousel-indicators {
  position: static;
  width: auto;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0;
  margin: 0 auto;
}

.testimonial-carousel .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.35);
}

.testimonial-carousel .carousel-indicators .active {
  background-color: var(--color-warning);
}

.testimonial-carousel .carousel-item {
  padding: 1rem 0;
}

.testimonial-carousel .testimonial-card {
  background: rgba(13, 18, 32, 0.95);
  border-color: rgba(255, 255, 255, 0.1);
}

.testimonial-carousel .text-warning i {
  font-size: 0.85rem;
}

.contact-card {
  padding: 1.75rem 1.4rem;
  border-radius: 1.5rem;
  background: rgba(13, 18, 32, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

section,
.section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.section-secondary {
  background: #060912;
}

.section-secondary,
.section-secondary p,
.section-secondary .text-muted {
  color: rgba(255, 255, 255, 0.8);
}

.section-secondary .text-muted {
  color: rgba(255, 255, 255, 0.72) !important;
}

.section-header {
  max-width: 680px;
  margin: 0 auto;
}

.section-header h2 {
  margin-top: 0.75rem;
}

.project-card img {
  border-radius: 1.5rem;
}

.process-list {
  gap: 1.25rem;
}

.process-step {
  padding: 2rem;
  min-height: 240px;
  border-radius: 1.75rem;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(13, 18, 32, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.process-step p,
.process-step .text-muted {
  color: rgba(255, 255, 255, 0.78) !important;
  line-height: 1.7;
}

.process-number {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  align-items: center;
  justify-content: center;
  background: rgba(255, 122, 24, 0.16);
  color: var(--color-warning);
  font-weight: 700;
}

.testimonial-card {
  padding: 2rem;
  border-radius: 1.75rem;
}

.contact-card {
  padding: 2rem;
  border-radius: 1.75rem;
}

.bg-black-alt {
  background: rgba(255, 255, 255, 0.04) !important;
}

.contact-card .form-control,
.contact-card .form-control:focus,
.contact-card textarea {
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-card .form-label,
.contact-card .form-label.text-muted,
.contact-card label {
  color: rgba(255, 255, 255, 0.88) !important;
}

.contact-card .form-control::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

..contact-card .form-privacy-note {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 1rem;
}

.contact-card .form-privacy-note a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-card .form-privacy-note a:hover,
.contact-card .form-privacy-note a:focus {
  color: var(--color-primary-dark);
}

.map-card {
  border-radius: 1.75rem;
  overflow: hidden;
}

.faq .accordion-item,
.faq .accordion-button {
  background: rgba(13, 18, 32, 0.95);
}

.faq .accordion-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.faq .accordion-button {
  color: #f8fafc;
  box-shadow: none;
}

.faq-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.faq-filter-buttons {
  width: 100%;
}

.faq-filter-select {
  width: 100%;
  max-width: 420px;
}

.faq-filters button {
  white-space: nowrap;
}

.faq .accordion-button::after {
  filter: invert(1);
}

.faq .accordion-button:not(.collapsed) {
  background: rgba(255, 122, 24, 0.14);
  color: #ffffff;
}

.faq .accordion-body,
.faq .accordion-body.text-muted,
.faq .accordion-body .text-muted {
  background: rgba(15, 23, 42, 0.94);
  color: rgba(255, 255, 255, 0.88) !important;
}

.chat-button {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 3.6rem;
  height: 3.6rem;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.35rem;
  z-index: 60;
}

/* Flip Card Animation */
.flip-card {
  background-color: transparent;
  width: 100%;
  height: 100%;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transform-style: preserve-3d;
  min-height: 400px;
}

.flip-card-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: slideshow 42s infinite;
  animation-delay: calc(var(--slide-index) * -3s);
}

@keyframes slideshow {
  0% {
    opacity: 0;
  }
  7.15% {
    opacity: 1;
  }
  14.29% {
    opacity: 1;
  }
  21.44% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

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

.site-footer {
  background: #04070f;
}

.site-footer h3 {
  margin-bottom: 0.75rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.social-link:hover,
.social-link:focus {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  color: #f97316;
}

.banner-social {
  flex-wrap: wrap;
}

.banner-social .social-link {
  width: 2.75rem;
  height: 2.75rem;
}

.banner-social span {
  color: rgba(255, 255, 255, 0.72);
}

/* Gallery Modal */
.gallery-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 1050;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-modal.active {
  display: flex;
  opacity: 1;
}

.gallery-modal-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.gallery-modal-content img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 0.5rem;
}

.gallery-modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1051;
  padding: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.gallery-modal-close:hover {
  transform: scale(1.1);
}

@media (max-width: 767px) {
  .gallery-modal-close {
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
  }

  .gallery-modal-content {
    padding: 1rem;
  }

  .gallery-modal-content img {
    max-width: 95vw;
    max-height: 95vh;
  }
}

@media (max-width: 991px) {
  .hero {
    padding-top: 3rem;
  }
}

@media (max-width: 767px) {
  .process-list {
    flex-direction: column;
  }
}
