:root {
  --bg-white: #ffffff;
  --bg-light: #f5f3f3;
  --accent-red: #cd0200;
  --accent-coral: #dd4c4d;
  --accent-pink-hover: #ea3a60;
  --text-black: #000000;
  --text-muted-title: #c3c1c1;
  --text-gray: #69696a;
  --text-light-gray: #7e8688;
  --shadow-plan: 0px 0px 50px 20px #f9dede;
  --font-body: "Poppins", sans-serif;
  --font-heading: "Montserrat", "Poppins", sans-serif;
  --container-max: 1170px;
  --transition: 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-black);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== HEADER ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-white);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), background-color var(--transition), border-color var(--transition);
}

.site-header:hover,
.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}

.brand-logo img {
  height: 44px;
  width: auto;
  transition: transform var(--transition);
}

.brand-logo:hover img {
  transform: scale(1.03);
}

.logo-mobile {
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-black);
  padding: 6px 2px;
  transition: color var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2.5px;
  border-radius: 2px;
  background-color: var(--accent-coral);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--bg-light);
  border: 1px solid #e4e2e2;
  border-radius: 999px;
  padding: 4px 10px 4px 12px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.lang-switcher:hover,
.lang-switcher:focus-within {
  border-color: var(--accent-coral);
  box-shadow: 0 0 0 3px rgba(221, 76, 77, 0.12);
}

.lang-icon {
  color: var(--text-gray);
  flex-shrink: 0;
}

.lang-select {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-black);
  background-color: transparent;
  border: none;
  padding: 2px 4px;
  cursor: pointer;
  outline: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 7px;
  background: var(--bg-light);
  border: 1px solid #e4e2e2;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color var(--transition), background-color var(--transition);
}

.menu-toggle:hover {
  border-color: var(--accent-coral);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: var(--text-black);
  border-radius: 2px;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 50vw;
  max-width: 280px;
  height: 100vh;
  background-color: var(--bg-white);
  z-index: 200;
  padding: 20px 16px 32px;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.14);
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform var(--transition), visibility var(--transition);
}

.mobile-drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid #eceaea;
}

.drawer-logo {
  height: 34px;
  width: auto;
}

.drawer-close {
  width: 36px;
  height: 36px;
  font-size: 24px;
  line-height: 1;
  border: none;
  background: var(--bg-light);
  color: var(--text-black);
  border-radius: 10px;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition);
}

.drawer-close:hover {
  background-color: var(--accent-coral);
  color: #ffffff;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-link {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-black);
  transition: background-color var(--transition), color var(--transition);
}

.drawer-link:hover {
  background-color: var(--bg-light);
  color: var(--accent-coral);
}

.drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 150;
}

.drawer-backdrop.open {
  display: block;
}

/* ==================== HERO ==================== */
.hero-section {
  background-color: var(--bg-light);
  padding: 48px 0 0;
  overflow: hidden;
}

/* ==================== SHARED TITLES ==================== */
.hero-title {
  font-family: var(--font-body);
  font-size: 56px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.title-muted {
  color: var(--text-muted-title);
}

.title-dark {
  color: var(--text-black);
}

/* ==================== FOOTER ==================== */
.site-footer {
  background-color: var(--accent-coral);
  color: #ffffff;
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.1fr 0.9fr;
  gap: 36px;
  padding-bottom: 48px;
}

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

.footer-logo {
  height: 54px;
  margin: 0 auto 16px;
}

.footer-brand p {
  font-size: 15px;
  color: #ffffff;
  line-height: 1.65;
}

.footer-col h6 {
  font-size: 18px;
  font-weight: 700;
  color: #fbfbfb;
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a,
.contact-static {
  font-size: 14px;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: opacity var(--transition);
}

.footer-col a:hover {
  opacity: 0.82;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}

/* ==================== SCROLL TO TOP ==================== */
.scroll-top-btn {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 90;
  width: 40px;
  height: 40px;
  border-radius: 15px;
  border: 2px solid var(--accent-coral);
  background-color: var(--bg-white);
  color: var(--accent-coral);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background-color: var(--accent-coral);
  border-color: var(--bg-white);
  color: var(--bg-white);
}

/* ==================== REVEAL ANIMATION ==================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== SHARED RESPONSIVE ==================== */
@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .logo-desktop {
    display: none;
  }

  .logo-mobile {
    display: block;
    height: 42px;
  }

  .hero-title {
    font-size: 42px;
  }
}

@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col a,
  .contact-static {
    justify-content: center;
  }
}
