/* ===== FONTS ===== */
@import url('../fonts/fonts.css');

/* ===== CSS VARIABLES ===== */
:root {
  /* Colors */
  --color-ivory: #FBF8F4;
  --color-warm-white: #FFFAF6;
  --color-blush: #F5E1E0;
  --color-powder-pink: #F0C4C8;
  --color-rose: #D4919A;
  --color-dusty-rose: #C27E88;
  --color-bordeaux: #7A2E3A;
  --color-deep-bordeaux: #5C1F2A;
  --color-lavender-mist: #E8DFF0;
  --color-lavender: #C4AFDA;
  --color-soft-violet: #9B7FB8;
  --color-text-dark: #3A2A2E;
  --color-text-medium: #6B5459;
  --color-text-light: #9C8389;
  --color-white: #FFFFFF;
  --color-shadow: rgba(122, 46, 58, 0.08);
  --color-shadow-hover: rgba(122, 46, 58, 0.15);

  /* Gradients */
  --gradient-blush: linear-gradient(135deg, #FBF8F4 0%, #F5E1E0 50%, #E8DFF0 100%);
  --gradient-rose-lavender: linear-gradient(135deg, #F0C4C8 0%, #C4AFDA 100%);
  --gradient-hero-overlay: linear-gradient(180deg, rgba(251,248,244,0.15) 0%, rgba(122,46,58,0.45) 100%);
  --gradient-card: linear-gradient(180deg, #FFFFFF 0%, #FBF8F4 100%);
  --gradient-section-alt: linear-gradient(180deg, #FBF8F4 0%, #F5E1E0 30%, #E8DFF0 70%, #FBF8F4 100%);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Nunito Sans', 'Segoe UI', Tahoma, sans-serif;

  /* Sizes */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --border-radius-sm: 12px;
  --border-radius-md: 20px;
  --border-radius-lg: 32px;
  --border-radius-xl: 48px;

  /* Transitions */
  --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background: var(--color-ivory);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-smooth);
}

ul { list-style: none; }

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

/* ===== SECTION HEADINGS ===== */
.section-subtitle {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-dusty-rose);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--color-text-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-medium);
  max-width: 620px;
  line-height: 1.8;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-desc {
  margin: 0 auto;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
.reveal-delay-7 { transition-delay: 0.7s; }
.reveal-delay-8 { transition-delay: 0.8s; }

/* ===== DECORATIVE ELEMENTS ===== */
.decor-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-powder-pink);
  display: inline-block;
}

.decor-line {
  width: 60px;
  height: 2px;
  background: var(--gradient-rose-lavender);
  border-radius: 2px;
  display: block;
  margin: 16px auto;
}

/* ===============================================================
   1. HEADER
   =============================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(251, 248, 244, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 145, 154, 0.12);
  transition: background var(--transition-smooth), box-shadow var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 30px var(--color-shadow);
}

/* Top bar */
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.82rem;
  color: var(--color-text-light);
  border-bottom: 1px solid rgba(212, 145, 154, 0.08);
}

.header-phone {
  font-weight: 600;
  color: var(--color-bordeaux);
  font-size: 0.85rem;
}

.header-phone a:hover {
  color: var(--color-dusty-rose);
}

.header-socials {
  display: flex;
  gap: 12px;
  align-items: center;
}

.header-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(212, 145, 154, 0.1);
  color: var(--color-bordeaux);
  transition: all var(--transition-smooth);
  font-size: 0.8rem;
}

.header-socials a:hover {
  background: var(--color-bordeaux);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* Main nav row */
.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-rose-lavender);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(192, 126, 136, 0.3);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-bordeaux);
  line-height: 1.1;
}

.logo-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-light);
}

/* Navigation */
.main-nav > ul {
  display: flex;
  gap: 4px;
  align-items: center;
}

.dropdown-menu {
  display: block;
}

.main-nav > ul > li {
  position: relative;
}

.main-nav > ul > li > a {
  display: block;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-dark);
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-smooth);
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active {
  color: var(--color-bordeaux);
  background: rgba(212, 145, 154, 0.08);
}

/* Dropdown */
.has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  vertical-align: middle;
  transition: transform var(--transition-smooth);
}

