﻿@import url('../fonts/fonts.css');

h1 { font-family: 'Sanchez', Rockwell, Georgia, serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans', system-ui, sans-serif;
  background-color: #000;
  color: #fff;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { text-decoration: none; letter-spacing: 0.06em; }

/* ── Navbar ── */
#mainNav {
  transition: height 0.35s, background-color 0.35s;
  background-color: rgba(0,0,0,0.25);
  padding: 0;
  height: 150px;
}
#mainNav.navbar-solid {
  background-color: rgb(22 22 22 / 63%);
}
@media (min-width: 992px) {
  #mainNav.navbar-solid {
    background-color: rgb(22 22 22 / 95%);
  }
}
#mainNav.scrolled {
  height: 112px;
}
#mainNav .navbar-brand img {
  width: 101px;
  height: 101px;
  object-fit: contain;
  transition: width 0.35s, height 0.35s;
}
#mainNav.scrolled .navbar-brand img { width: 72px; height: 72px; }
#mainNav .nav-link { color: rgb(226,226,226) !important; font-size: 18px; font-weight: 400; letter-spacing: 0.06em; }
#mainNav .nav-link { transition: opacity 0.15s; }
#mainNav .nav-link:hover { opacity: 0.5; color: #fff !important; }
#mainNav .nav-link.active {
  text-decoration: underline;
  text-underline-offset: 9px;
  text-decoration-thickness: 1.6px;
}
#mainNav .navbar-toggler { border: none !important; box-shadow: none !important; }
#mainNav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2C255%2C255%2C1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c%2fsvg%3e");
}
#mainNav .navbar-collapse { background: transparent; }
/* Desktop: nav links absolutely centered in the container */
#mainNav .container-xl { max-width: none !important; }
@media (min-width: 992px) {
  #mainNav .container-xl { position: relative; padding-left: 48px !important; padding-right: 48px !important; }
  #mainNav .navbar-nav {
    position: absolute !important;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 !important;
    white-space: nowrap;
    gap: 1rem !important;
  }
  #mainNav .navbar-collapse { justify-content: flex-end; }
}
@media (max-width: 991.98px) {
  #mainNav .navbar-collapse {
    background: rgba(0,0,0,0.95);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1rem;
  }
  #mainNav .nav-link { padding: 0.75rem 0.75rem; }
}
/* ── Dropdown caret → chevron ── */
#mainNav .nav-link.dropdown-toggle::after {
  display: inline-block;
  content: '';
  width: 0.45em;
  height: 0.45em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
  transform-origin: center;
  margin-left: 0.4em;
  vertical-align: 0.12em;
  transition: transform 0.22s, vertical-align 0.22s;
}
#mainNav .nav-link.dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(-135deg);
  vertical-align: -0.06em;
}
.dropdown-menu {
  background: rgb(22,22,22) !important;
  border: none !important;
  border-radius: 0 !important;
  min-width: 14rem;
  padding: 1.1rem 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
#mainNav.navbar-solid .dropdown-menu {
  background: rgb(22,22,22) !important;
}
.dropdown-item {
  color: rgb(164, 164, 164) !important;
  font-size: 17px;
  padding: 0.25rem 1.25rem;
  transition: opacity 0.15s;
}
.dropdown-item:hover { opacity: 0.5; background: transparent !important; }
.dropdown-item.active {
  text-decoration: underline !important;
  text-underline-offset: 9px;
  text-decoration-thickness: 1.6px;
  background: transparent !important;
}

