@font-face {
  font-family: "Harmonia Sans Pro";
  src: url("../fonts/HarmoniaSansProCyr-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Harmonia Sans Pro";
  src: url("../fonts/HarmoniaSansProCyr-LightIt.woff") format("woff");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Harmonia Sans Pro";
  src: url("../fonts/HarmoniaSansProCyr-Regular.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Harmonia Sans Pro";
  src: url("../fonts/HarmoniaSansProCyr-RegularIt.woff") format("woff");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Harmonia Sans Pro";
  src: url("../fonts/HarmoniaSansProCyr-SemiBd.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Harmonia Sans Pro";
  src: url("../fonts/HarmoniaSansProCyr-SemiBdIt.woff") format("woff");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Harmonia Sans Pro";
  src: url("../fonts/HarmoniaSansProCyr-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Harmonia Sans Pro";
  src: url("../fonts/HarmoniaSansProCyr-BoldIt.woff") format("woff");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Harmonia Sans Pro";
  src: url("../fonts/HarmoniaSansProCyr-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Harmonia Sans Pro";
  src: url("../fonts/HarmoniaSansProCyr-BlackIt.woff") format("woff");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* ========================================
   DESIGN TOKENS
   ======================================== */

:root {
  --primary-text: #1a1a1a;
  --secondary-text: #666666;
  --brand-orange-primary: #ff5a00;
  --brand-orange-secondary: #ffa03c;
  --bg-color: #fdfaf5;
  --card-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
  --white-color: #ffffff;
}

/* ========================================
   GLOBAL RESETS
   ======================================== */

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

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
}

::-webkit-scrollbar {
  display: none;
}

body {
  background-color: var(--bg-color);
  color: var(--primary-text);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
button,
span {
  font-family: "Harmonia Sans Pro", sans-serif;
  margin: 0;
}

.container {
  width: 100%;
  margin: 0 auto;
}

/* ========================================
   SCROLL PROGRESS
   ======================================== */

#scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  width: 4px;
  height: 0%;
  background: linear-gradient(
    to bottom,
    var(--brand-orange-primary),
    var(--brand-orange-secondary)
  );
  z-index: 10001;
  transition: height 0.1s ease;
}

/* ========================================
   HEADER — DESKTOP
   ======================================== */

.site-header {
  position: absolute;
  z-index: 10000;
  width: 100%;
  margin: 30px auto 0 auto;
  padding: 0 20px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1600px;
  margin: 0 auto;
  background: var(--white-color);
  border-radius: 50px;
  padding: 18px 36px;
  border-bottom: 3px solid var(--brand-orange-primary);
}

.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-logo img {
  height: 28px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav > li > a,
.nav-dropdown-trigger {
  font-size: 18px;
  font-weight: 500;
  color: var(--primary-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.header-nav > li > a:hover,
.nav-dropdown-trigger:hover {
  color: var(--brand-orange-primary);
}

/* ========================================
   HAMBURGER BUTTON
   ======================================== */

.header-menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 100;
  gap: 0;
}

.header-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary-text);
  margin: 4px 0;
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    background 0.3s ease;
}

.header-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.header-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   DESKTOP DROPDOWN
   ======================================== */

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: "Harmonia Sans Pro", sans-serif;
}

.dropdown-chevron {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.nav-dropdown-trigger[aria-expanded="true"] .dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: var(--white-color);
  border-radius: 16px;
  padding: 12px;
  min-width: 220px;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.05);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--white-color);
}

.nav-dropdown.open .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu li {
  margin: 0;
}

.nav-dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--primary-text);
  text-decoration: none;
  border-radius: 10px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.nav-dropdown-menu li a:hover {
  background: rgba(255, 90, 0, 0.08);
  color: var(--brand-orange-primary);
}

.service-icon {
  font-size: 20px;
  color: var(--brand-orange-primary);
  width: 24px;
  text-align: center;
}

/* ========================================
   HEADER CTA BUTTON
   ======================================== */

.header-cta.btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  width: auto;
  padding: 10px 18px;
  background: var(--white-color);
  color: var(--brand-orange-primary);
  border-radius: 50px;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 3px 3px 0px 2px #a52e00;
  border: 1px solid #a52e00;
  cursor: pointer;
  font-family: "Harmonia Sans Pro", sans-serif;
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
}

.header-cta.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0px 0px 0px 0px transparent;
}

.header-cta .btn-icon {
  margin-right: 12px;
}

/* ========================================
   MOBILE MENU PANEL
   ======================================== */

.header-mobile-menu {
  display: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  max-width: calc(100% - 24px);
  margin: 8px auto 0;
  background: var(--white-color);
  border-radius: 20px;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.12);
}

.header-mobile-menu.open {
  max-height: 600px;
}

.header-mobile-nav {
  list-style: none;
  padding: 8px 16px;
  margin: 0;
}

.header-mobile-nav > li > a,
.mobile-dropdown-trigger {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 14px 4px;
  font-size: 16px;
  font-weight: 500;
  color: var(--primary-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
  font-family: "Harmonia Sans Pro", sans-serif;
  transition: color 0.2s ease;
}

.header-mobile-nav > li:last-child > a,
.header-mobile-nav > li:last-child .mobile-dropdown-trigger {
  border-bottom: none;
}

.header-mobile-nav > li > a:hover,
.mobile-dropdown-trigger:hover {
  color: var(--brand-orange-primary);
}

.mobile-dropdown-trigger {
  justify-content: space-between;
}

.mobile-dropdown-trigger[aria-expanded="true"] .dropdown-chevron {
  transform: rotate(180deg);
}

.mobile-dropdown-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-dropdown.open .mobile-dropdown-menu {
  max-height: 200px;
}

.mobile-dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--primary-text);
  text-decoration: none;
  border-radius: 10px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.mobile-dropdown-menu li a:hover {
  background: rgba(255, 90, 0, 0.08);
  color: var(--brand-orange-primary);
}