.has-dropdown:hover > a::after {
  transform: rotate(-135deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--color-white);
  border-radius: var(--border-radius-md);
  box-shadow: 0 20px 60px rgba(122, 46, 58, 0.12), 0 4px 20px rgba(122, 46, 58, 0.06);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition-smooth);
  border: 1px solid rgba(212, 145, 154, 0.1);
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 16px;
  font-size: 0.85rem;
  color: var(--color-text-medium);
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-smooth);
}

.dropdown-menu li a:hover {
  color: var(--color-bordeaux);
  background: rgba(245, 225, 224, 0.5);
  padding-left: 22px;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  z-index: 1100;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--color-text-dark);
  border-radius: 2px;
  transition: all var(--transition-smooth);
}

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

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

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

/* ===============================================================
   2. HERO
   =============================================================== */
.hero {
  position: relative;
  width: 100%;
  min-height: 88vh;
  margin-top: 100px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 0 0 var(--border-radius-xl) var(--border-radius-xl);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero-overlay);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 80px 0;
  width: 100%;
}

.hero-content .container {
  max-width: var(--container-width);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 700px;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.15);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 520px;
  line-height: 1.7;
  font-weight: 300;
}

/* Decorative floating shapes */
.hero::before {
  content: '';
  position: absolute;
  top: 15%;
  right: 8%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 196, 200, 0.2) 0%, transparent 70%);
  z-index: 2;
  animation: floatSoft 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 20%;
  right: 15%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 175, 218, 0.2) 0%, transparent 70%);
  z-index: 2;
  animation: floatSoft 10s ease-in-out infinite reverse;
}

@keyframes floatSoft {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, -15px) scale(1.05); }
}

/* ===============================================================
   EUROPE BANNER
   =============================================================== */
.europe-banner {
  padding: 48px 0 80px;
  position: relative;
  z-index: 2;
}

.europe-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 32px 40px;
  background: linear-gradient(135deg, #7A2E3A 0%, #9B7FB8 100%);
  border-radius: var(--border-radius-lg);
  color: var(--color-white);
  box-shadow: 0 20px 60px rgba(122, 46, 58, 0.25);
  position: relative;
  overflow: hidden;
}

.europe-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 70%);
  pointer-events: none;
}

.europe-icon {
  font-size: 3rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
  position: relative;
}

.europe-text { position: relative; }

.europe-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-powder-pink);
  margin-bottom: 6px;
}

.europe-text h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 6px;
  color: var(--color-white);
}

.europe-text p {
  font-size: 0.98rem;
  opacity: 0.9;
  line-height: 1.55;
  max-width: 560px;
}

.europe-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: var(--color-white);
  color: var(--color-bordeaux);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  position: relative;
}

.europe-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  color: var(--color-bordeaux);
}

.nav-highlight {
  color: var(--color-bordeaux) !important;
  font-weight: 600;
}

@media (max-width: 900px) {
  .europe-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 24px;
    gap: 16px;
  }
  .europe-text p { margin: 0 auto; }
  .europe-btn { justify-self: center; }
  .europe-text h3 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .europe-banner { padding: 32px 0 56px; }
  .europe-icon { font-size: 2.4rem; }
  .europe-text h3 { font-size: 1.25rem; }
  .europe-text p { font-size: 0.9rem; }
  .europe-btn { padding: 12px 22px; font-size: 0.88rem; }
}


/* ===============================================================
   3. SERVICES
   =============================================================== */
.services {
  padding: var(--section-padding);
  background: var(--color-warm-white);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 223, 240, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  display: block;
  background: var(--gradient-card);
  border-radius: var(--border-radius-md);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid rgba(212, 145, 154, 0.08);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-rose-lavender);
  transform: scaleX(0);
  transition: transform var(--transition-smooth);
  transform-origin: center;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px var(--color-shadow-hover);
  border-color: rgba(212, 145, 154, 0.2);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  border-radius: var(--border-radius-md);
  background: rgba(245, 225, 224, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  transition: all var(--transition-smooth);
}

.service-card:hover .service-icon {
  background: var(--gradient-rose-lavender);
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(192, 126, 136, 0.3);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--color-text-medium);
  line-height: 1.6;
}

/* ===============================================================
   4. TRUST (WHY TRUST US)
   =============================================================== */