/* ── Hero ── */
.hero-section {
  position: relative;
  height: 80vh;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  padding: 0 2rem 4rem;
  overflow: hidden;
}
.hero-swiper { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-swiper .swiper-slide { height: 100%; }
.hero-slide-bg {
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
  transform: scale(1.06);
  transition: transform 6s ease;
}
.hero-swiper .swiper-slide-active .hero-slide-bg { transform: scale(1); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: rgb(22 22 22 / 41%); }
.hero-content {
  position: relative;
  z-index: 2;
  border-left: 1px solid rgba(255,255,255,0.35);
  padding-left: 1.75rem;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
.hero-pagination { bottom: 1.5rem !important; z-index: 3 !important; }
.hero-pagination .swiper-pagination-bullet { background: rgba(255,255,255,0.5); opacity: 1; width: 8px; height: 8px; }
.hero-pagination .swiper-pagination-bullet-active { background: #fff; transform: scale(1.3); }
.hero-title { font-size: clamp(2rem, 5vw, 4rem); font-weight: 400; line-height: 1.15; }
.hero-subtitle { font-size: 24px; }

/* ── Sections ── */
.section { padding-top: 6rem; padding-bottom: 6rem; }
.section-sm { padding-top: 3rem; padding-bottom: 3rem; }
.page-header { padding-top: 11rem; padding-bottom: 1.5rem; }
.nav-spacer { height: 150px; background: rgb(22, 22, 22); }
@media (max-width: 767.98px) { .nav-spacer { height: 96px; } }
.page-content { padding-top: 0; padding-bottom: 4rem; overflow-x: hidden; }
.section-divider { border-top: 1px solid rgba(255,255,255,0.1); }
.white-line { display: block; height: 1px; background: rgba(255,255,255,0.2); margin-bottom: 1.5rem; }
.white-line-solid { display: block; height: 1px; background: #fff; }

/* ── Buttons ── */
.btn-red { background-color: rgb(184,57,57); color: #fff !important; border: 2px solid transparent; border-radius: 0; transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out, color 0.3s ease-in-out; }
.btn-red:hover { background-color: transparent !important; border-color: rgb(184,57,57) !important; color: rgb(184,57,57) !important; }
#langBtn {
  width: 105px;
  height: 56px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  font-weight: 700;
}
.btn-outline-wh {
  border: 2px solid #fff; color: #000 !important; background: #fff;
  font-family: 'Noto Sans', Arial, sans-serif;
  font-size: 1.1rem; font-weight: 700;
  width: 212px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, border-color 0.3s ease-in-out;
  letter-spacing: 0.08em;
}
.btn-outline-wh:hover { background: #000 !important; color: rgb(94,94,94) !important; border-color: rgb(94,94,94); }
.btn-outline-wh.no-hover:hover { background: #fff !important; color: #000 !important; border-color: #fff !important; }
.btn-outline-wh.no-hover { width: auto !important; padding: 0 1.5rem !important; }
.btn-price {
  display: inline-block; margin-top: 0.4rem; padding: 0.25rem 1rem;
  background: #dc2626; color: #fff; font-size: 0.75rem; font-weight: 600;
  transition: background-color 0.15s;
}
.btn-price:hover { background: #b91c1c; color: #fff; }

/* ── Image containers ── */
.img-box { position: relative; overflow: hidden; }
.img-box img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.ratio-4x3 { aspect-ratio: 4/3; }
.ratio-3x4 { aspect-ratio: 3/4; }
.ratio-16x7 { aspect-ratio: 16/7; }
.ratio-sq { aspect-ratio: 1/1; }

/* ── Gallery ── */
.gallery-item { overflow: hidden; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; display: block; }
.gallery-item:hover img { transform: scale(1.05); }

/* ── Gallery Lightbox ── */
.gallery-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.22s;
}
.gallery-lightbox.open { opacity: 1; pointer-events: all; }
.gallery-lightbox > img {
  max-width: 90vw; max-height: 85vh; object-fit: contain; display: block; user-select: none;
}
.lightbox-close {
  position: absolute; top: 1rem; right: 1.5rem;
  background: none; border: none; color: rgba(255,255,255,0.7);
  font-size: 2rem; cursor: pointer; line-height: 1; transition: color 0.15s;
}
.lightbox-close:hover { color: #fff; }
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.08); border: none; color: #fff;
  font-size: 2.5rem; cursor: pointer; padding: 0.5rem 1rem;
  transition: background-color 0.15s; line-height: 1;
}
.lightbox-prev { left: 0; }
.lightbox-next { right: 0; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.18); }

/* ── Social icons ── */
.social-icon {
  width: 4rem; height: 4rem; border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%; display: inline-flex; align-items: center;
  justify-content: center; color: #fff; transition: background-color 0.15s;
}
.social-icon:hover { background: rgba(255,255,255,0.1); color: #fff; }
.social-title {
  font-family: 'Sanchez', Rockwell, Georgia, serif;
  font-size: 1.125rem; font-weight: 400;
}
.partners-title {
  font-family: 'Noto Sans', system-ui, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 400;
}
@media (min-width: 1536px) {
  .partners-title { font-size: 36px; }
}

/* ── WhatsApp FAB ── */
.whatsapp-fab { display: none !important; }

/* ── Chat Widget ── */
.chat-widget {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 1040;
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.75rem;
  pointer-events: none;
}
.chat-widget > * { pointer-events: all; }
.chat-fab-btn {
  width: 4.25rem; height: 4.25rem; background: #b91c1c; border-radius: 50%;
  border: none; cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.45); transition: background-color 0.15s;
}
.chat-fab-btn:hover { background: #991b1b; }
.chat-fab-btn.open { background: rgb(85, 85, 85); }
.chat-fab-btn.open:hover { background: rgb(65, 65, 65); }
.chat-fab-btn svg { color: #fff; }
.chat-panel {
  width: 320px; background: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
  display: flex; flex-direction: column;
  max-height: calc(100dvh - 7rem);
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  transform: translateY(12px); opacity: 0; pointer-events: none;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.chat-panel::-webkit-scrollbar { display: none; }
.chat-panel.open { transform: translateY(0); opacity: 1; pointer-events: all; }
.chat-panel-header {
  background: #b91c1c;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 0.5rem; padding: 1.25rem 1rem;
}
.chat-panel-company { font-size: 1.1rem; font-weight: 700; color: #fff; line-height: 1.4; margin: 0; }
.chat-panel-close {
  background: none; border: none; color: rgba(255,255,255,0.7);
  font-size: 1.125rem; cursor: pointer; padding: 0; line-height: 1; flex-shrink: 0;
  transition: color 0.15s;
}
.chat-panel-close:hover { color: #fff; }
.chat-panel-greeting {
  background: #fce8e8; border-radius: 0 0.75rem 0.75rem 0.75rem;
  font-size: 1rem; color: #333; line-height: 1.65;
  margin: 1rem; padding: 0.875rem 1rem; position: relative;
}
.chat-panel-greeting::before {
  content: ''; position: absolute; top: 0; left: -8px;
  width: 0; height: 0;
  border-top: 0 solid transparent;
  border-right: 8px solid #fce8e8;
  border-bottom: 8px solid transparent;
}
.chat-form { display: flex; flex-direction: column; gap: 0.625rem; padding: 0 1rem 1.25rem; }
.chat-input {
  background: #fff; border: 1.5px solid #d1d5db;
  color: #111; font-size: 1rem; padding: 0.625rem 0.875rem;
  outline: none; font-family: inherit; width: 100%; transition: border-color 0.15s;
  border-radius: 4px;
}
.chat-input::placeholder { color: #9ca3af; }
.chat-input:focus { border-color: #b91c1c; }
.chat-textarea { resize: none; }
.chat-send {
  background: #b91c1c; color: #fff; border: none;
  padding: 0.75rem; font-size: 1rem; font-weight: 700;
  cursor: pointer; font-family: inherit; transition: background-color 0.15s;
  border-radius: 4px; margin-top: 0.25rem;
}
.chat-send:hover { background: #991b1b; }
@media (max-width: 400px) {
  .chat-panel { width: calc(100vw - 3rem); }
  .chat-widget { bottom: 1rem; right: 1rem; }
}

/* ── Cookie ── */
.cookie-banner {
  display: none; position: fixed; bottom: 0; right: 0; width: 100%;
  background: #b91c1c; color: #fff; padding: 1.5rem; z-index: 2000;
  animation: slideUp 0.5s ease-out;
}
@media (min-width: 576px) { .cookie-banner { width: 20rem; bottom: 1.5rem; right: 1.5rem; } }
@keyframes slideUp { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ── Subscribe input ── */
.subscribe-input {
  background: transparent !important;
  border: 2px solid rgb(171,171,171) !important;
  color: rgb(171,171,171) !important;
  border-radius: 0 !important;
  font-size: 18px !important;
  height: 56px;
  outline: none;
}
.subscribe-input::placeholder { color: rgb(171,171,171); }
.subscribe-input:focus { border-color: #fff !important; color: #fff !important; box-shadow: none !important; background: transparent !important; }

/* ── Forms ── */
.form-dark {
  background: transparent !important; border: 1px solid rgba(255,255,255,0.2) !important;
  color: #fff !important; border-radius: 0 !important; resize: none;
}
.form-dark::placeholder { color: #6b7280; }
.form-dark:focus { border-color: rgba(255,255,255,0.5) !important; box-shadow: none !important; background: transparent !important; color: #fff !important; outline: none; }

/* ── R&D card ── */
.rnd-card { border: 1px solid rgba(255,255,255,0.1); padding: 1.5rem; height: 100%; }

/* ── Text helpers ── */
.text-gray { color: rgb(145,145,145) !important; }
.text-gray-light { color: #d1d5db !important; }
.hero-section .hero-subtitle { color: #fff !important; }
.text-orange { color: #fb923c !important; }

/* ── Partners section ── */
.partners-section { background: #fff; }

/* ── Footer ── */
footer { background-color: #000; border-top: none; padding: 56px 0; }
footer .footer-link { color: #fff; font-size: 0.875rem; transition: opacity 0.15s; }
footer .footer-link:hover { opacity: 0.5; color: #fff; }
footer .copyright { color: rgb(145,145,145); font-size: 0.875rem; }
.footer-hr { border: none; border-top: 1px solid rgba(255,255,255,0.15); margin: 2rem 0 0; }
@media (max-width: 767.98px) {
  footer nav.d-flex { flex-direction: column !important; align-items: center; gap: 0.5rem !important; }
}

/* ── Mobile Drawer ── */
.mobile-drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 100%;
  background: rgb(22, 22, 22);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 2.5rem 3rem;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.mobile-drawer::-webkit-scrollbar { display: none; }
.mobile-drawer.open { transform: translateX(0); }
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s;
}
.drawer-backdrop.open { opacity: 1; pointer-events: all; }
.drawer-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.625rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  margin-bottom: 0.5rem;
  transition: color 0.15s;
}
.drawer-close:hover { color: rgb(214, 84, 84); }
.drawer-nav { flex: 1; }
.drawer-link {
  display: block;
  color: #fff;
  font-size: 1.25rem;
  text-decoration: none;
  padding: 1.125rem 0;
  transition: color 0.15s;
}
.drawer-link:hover { color: rgb(237, 176, 176); }
.drawer-link.active { font-weight: 700; }
.drawer-dd-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.25rem;
  font-family: inherit;
  padding: 1.125rem 0;
  cursor: pointer;
}
.drawer-chevron { transition: transform 0.22s; flex-shrink: 0; }
.drawer-chevron.open { transform: rotate(180deg); }
.drawer-submenu { display: none; padding: 0.25rem 0 0.5rem 0.75rem; }
.drawer-submenu.open { display: block; }
.drawer-sub-link {
  display: block;
  color: #9ca3af;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.75rem 0;
  transition: color 0.15s;
}
.drawer-sub-link:hover { color: rgb(237, 176, 176); }
.drawer-sub-link.active { color: #fff; font-weight: 600; }
.drawer-footer { padding-top: 2rem; }
@media (min-width: 992px) {
  .mobile-drawer, .drawer-backdrop { display: none !important; }
}

@media (min-width: 1536px) {
  body { font-size: 18px; }
  .section p, .section-sm p, .page-content p { font-size: 24px; }
  footer .copyright { font-size: 16px; }
  footer .footer-link { font-size: 18px; }
  .subscribe-title { font-size: 36px !important; }
}

/* ── Responsive ── */
@media (max-width: 767.98px) {
  #mainNav { height: 96px; }
  #mainNav.scrolled { height: 66px; }
  #mainNav .navbar-brand img { width: 80px; height: 80px; }
  #mainNav.scrolled .navbar-brand img { width: 50px; height: 50px; }
  .hero-title { font-size: 2rem; }
  .hero-section { padding: 0 1rem 3rem; }
  .hero-content { border-left-width: 2px; padding-left: 1.25rem; }
  .section { padding-top: 3rem; padding-bottom: 3rem; }
  .page-content { padding-bottom: 3rem; }
  .btn-outline-wh { width: 100%; }
  .btn-outline-wh.no-hover { width: 100% !important; }
}
.about-text-col { padding: 6rem clamp(2rem,5vw,5rem) 6rem max(1.5rem, calc((100vw - 1320px) / 2 + 1.5rem)); }
@media (max-width: 991.98px) {
  .about-text-col { padding: 3rem 1.5rem; }
}