.mobile-cta {
  display: flex;
  margin: 12px 16px 16px;
  width: calc(100% - 32px);
  height: 52px;
  font-size: 15px;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  width: auto;
  padding: 10px 18px;
  background: #e04f16;
  color: white;
  border-radius: 50px;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 3px 3px 0px 2px #a52e00;
  border: none;
  cursor: pointer;
  font-family: "Harmonia Sans Pro", sans-serif;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0px 0px 0px 0px transparent;
}

.btn-primary .btn-icon {
  color: white;
}

.btn-icon {
  margin-right: 12px;
}

.btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.btn-small {
  font-size: 0.6rem;
  font-weight: 400;
  opacity: 0.9;
  text-transform: uppercase;
}

.btn-large {
  font-size: 1.1rem;
  font-weight: 700;
}

.btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  width: auto;
  padding: 10px 18px;
  background: var(--white-color);
  color: var(--brand-orange-primary);
  border-radius: 50px;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 3px 3px 0px 2px #a52e00;
  border: 1px solid #a52e00;
  cursor: pointer;
  font-family: "Harmonia Sans Pro", sans-serif;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0px 0px 0px 0px transparent;
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
  position: relative;
  background: #fde9d4;
  overflow: hidden;
  font-family: "Harmonia Sans Pro", sans-serif;
  padding: 0;
  border-top-left-radius: 80px 80px;
  border-top-right-radius: 80px 80px;
  margin-top: -75px;
}

.footer-heart {
  position: absolute;
  left: 50%;
  transform: translate(-30%, 20%) rotate(30deg);
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.footer-heart::before {
  content: "";
  position: absolute;
  width: 1000px;
  height: 1000px;
  background: rgba(255, 90, 0, 0.1);
  clip-path: path(
    "M500,200 C400,50 100,150 100,400 C100,650 500,750 500,750 C500,750 900,650 900,400 C900,150 600,50 500,200 Z"
  );
  top: 0;
  left: 0;
}

.footer-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 40px 100px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 80px;
}

.footer-column h3 {
  font-family: "Harmonia Sans Pro", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 30px;
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  font-family: "Harmonia Sans Pro", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-column ul li a:hover {
  color: #ff5a00;
}

.footer-column p {
  font-family: "Harmonia Sans Pro", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer-column p a {
  font-family: "Harmonia Sans Pro", sans-serif;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-column p a:hover {
  color: #ff5a00;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 90, 0, 0.2);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand-logo img {
  height: 52px;
  width: auto;
}

.footer-copyright {
  font-family: "Harmonia Sans Pro", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #555555;
  margin: 0;
}

.footer-languages {
  display: flex;
  gap: 24px;
  margin-top: 16px;
}

.footer-lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Harmonia Sans Pro", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-lang:hover {
  color: #ff5a00;
}

.footer-lang-flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
}

.footer-app {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-app h3 {
  font-family: "Harmonia Sans Pro", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.footer-app-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000000;
  color: #ffffff;
  text-decoration: none;
  border-radius: 12px;
  padding: 10px 24px;
  transition: opacity 0.2s ease;
  min-width: 180px;
}

.footer-badge:hover {
  opacity: 0.85;
}

.footer-badge svg {
  flex-shrink: 0;
}

.footer-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.footer-badge-small {
  font-family: "Harmonia Sans Pro", sans-serif;
  font-size: 10px;
  font-weight: 400;
  color: #ffffff;
}

.footer-badge-large {
  font-family: "Harmonia Sans Pro", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer-social h3 {
  font-family: "Harmonia Sans Pro", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.footer-social-icons {
  display: flex;
  gap: 16px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #ff5a00;
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.footer-social-link:hover {
  transform: translateY(-3px);
  background: #e04f16;
}

.footer-social-link svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

/* ========================================
   RESPONSIVE — 981px+  (desktop only rules)
   ======================================== */

@media (min-width: 981px) {
  .header-menu-toggle {
    display: none;
  }

  .header-mobile-menu {
    display: none !important;
  }

  .header-nav {
    display: flex;
  }

  .header-cta.btn-secondary {
    display: flex;
  }
}

/* ========================================
   RESPONSIVE — 980px (mobile breakpoint)
   ======================================== */

@media (max-width: 980px) {
  h1 {
    font-size: 2rem;
  }

  /* Header bar becomes compact */
  .site-header {
    margin-top: 12px;
    padding: 0 12px;
  }

  .header-inner {
    padding: 12px 16px;
    border-radius: 30px;
  }

  .header-logo img {
    height: 22px;
  }

  /* Show hamburger, hide desktop nav & CTA */
  .header-menu-toggle {
    display: flex;
  }

  .header-nav {
    display: none;
  }

  .header-cta {
    display: none !important;
  }

  /* Show mobile panel */
  .header-mobile-menu {
    display: block;
  }

  .site-footer {
    border-top-left-radius: 60px 60px;
    border-top-right-radius: 60px 60px;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

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

  .footer-languages {
    justify-content: center;
  }

  .footer-app {
    align-items: center;
  }

  .footer-social {
    align-items: center;
  }
}

/* ========================================
   RESPONSIVE — 575px
   ======================================== */

@media (max-width: 575px) {
  .site-footer {
    border-top-left-radius: 40px 40px;
    border-top-right-radius: 40px 40px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-content {
    padding: 60px 20px 40px;
  }

  .footer-heart {
    left: inherit;
    right: 100%;
    transform: translate(-40%, 0%) rotate(15deg);
  }

  .footer-heart::before {
    width: 800px;
    height: 700px;
  }
}