.trust {
  padding: var(--section-padding);
  background: var(--gradient-section-alt);
  position: relative;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.trust-card {
  background: var(--color-white);
  border-radius: var(--border-radius-md);
  padding: 40px 32px;
  text-align: center;
  border: 1px solid rgba(212, 145, 154, 0.06);
  transition: all var(--transition-smooth);
  position: relative;
}

.trust-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px var(--color-shadow);
}

.trust-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(232, 223, 240, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: all var(--transition-smooth);
}

.trust-card:hover .trust-icon {
  background: var(--gradient-rose-lavender);
  transform: rotate(8deg) scale(1.05);
}

.trust-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 10px;
}

.trust-card p {
  font-size: 0.88rem;
  color: var(--color-text-medium);
  line-height: 1.6;
}

/* ===============================================================
   SELECTION (4 stages of selection)
   =============================================================== */
.selection {
  padding: var(--section-padding);
  background: var(--color-white);
  position: relative;
}

.selection-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.selection-card {
  background: var(--gradient-card);
  border-radius: var(--border-radius-md);
  padding: 36px 24px 28px;
  border: 1px solid rgba(212, 145, 154, 0.08);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.selection-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-rose-lavender);
  transform: scaleX(0);
  transition: transform var(--transition-smooth);
  transform-origin: center;
}

.selection-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px var(--color-shadow);
  border-color: rgba(212, 145, 154, 0.2);
}

.selection-card:hover::before { transform: scaleX(1); }

.selection-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-bordeaux);
  opacity: 0.18;
  line-height: 1;
  margin-bottom: 8px;
}

.selection-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: var(--border-radius-md);
  background: rgba(245, 225, 224, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all var(--transition-smooth);
}

.selection-card:hover .selection-icon {
  background: var(--gradient-rose-lavender);
  transform: scale(1.06);
}

.selection-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.selection-card p {
  font-size: 0.86rem;
  color: var(--color-text-medium);
  line-height: 1.6;
}

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

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

/* ===============================================================
   5. HOW WE WORK
   =============================================================== */
.how-we-work {
  padding: var(--section-padding);
  background: var(--color-warm-white);
}

.steps-container {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 0 20px;
}

/* Connecting line */
.steps-container::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 80px;
  right: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-powder-pink) 0%, var(--color-lavender) 50%, var(--color-powder-pink) 100%);
  z-index: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--color-white);
  border: 3px solid var(--color-powder-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all var(--transition-smooth);
  position: relative;
}

.step-number span {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-bordeaux);
}

.step-number .step-icon {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 30px;
  height: 30px;
  background: var(--gradient-rose-lavender);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  box-shadow: 0 4px 12px rgba(192, 126, 136, 0.3);
}

.step:hover .step-number {
  border-color: var(--color-dusty-rose);
  transform: scale(1.08);
  box-shadow: 0 8px 30px var(--color-shadow);
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 8px;
  max-width: 160px;
}

.step p {
  font-size: 0.82rem;
  color: var(--color-text-medium);
  max-width: 160px;
  line-height: 1.5;
}

/* ===============================================================
   6. ABOUT
   =============================================================== */
.about {
  padding: var(--section-padding);
  background: var(--gradient-section-alt);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 196, 200, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px var(--color-shadow-hover);
}

.about-image-wrapper img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--gradient-rose-lavender);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 35px rgba(192, 126, 136, 0.35);
  z-index: 2;
}

.about-badge span:first-child {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
}

.about-badge span:last-child {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--color-text-dark);
  line-height: 1.2;
  margin-bottom: 24px;
}

.about-text p {
  font-size: 1rem;
  color: var(--color-text-medium);
  line-height: 1.85;
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--border-radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-dark);
  transition: all var(--transition-smooth);
}

.about-feature:hover {
  background: var(--color-white);
  box-shadow: 0 4px 15px var(--color-shadow);
  transform: translateX(4px);
}

.about-feature .check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gradient-rose-lavender);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--color-white);
  flex-shrink: 0;
}

/* ===============================================================
   7. CONTACTS
   =============================================================== */
.contacts {
  padding: var(--section-padding);
  background: var(--color-warm-white);
  position: relative;
}

.contacts-wrapper {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: 64px;
  box-shadow: 0 20px 60px var(--color-shadow);
  border: 1px solid rgba(212, 145, 154, 0.08);
  position: relative;
  overflow: hidden;
}

