/* =============================================
   Lostar – Custom Styles (from scratch)
   ============================================= */

:root {
  --primary: #FF845D;
  --primary-hover: #e96f48;
  --dark: #1a1410;
  --dark-2: #2c2218;
  --text-dark: #212121;
  --text-muted: #666666;
  --white: #ffffff;
  --border-light: #eeeeee;
  --font-sans: "DM Sans", sans-serif;
  --font-serif: "PT Serif", serif;
  --header-height: 72px;
  --topbar-height: 44px;
  --transition: 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

/* ---- Top Bar ---- */
.top-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  font-size: 14px;
}

.top-bar__link {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition);
}

.top-bar__link:hover {
  color: var(--primary);
}

.top-bar__link i {
  color: var(--primary);
  font-size: 13px;
}

.top-bar__social a {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border-radius: 50%;
  font-size: 14px;
  transition: all var(--transition);
}

.top-bar__social a:hover {
  color: var(--primary);
  background: rgba(255, 132, 93, 0.1);
}

.top-bar__lang-btn {
  font-size: 14px;
  color: var(--text-dark);
  padding: 4px 8px;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar__lang-btn::after {
  font-size: 10px;
  margin-left: 4px;
}

.top-bar__flag {
  font-size: 16px;
  line-height: 1;
}

/* ---- Header ---- */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  transition: box-shadow var(--transition), padding var(--transition);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.site-header .navbar {
  min-height: var(--header-height);
}

.site-header__logo svg {
  display: block;
}

.site-header .nav-link {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-dark);
  padding: 10px 14px !important;
  position: relative;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus {
  color: var(--primary);
}

.site-header .dropdown-menu {
  border: none;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  padding: 12px 0;
  margin-top: 8px;
  min-width: 220px;
}

.site-header .dropdown-item {
  font-size: 15px;
  font-weight: 500;
  padding: 8px 24px;
  color: var(--text-dark);
  transition: all var(--transition);
}

.site-header .dropdown-item:hover {
  color: var(--primary);
  background: rgba(255, 132, 93, 0.08);
}

.site-header__toggler {
  border: 1px solid var(--border-light);
  padding: 6px 10px;
}

.site-header__toggler:focus {
  box-shadow: none;
}

/* ---- Buttons ---- */
.nav-flag {
  font-size: 15px;
  margin-right: 4px;
}

.btn-cta {
  background: var(--primary);
  border: 2px solid var(--primary);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  padding: 10px 28px;
  border-radius: 4px;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-cta:hover,
.btn-cta:focus {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

.btn-hero {
  background: var(--white);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 36px;
  border-radius: 50px;
  border: none;
  transition: all var(--transition);
  display: inline-block;
}

.btn-hero:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 132, 93, 0.35);
}

.btn-service {
  background: transparent;
  border: 1.5px solid var(--text-dark);
  color: var(--text-dark);
  font-weight: 500;
  font-size: 14px;
  padding: 8px 22px;
  border-radius: 50px;
  transition: all var(--transition);
}

.btn-service:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  padding: 80px 0 160px;
  background-color: #1a0a14;
  background-image: url("assets/hero-bg.png");
  background-size: cover;
  background-position: center top;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 5, 13, 0.35) 0%,
    rgba(15, 5, 13, 0.1) 50%,
    transparent 100%
  );
  pointer-events: none;
}

.hero__glow {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  animation: fadeUp 0.8s ease forwards;
}

.hero__eyebrow {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
  font-weight: 400;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
  max-width: 580px;
}

.hero__desc {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 36px;
  max-width: 520px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Services ---- */
.services {
  position: relative;
  padding: 0 0 100px;
  margin-top: -80px;
  z-index: 5;
}

.services__pattern {
  position: absolute;
  inset: -40px 0 0;
  background-image: url("assets/services-bg.png");
  background-size: cover;
  background-position: center top;
  pointer-events: none;
}

.services__pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 250, 245, 0.85) 40%,
    rgba(255, 255, 255, 0.95) 100%
  );
}

.services__row {
  position: relative;
  z-index: 2;
}

.service-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 36px 32px 40px;
  height: 100%;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.service-card__icon {
  margin-bottom: 20px;
}

.service-card__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
  line-height: 1.3;
}

.service-card__text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
  flex-grow: 1;
}

/* ---- Mobile Menu ---- */
.mobile-menu {
  width: 320px !important;
  border-left: none !important;
}

.mobile-menu__list > li > a,
.mobile-menu__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 0;
  font-size: 18px;
  color: var(--text-dark);
  border: none;
  background: none;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
}

.mobile-menu__list > li > a:hover,
.mobile-menu__toggle:hover {
  color: var(--primary);
}

.mobile-menu__sub {
  display: none;
  padding-left: 16px;
}

.mobile-menu__sub.is-open {
  display: block;
}

.mobile-menu__sub li a {
  display: block;
  padding: 10px 0;
  font-size: 16px;
  color: var(--text-muted);
  border-bottom: 1px solid #f5f5f5;
}

.mobile-menu__sub li a:hover {
  color: var(--primary);
}

.mobile-menu__toggle i {
  transition: transform var(--transition);
  font-size: 14px;
}

.mobile-menu__toggle.is-open i {
  transform: rotate(180deg);
}

.mobile-menu__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu__contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-muted);
}

.mobile-menu__contact a i {
  color: var(--primary);
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
  .hero {
    min-height: 480px;
    padding: 60px 0 140px;
  }

  .services {
    margin-top: -60px;
    padding-bottom: 70px;
  }

  .service-card {
    padding: 28px 24px 32px;
  }
}

@media (max-width: 767.98px) {
  :root {
    --header-height: 64px;
  }

  .hero {
    min-height: 420px;
    padding: 48px 0 120px;
  }

  .hero__eyebrow {
    font-size: 16px;
  }

  .hero__desc {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .services {
    margin-top: -40px;
    padding-bottom: 60px;
  }

  .service-card__title {
    font-size: 20px;
  }
}