.contacts-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-rose-lavender);
}

.contacts-wrapper::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 223, 240, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contacts-info h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 12px;
}

.contacts-info > p {
  font-size: 0.95rem;
  color: var(--color-text-medium);
  margin-bottom: 36px;
  line-height: 1.7;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(212, 145, 154, 0.08);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(245, 225, 224, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all var(--transition-smooth);
}

.contact-item:hover .contact-icon {
  background: var(--gradient-rose-lavender);
  transform: scale(1.08);
}

.contact-item-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 4px;
}

.contact-item-value {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text-dark);
  line-height: 1.5;
}

.contact-item-value a {
  color: var(--color-bordeaux);
  transition: color var(--transition-smooth);
}

.contact-item-value a:hover {
  color: var(--color-dusty-rose);
}

/* Messengers grid */
.messengers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.messenger-card {
  display: block;
  text-align: center;
  padding: 28px 20px;
  background: rgba(245, 225, 224, 0.25);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(212, 145, 154, 0.08);
  transition: all var(--transition-smooth);
  text-decoration: none;
  color: inherit;
}

.messenger-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px var(--color-shadow);
  background: var(--color-white);
}

.messenger-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-white);
  transition: all var(--transition-smooth);
}

.messenger-icon.telegram { background: #2AABEE; }
.messenger-icon.whatsapp { background: #25D366; }
.messenger-icon.viber { background: #7360F2; }
.messenger-icon.instagram { background: linear-gradient(45deg, #F58529, #DD2A7B 50%, #8134AF 80%, #515BD4); }
.messenger-icon.facebook { background: #1877F2; }
.messenger-icon.tiktok { background: #010101; }

.messenger-card:hover .messenger-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Hero-scoped messenger buttons — smaller pill-icons rendered inside the
   service hero. Share brand colors with .messenger-icon but inline via
   SVGs so they scale crisply on retina. */
.hero-contact-messengers {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.hero-messenger {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-white);
  text-decoration: none;
  transition: all var(--transition-smooth);
}
.hero-messenger svg { width: 18px; height: 18px; }
.hero-messenger:hover { transform: translateY(-2px) scale(1.05); }
.hero-messenger.tg { background: #2AABEE; }
.hero-messenger.wa { background: #25D366; }
.hero-messenger.vb { background: #7360F2; }

.messenger-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 4px;
}

.messenger-card p {
  font-size: 0.78rem;
  color: var(--color-text-light);
}

/* ===============================================================
   VACANCIES
   =============================================================== */
.vacancies {
  padding: var(--section-padding);
  background: var(--color-warm-white);
  position: relative;
}

/* Dynamic Work.ua list — стилизация инжектированных <li> как карточек */
.vacancies-wrap {
  margin-bottom: 48px;
  position: relative;
}

#work-jobs-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 0;
  margin: 0;
}

#work-jobs-list:empty + .vacancies-fallback { display: block; }
#work-jobs-list:not(:empty) + .vacancies-fallback { display: none; }

.vacancies-fallback {
  text-align: center;
  color: var(--color-text-light);
  font-size: 0.95rem;
  padding: 32px 0;
}

#work-jobs-list li {
  position: relative;
  padding: 26px 56px 26px 88px;
  background: var(--gradient-card);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(212, 145, 154, 0.12);
  box-shadow: 0 8px 30px var(--color-shadow);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  font-size: 0.95rem;
  color: var(--color-text-medium);
  line-height: 1.55;
  list-style: none;
  margin: 0;
}

#work-jobs-list li:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px var(--color-shadow-hover);
  border-color: var(--color-powder-pink);
}

/* Декоративная иконка-кружок слева */
#work-jobs-list li::before {
  content: '💼';
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-blush);
  border-radius: 50%;
  font-size: 1.6rem;
}

/* Стрелка справа */
#work-jobs-list li::after {
  content: '→';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--color-dusty-rose);
  transition: transform var(--transition-smooth), color var(--transition-smooth);
}

#work-jobs-list li:hover::after {
  transform: translateY(-50%) translateX(6px);
  color: var(--color-bordeaux);
}

/* Ссылка на вакансию — заголовок карточки */
#work-jobs-list li a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-text-dark);
  line-height: 1.25;
  margin-bottom: 6px;
}

#work-jobs-list li a:hover {
  color: var(--color-bordeaux);
}

/* Зарплата — <b> выделен акцентным цветом */
#work-jobs-list li b {
  display: inline-block;
  color: var(--color-bordeaux);
  font-size: 1.05rem;
  font-weight: 700;
  margin-right: 4px;
}

/* Ссылка-карточка на всю плитку (через overlay) */
#work-jobs-list li a::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--border-radius-md);
}

.vacancies-footer {
  text-align: center;
  padding: 36px;
  background: var(--color-white);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(212, 145, 154, 0.12);
}

.vacancies-note {
  font-size: 1.05rem;
  color: var(--color-text-medium);
  margin-bottom: 20px;
}

.vacancies-partners {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 28px;
}

.partner-link,
.partner-link:link,
.partner-link:visited,
.partner-link:hover,
.partner-link:active,
.partner-link:focus {
  color: #ffffff !important;
}

.partner-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--gradient-rose-lavender);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.partner-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(194, 126, 136, 0.3);
}

.workua-block {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px dashed rgba(212, 145, 154, 0.25);
}

.workua-text {
  font-size: 0.95rem;
  color: var(--color-text-medium);
  line-height: 1.5;
  text-align: left;
}

.workua-text strong { color: var(--color-bordeaux); }

.workua-badge {
  display: inline-block;
  padding: 6px;
  background: var(--color-white);
  border-radius: 8px;
  border: 1px solid rgba(212, 145, 154, 0.2);
  transition: transform var(--transition-smooth);
}

.workua-badge:hover { transform: scale(1.05); }

.workua-badge img { display: block; }

@media (max-width: 768px) {
  #work-jobs-list { grid-template-columns: 1fr; gap: 16px; }
  #work-jobs-list li { padding: 20px 48px 20px 76px; font-size: 0.9rem; }
  #work-jobs-list li::before { left: 14px; width: 44px; height: 44px; font-size: 1.3rem; }
  #work-jobs-list li::after { right: 18px; }
  #work-jobs-list li a { font-size: 1.1rem; }
  .vacancies-footer { padding: 28px 20px; }
  .workua-block { flex-direction: column; text-align: center; }
  .workua-text { text-align: center; }
}


/* ===============================================================
   8. FOOTER
   =============================================================== */
.site-footer {
  padding: 40px 0;
  background: var(--color-text-dark);
  text-align: center;
}

.site-footer p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.site-footer .footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

/* ===============================================================
   RESPONSIVE
   =============================================================== */
/* ---------- Desktop small / laptops ---------- */
@media (max-width: 1200px) {
  .container { padding: 0 24px; }
}

/* ---------- Tablets (landscape) ---------- */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px 0;
  }

  .container { padding: 0 24px; }

  .section-title { font-size: 2.4rem; }
  .section-header { margin-bottom: 48px; }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .steps-container {
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
  }

  .steps-container::before {
    display: none;
  }

  .step {
    flex: 0 0 calc(33.333% - 32px);
    max-width: 280px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-wrapper img { max-height: 480px; object-fit: cover; }

  .contacts-wrapper {
    padding: 40px;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-content .container { padding: 0 24px; }
}

/* ---------- Tablets (portrait) & большие мобильные ---------- */
@media (max-width: 768px) {
  :root {
    --section-padding: 64px 0;
  }

  html { font-size: 15px; }

  .container { padding: 0 20px; }

  .header-top { display: none; }

  .hamburger { display: flex; }

  .header-main { padding: 12px 0; }

  /* На мобильном отключаем backdrop-filter у header,
     иначе он становится containing-block для position:fixed
     и мобильное меню не растягивается на весь экран.
     Также поднимаем z-index выше overlay (1040),
     чтобы вложенное меню отрисовывалось поверх затемнения. */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(251, 248, 244, 0.96);
    z-index: 1060;
  }
  .site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
  }

  .logo-icon { font-size: 1.6rem; }
  .logo-text { font-size: 1.1rem; }
  .logo-text small { font-size: 0.7rem; }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 360px;
    height: 100vh;
    background: var(--color-white);
    padding: 80px 28px 32px;
    transition: right var(--transition-smooth);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    z-index: 1080;
    overflow-y: auto;
  }

  .main-nav.open { right: 0; }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav > ul > li > a {
    padding: 14px 16px;
    font-size: 1rem;
    display: block;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 20px;
    display: none;
    background: transparent;
  }

  .has-dropdown.open .dropdown-menu {
    display: block;
  }

  .hero {
    min-height: 70vh;
    margin-top: 64px;
    border-radius: 0;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    max-width: 100%;
  }

  .hero-badge { font-size: 0.72rem; padding: 6px 14px; }

  .section-title {
    font-size: 2rem;
  }

  .section-desc { font-size: 0.98rem; }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .step {
    flex: 0 0 100%;
    max-width: 340px;
  }

  .about-badge {
    width: 90px;
    height: 90px;
    bottom: -10px;
    right: -10px;
  }

  .about-badge span:first-child {
    font-size: 1.8rem;
  }

  .about-text h2 { font-size: 1.8rem; }

  .contacts-wrapper {
    padding: 28px 20px;
    border-radius: var(--border-radius-md);
  }

  .contacts-info h2 { font-size: 1.7rem; }

  .messengers-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .site-footer { padding: 40px 0 28px; }
}

/* ---------- Small mobile ---------- */
@media (max-width: 480px) {
  :root {
    --section-padding: 52px 0;
  }

  .container { padding: 0 16px; }

  .hero { min-height: 60vh; }
  .hero-title { font-size: 1.85rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-badge { letter-spacing: 2px; }

  .section-title { font-size: 1.7rem; }
  .section-subtitle { font-size: 0.72rem; letter-spacing: 2px; }
  .section-header { margin-bottom: 36px; }

  .service-card,
  .trust-card { padding: 28px 20px; }

  .service-icon { font-size: 2.4rem; }
  .trust-icon { font-size: 2.2rem; }

  .about-image-wrapper img { max-height: 360px; }
  .about-badge {
    width: 74px;
    height: 74px;
    bottom: -6px;
    right: -6px;
  }
  .about-badge span:first-child { font-size: 1.4rem; }
  .about-badge span:last-child { font-size: 0.6rem; }

  .contacts-wrapper { padding: 24px 16px; }
  .contacts-info h2 { font-size: 1.4rem; }

  .contact-item { gap: 12px; }
  .contact-item-value { font-size: 0.95rem; word-break: break-word; }

  .messenger-card { padding: 20px 16px; }

  .main-nav { width: 88%; padding: 72px 20px 24px; }
}

/* ---------- Landscape phones: ограничить высоту hero ---------- */
@media (max-height: 480px) and (orientation: landscape) {
  .hero { min-height: 100vh; }
  .hero-title { font-size: 2rem; }
}

/* ─────────────────────────────────────────────────────────────
   Mirabella CMS bridge
   ─────────────────────────────────────────────────────────────
   The CMS menu() helper renders <li> as structural items and adds
   .dropdown-menu to nested <ul>, but does NOT add a .has-dropdown
   class to the parent <li>. The rules below alias the original
   template's .has-dropdown behaviour onto any <li> that directly
   contains a .dropdown-menu child — no markup change required.
   ----------------------------------------------------------- */

/* Chevron after the top-level dropdown-parent link (mirrors .has-dropdown > a::after) */
.main-nav > ul > li:has(> ul.dropdown-menu) > a::after {
    content: "▾";
    font-size: 0.75rem;
    margin-left: 6px;
    transition: transform 0.25s ease;
    display: inline-block;
}

.main-nav > ul > li:has(> ul.dropdown-menu):hover > a::after {
    transform: rotate(-180deg);
}

.main-nav > ul > li:has(> ul.dropdown-menu) {
    position: relative;
}

.main-nav > ul > li:has(> ul.dropdown-menu):hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mobile: expand on .open toggle like the original does for .has-dropdown.open */
@media (max-width: 1024px) {
    .main-nav.open > ul > li:has(> ul.dropdown-menu).open > .dropdown-menu {
        display: block;
    }
}

/* Remove the default list bullets that the CMS <ul> would otherwise show */
.main-nav ul,
.main-nav ul li {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Empty footer menu — prevent stray bullets if/when populated */
.site-footer ul,
.site-footer ul li {
    list-style: none;
    padding: 0;
    margin: 0;
}
