/* CSS Variables - Airy sky blue theme */
:root {
  --background: 205 60% 92%;
  --foreground: 220 30% 25%;
  --faq-bg-top: 210 60% 92%;
  --faq-bg-bottom: 215 55% 82%;
  --card: 0 0% 100%;
  --card-foreground: 220 30% 25%;
  --popover: 0 0% 100%;
  --popover-foreground: 220 30% 25%;
  --primary: 220 45% 55%;
  --primary-foreground: 0 0% 100%;
  --secondary: 210 50% 70%;
  --secondary-foreground: 220 30% 25%;
  --muted: 210 30% 92%;
  --muted-foreground: 220 20% 45%;
  --accent: 12 60% 55%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;
  --border: 210 25% 88%;
  --input: 210 20% 94%;
  --ring: 220 45% 55%;
  --radius: 1rem;
  --blue-deep: 220 50% 45%;
  --blue-noble: 220 45% 55%;
  --blue-soft: 210 50% 65%;
  --blue-light: 205 55% 75%;
  --blue-pale: 200 50% 85%;
  --gold: 12 60% 55%;
  --gold-light: 15 55% 65%;
  --slate: 210 30% 95%;
  --slate-dark: 210 25% 90%;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-padding-top, 169px);
  overflow-x: hidden;
}

body {
  font-family: 'Outfit', 'Inter', system-ui, sans-serif;
  background: linear-gradient(to top, hsl(205 60% 94%) 0%, hsl(205 50% 82%) 100%) !important;
  min-height: 100vh;
  color: hsl(var(--foreground));
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: var(--scroll-padding-top, 169px);
}

.site-header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
}

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header — как в React: голубой фон, отступы py-5 px-4 md:px-8 */
.header {
  width: 100%;
  background: hsl(var(--blue-noble)) !important;
  padding: 1.25rem 1rem;
  position: relative;
  overflow: visible;
  z-index: 50; /* выше навбара (40), чтобы выпадашка языка не перекрывалась */
}
@media (min-width: 768px) {
  .header {
    padding: 1.25rem 2rem;
  }
}

.header-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
}

.header-blob-1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 24rem;
  height: 24rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  filter: blur(3rem);
  transform: translate(50%, -50%);
}

.header-blob-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 16rem;
  height: 16rem;
  background: hsl(var(--gold) / 0.3);
  border-radius: 50%;
  filter: blur(3rem);
  transform: translate(-50%, 50%);
}

.header-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .header-content {
    flex-direction: row;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* В шапке отступ только у header (как в React: px-4 md:px-8), контейнер без доп. padding */
.header .container {
  padding-left: 0;
  padding-right: 0;
}

.logo-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.icon-globe {
  width: 1.75rem;
  height: 1.75rem;
  color: hsl(var(--gold-light));
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  color: white;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.header-contacts {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .header-contacts {
    flex-direction: row;
    gap: 1.5rem;
  }
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: white;
  transition: all 0.3s;
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.contact-item:hover .contact-icon {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.contact-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--gold-light));
}

.contact-text {
  display: flex;
  flex-direction: column;
  font-size: 0.875rem;
  line-height: 1.4;
}

.contact-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.header-contacts .contact-text a {
  color: white;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.header-contacts .contact-text a:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* Шапка на мобильных: компактнее по высоте (блок после базовых стилей, чтобы переопределять) */
@media (max-width: 767px) {
  .header {
    padding: 0.625rem 1rem;
  }
  .header-content {
    gap: 0.5rem;
    align-items: flex-start;
  }
  .logo {
    gap: 0.5rem;
    align-self: center;
  }
  .logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
  }
  .header .icon-globe {
    width: 1.25rem;
    height: 1.25rem;
  }
  .logo-title {
    font-size: 1.125rem;
  }
  .header-contacts {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 0.75rem;
    align-items: start;
    width: 100%;
    flex-direction: unset;
  }
  .contact-item {
    gap: 0.375rem;
    min-width: 0;
  }
  .contact-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    flex-shrink: 0;
  }
  .header-contacts .contact-icon svg {
    width: 1rem;
    height: 1rem;
  }
  .contact-text {
    font-size: 0.75rem;
    line-height: 1.35;
    flex: 1;
    min-width: 0;
    word-break: break-word;
  }
  .header-contacts .contact-label {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.6);
  }
}

/* Кнопка выбора языка в шапке (как в оригинале: справа, только на desktop) */
.header-lang {
  display: none;
}
@media (min-width: 1024px) {
  .header-lang {
    display: block;
  }
}

.header-lang-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  font-family: inherit;
}
.header-lang-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.25);
}

.header-lang-chevron {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.header-lang {
  position: relative;
}

/* fixed + позиция через JS — чтобы выпадашка не перекрывалась навбаром */
.header-lang-dropdown {
  position: fixed;
  margin-top: 0.25rem;
  min-width: 140px;
  background: white;
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 99999;
  padding: 0.25rem 0;
  display: none;
}
.header-lang-dropdown.is-open {
  display: block;
  /* top/left задаются в script.js при открытии */
}


.header-lang-item {
  display: block;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  text-decoration: none;
  transition: background-color 0.2s;
  cursor: pointer;
}

.header-lang-item:hover {
  background: hsl(var(--muted));
}

.header-lang-item-active {
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  font-weight: 500;
}

/* Navigation — светлая полоса под шапкой */
.nav {
  background: hsl(0 0% 100% / 0.95) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid hsl(var(--border) / 0.5);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.nav .container {
  position: relative;
}

.nav-list {
  display: none;
  list-style: none;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.5rem 0;
}

@media (min-width: 768px) {
  .nav-list {
    display: flex;
  }
}

.nav-link {
  padding: 0.75rem 1.25rem;
  color: hsl(var(--muted-foreground));
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.3s;
  position: relative;
  display: block;
}

.nav-link:hover {
  color: hsl(var(--primary));
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0.25rem;
  left: 1.25rem;
  right: 1.25rem;
  height: 2px;
  background: linear-gradient(to right, hsl(var(--blue-noble)), hsl(var(--gold)));
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
  border-radius: 9999px;
}

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

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem;
  color: hsl(var(--foreground));
  margin-left: auto;
}

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

.nav-toggle span {
  width: 1.5rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-mobile {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 1rem;
  background: hsl(var(--card) / 0.98);
  backdrop-filter: blur(24px);
  border: 1px solid hsl(var(--border) / 0.5);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
  z-index: 50;
}

.nav-mobile.active {
  display: block;
}

.nav-mobile-list {
  list-style: none;
}

.nav-mobile-link {
  display: block;
  padding: 0.75rem 1rem;
  color: hsl(var(--foreground));
  font-weight: 500;
  border-radius: 0.75rem;
  transition: all 0.3s;
}

.nav-mobile-link:hover {
  background: linear-gradient(to right, hsl(var(--blue-noble) / 0.05), hsl(var(--gold) / 0.05));
}

/* Hero Section — фон как в React; поднимаем под шапку, чтобы не было полосы от body */
.hero {
  margin-top: calc(-1 * var(--scroll-padding-top, 169px));
  padding-top: calc(var(--scroll-padding-top, 169px) + 5rem);
  padding-bottom: 5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(to top, hsl(205 60% 92%) 0%, hsl(205 60% 96%) 50%, hsl(215 55% 75%) 100%) !important;
}

.hero .container {
  text-align: center;
}

@media (min-width: 768px) {
  .hero {
    padding-top: calc(var(--scroll-padding-top, 169px) + 7rem);
    padding-bottom: 7rem;
  }
}

.hero-decoration {
  position: absolute;
  border: 2px solid;
  border-radius: 1rem;
  opacity: 0.2;
  display: none;
}

@media (min-width: 1024px) {
  .hero-decoration {
    display: block;
  }
}

.hero-decoration-1 {
  top: 8rem;
  right: 5rem;
  width: 5rem;
  height: 5rem;
  border-color: hsl(var(--blue-noble) / 0.2);
  transform: rotate(12deg);
  animation: float 6s ease-in-out infinite;
}

.hero-decoration-2 {
  bottom: 10rem;
  left: 5rem;
  width: 4rem;
  height: 4rem;
  border-color: hsl(var(--gold) / 0.2);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero-tagline {
  text-align: center;
  font-size: 0.9375rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.hero-subtitle {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px hsl(var(--blue-noble) / 0.08);
}

.hero-title {
  font-size: 2.25rem;
  text-align: center;
  font-weight: 700;
  color: hsl(var(--foreground));
  line-height: 1.2;
  margin-bottom: 2rem;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.text-gradient {
  color: hsl(var(--blue-noble));
}

.hero-description {
  font-size: 1.25rem;
  text-align: center;
  color: hsl(220 22% 35%);
  margin-bottom: 4rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 80rem;
  margin: 0 auto 3rem;
}

@media (min-width: 768px) {
  .hero-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.hero-feature {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid hsl(var(--border) / 0.3);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-align: left;
  box-shadow: 6px 8px 20px -4px rgba(100, 116, 139, 0.15);
}

@media (min-width: 768px) {
  .hero-feature {
    padding: 2rem;
  }
}

.hero-feature:hover {
  transform: translateY(-4px);
}

.hero-feature .icon-gradient,
.hero-feature .icon-gradient-light,
.hero-feature .icon-gradient-gold {
  flex-shrink: 0;
  transition: transform 0.3s;
}

.hero-feature:hover .icon-gradient,
.hero-feature:hover .icon-gradient-light,
.hero-feature:hover .icon-gradient-gold {
  transform: scale(1.1);
}

.hero-feature p {
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  line-height: 1.5;
}

@media (min-width: 768px) {
  .hero-feature p {
    font-size: 1.125rem;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-weight: bold;
  border-radius: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1.125rem;
  text-decoration: none;
  border: none;
  font-family: inherit;
}

/* Кнопка «Получить консультацию» — голубая, белый текст (перебиваем Tailwind preflight) */
.btn-gradient {
  background: hsl(var(--primary)) !important;
  background-color: hsl(var(--primary)) !important;
  color: hsl(var(--primary-foreground)) !important;
  box-shadow: 0 2px 8px hsl(var(--primary) / 0.2);
  margin: 0 auto;
  display: flex;
}

.btn-gradient:hover {
  background: hsl(220 45% 50%) !important;
  background-color: hsl(220 45% 50%) !important;
  color: white !important;
  box-shadow: 0 4px 16px hsl(var(--primary) / 0.3);
  transform: translateY(-2px);
}

.btn-consultation {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 4rem;
  min-height: 4rem;
  padding: 0.5rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: white !important;
  text-decoration: none !important;
  border-radius: 1rem;
  width: auto;
  display: inline-flex;
}

.btn-consultation span {
  color: inherit;
}

.btn-consultation .btn-arrow {
  width: 1.5rem;
  height: 1.5rem;
  min-width: 1.5rem;
  min-height: 1.5rem;
  margin-left: 0.5rem;
  color: white !important;
  flex-shrink: 0;
}

/* Кнопка «Отправить заявку» — как в оригинале: та же голубая кнопка, что и в Hero (btn-gradient, h-16, w-full, rounded-2xl) */
.btn-form-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  width: 100% !important;
  height: 4rem !important;
  min-height: 4rem !important;
  padding: 1rem 1.5rem !important;
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  border-radius: 1rem !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  font-family: inherit !important;
  color: hsl(var(--primary-foreground)) !important;
}

.btn-form-submit-icon {
  width: 1.25rem !important;
  height: 1.25rem !important;
  margin-right: 0.75rem !important;
  flex-shrink: 0 !important;
  color: inherit !important;
}

/* Services Section */
.services {
  padding: 5rem 1rem;
  position: relative;
  overflow: hidden;
}

.services-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/world-map.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.5;
}

/* Отдельный слой: from-background/80 via-transparent to-background/80 — плавный переход между блоками */
.services-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, hsl(var(--background) / 0.8), transparent, hsl(var(--background) / 0.8));
  pointer-events: none;
}

.services-gradient-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4rem;
  background: linear-gradient(to bottom, hsl(var(--background)), transparent);
  pointer-events: none;
}

.services-gradient-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4rem;
  background: linear-gradient(to top, hsl(var(--background)), transparent);
  pointer-events: none;
}

.services-container {
  position: relative;
  z-index: 10;
}

.services-header.text-center {
  text-align: center;
  margin-bottom: 3rem;
}

.services-header .section-subtitle {
  font-size: 1.25rem;
}

.section-title {
  font-size: 1.875rem;
  text-align: center;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
  display: inline-block;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.gradient-underline {
  position: relative;
}

.gradient-underline::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: hsl(var(--primary));
  border-radius: 4px;
}

.section-subtitle {
  color: hsl(var(--muted-foreground));
  margin-top: 2.5rem;
  text-align: center;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.125rem;
}

.services-intro {
  padding: 2rem;
  margin: 3rem auto;
  max-width: 64rem;
  text-align: center;
}

@media (min-width: 768px) {
  .services-intro {
    padding: 2.5rem;
  }
}

.services-intro-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .services-intro-title {
    font-size: 1.875rem;
  }
}

.services-intro-text {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
}

.services-intro-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
  text-align: left;
  max-width: 36rem;
  margin: 0 auto;
}

.services-intro-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: hsl(var(--muted-foreground));
}

@media (max-width: 480px) {
  .services-intro-list {
    grid-template-columns: 1fr;
  }
}

.services-intro-list .intro-list-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: hsl(var(--primary));
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .service-card {
    padding: 2rem;
  }
}

.service-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}

.service-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--blue-noble));
}

.service-icon.text-gold {
  color: hsl(var(--gold));
}

.service-icon.text-primary {
  color: hsl(var(--primary));
}

.service-icon.text-primary-light {
  color: hsl(var(--blue-light));
}

.service-header h3 {
  font-size: 1.125rem;
  color: hsl(var(--foreground));
}

@media (min-width: 768px) {
  .service-header h3 {
    font-size: 1.25rem;
  }
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.service-list-arrow {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: hsl(var(--primary));
}

.service-list-arrow.text-primary-light {
  color: hsl(var(--blue-light));
}

.service-list-arrow.text-gold {
  color: hsl(var(--gold));
}

/* Guarantees Section — градиент перенесён из FAQ (Часто задаваемые вопросы) */
.guarantees {
  padding: 5rem 1rem 12rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, hsl(var(--faq-bg-top)), hsl(215deg 82.84% 68.73% / 78%));
}

.guarantees-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/containers-bg.png');
  background-size: 100%;
  background-position: center 70%;
  background-repeat: no-repeat;
  opacity: 0.25;
}

.guarantees-gradient-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4rem;
  background: linear-gradient(to bottom, hsl(var(--background)), transparent);
  pointer-events: none;
}

.guarantees-gradient-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4rem;
  background: linear-gradient(to top, hsl(215deg 82.84% 68.73% / 78%), transparent);
  pointer-events: none;
}

.guarantees-container {
  position: relative;
  z-index: 10;
}

.guarantees-header {
  text-align: center;
  margin-bottom: 4rem;
}

.guarantees-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .guarantees-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .guarantees-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.guarantee-card {
  padding: 1.5rem;
  text-align: center;
}

.guarantee-card .icon-gradient,
.guarantee-card .icon-gradient-light,
.guarantee-card .icon-gradient-gold {
  margin: 0 auto 1.25rem;
  transition: transform 0.3s;
}

.guarantee-card:hover .icon-gradient,
.guarantee-card:hover .icon-gradient-light,
.guarantee-card:hover .icon-gradient-gold {
  transform: scale(1.1);
}

.guarantee-card h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}

.guarantee-card p {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Consultation Form */
.consultation {
  position: relative;
  overflow: hidden;
}

.consultation-block {
  padding: 5rem 1rem;
  background: hsl(var(--background));
}

.consultation-bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0.12;
  filter: blur(1.5px);
  pointer-events: none;
}

.consultation-blob {
  position: absolute;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  filter: blur(2rem);
  pointer-events: none;
}

.consultation-blob-1 {
  top: 2.5rem;
  left: 2.5rem;
  width: 10rem;
  height: 10rem;
  background-color: hsl(var(--blue-noble) / 0.05);
  animation: float 6s ease-in-out infinite;
}

.consultation-blob-2 {
  bottom: 2.5rem;
  right: 5rem;
  width: 15rem;
  height: 15rem;
  background-color: hsl(var(--gold) / 0.05);
  animation: float 8s ease-in-out infinite;
}

.consultation-inner {
  position: relative;
  z-index: 10;
  max-width: 42rem;
  margin: 0 auto;
  width: 100%;
}

.consultation-header {
  text-align: center;
  margin-bottom: 3rem;
}

.consultation-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
  display: inline-block;
}

@media (min-width: 768px) {
  .consultation-title {
    font-size: 2.25rem;
  }
}

.consultation-subtitle {
  color: hsl(var(--muted-foreground));
  margin-top: 2.5rem;
  font-size: 1.125rem;
}

.consultation-form-box {
  padding: 2.5rem;
  position: relative;
  z-index: 10;
}

.consultation-fields > * + * {
  margin-top: 1.5rem;
}

.consultation-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--foreground));
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.consultation-label-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--primary));
  flex-shrink: 0;
}

.consultation #consultationForm {
  position: relative;
  z-index: 10;
}

.consultation-input {
  display: flex;
  width: 100%;
  height: 3.5rem;
  padding: 0.5rem 1.25rem;
  font-size: 1rem;
  color: hsl(var(--foreground));
  background: white;
  border: 2px solid hsl(var(--border));
  border-radius: 0.75rem;
  outline: none;
  transition: border-color 0.2s;
}
.consultation-input::placeholder {
  color: hsl(var(--muted-foreground));
}
.consultation-input:focus {
  border-color: hsl(var(--primary));
}

.consultation-textarea {
  display: flex;
  width: 100%;
  min-height: 140px;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  color: hsl(var(--foreground));
  background: white;
  border: 2px solid hsl(var(--border));
  border-radius: 0.75rem;
  resize: none;
  outline: none;
  transition: border-color 0.2s;
}
.consultation-textarea::placeholder {
  color: hsl(var(--muted-foreground));
}
.consultation-textarea:focus {
  border-color: hsl(var(--primary));
}

.consultation-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 4rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(var(--primary-foreground));
  background: hsl(var(--primary));
  border: none;
  border-radius: 1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.consultation-submit:hover {
  background: hsl(var(--primary) / 0.9);
}
.consultation-submit:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}
.consultation-submit.btn-gradient {
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(220 70% 45%) 100%);
  box-shadow: 0 4px 14px hsl(var(--primary) / 0.4);
}
.consultation-submit.btn-gradient:hover {
  background: linear-gradient(135deg, hsl(var(--primary) / 0.95) 0%, hsl(220 70% 45% / 0.95) 100%);
}
.consultation-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.consultation-submit:disabled:hover {
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(220 70% 45%) 100%);
}

.consultation-consent {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}
.consultation-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.9);
  line-height: 1.4;
}
.consultation-consent-input {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
  accent-color: hsl(var(--primary));
}
.consultation-consent-text {
  flex: 1;
}

.consultation-submit-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}

.form-group label svg {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--primary));
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1.25rem;
  font-size: 1rem;
  color: hsl(var(--foreground));
  background: white;
  border: 2px solid hsl(var(--border));
  border-radius: 0.75rem;
  transition: all 0.3s;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: hsl(var(--primary));
}

.form-group textarea {
  min-height: 8.75rem;
  resize: vertical;
}

.success-notification {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  max-width: 90%;
  animation: fadeIn 0.3s ease-out;
}

.success-notification.active {
  display: block;
}

.success-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.success-content svg {
  width: 2rem;
  height: 2rem;
  color: #10b981;
  flex-shrink: 0;
}

.success-content h3 {
  font-size: 1.25rem;
  color: hsl(var(--foreground));
  margin-bottom: 0.25rem;
}

.success-content p {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

/* FAQ Section */
.faq {
  position: relative;
  overflow: hidden;
  background: hsl(var(--faq-bg-top));
}

.faq-block {
  padding: 5rem 1rem 5rem;
}

.faq-bg {
  position: absolute;
  inset: 0;
  background-size: 100%;
  background-position: center 70%;
  background-repeat: no-repeat;
  opacity: 0.15;
  pointer-events: none;
}

.faq-inner {
  position: relative;
  z-index: 10;
  max-width: 72rem;
  margin: 0 auto;
  width: 100%;
  padding: 0 1rem;
}

.faq-header {
  text-align: center;
  margin-bottom: 4rem;
}

.faq-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
  display: inline-block;
}

@media (min-width: 768px) {
  .faq-title {
    font-size: 2.25rem;
  }
}

.faq-subtitle {
  color: hsl(var(--muted-foreground));
  margin-top: 2.5rem;
  font-size: 1.125rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
  position: relative;
  z-index: 10;
}

@media (min-width: 640px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .faq-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.faq-card {
  height: 14rem;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner,
.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 1.5rem;
  padding: 1.5rem;
}

.flip-card-front {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

/* Color scheme 0: blue-100/90 via-blue-50/80 to-cyan-50/90 border-blue-200/60 */
.faq-card[data-faq="0"] .flip-card-front,
.faq-card[data-faq="4"] .flip-card-front {
  background: linear-gradient(to bottom right, 
    hsl(214 100% 97% / 0.9), 
    hsl(214 100% 99% / 0.8), 
    hsl(180 100% 99% / 0.9)
  );
  border: 1px solid hsl(213 94% 88% / 0.6);
}

/* Color scheme 1: indigo-100/90 via-purple-50/80 to-blue-50/90 border-indigo-200/60 */
.faq-card[data-faq="1"] .flip-card-front,
.faq-card[data-faq="5"] .flip-card-front {
  background: linear-gradient(to bottom right, 
    hsl(226 100% 97% / 0.9), 
    hsl(270 100% 99% / 0.8), 
    hsl(214 100% 99% / 0.9)
  );
  border: 1px solid hsl(226 85% 88% / 0.6);
}

/* Color scheme 2: amber-100/90 via-orange-50/80 to-yellow-50/90 border-amber-200/60 */
.faq-card[data-faq="2"] .flip-card-front,
.faq-card[data-faq="6"] .flip-card-front {
  background: linear-gradient(to bottom right, 
    hsl(48 100% 97% / 0.9), 
    hsl(33 100% 99% / 0.8), 
    hsl(48 100% 99% / 0.9)
  );
  border: 1px solid hsl(43 96% 88% / 0.6);
}

/* Color scheme 3: teal-100/90 via-emerald-50/80 to-cyan-50/90 border-teal-200/60 */
.faq-card[data-faq="3"] .flip-card-front,
.faq-card[data-faq="7"] .flip-card-front {
  background: linear-gradient(to bottom right, 
    hsl(180 100% 97% / 0.9), 
    hsl(149 100% 99% / 0.8), 
    hsl(180 100% 99% / 0.9)
  );
  border: 1px solid hsl(173 80% 88% / 0.6);
}

.flip-card-front:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.faq-card.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.flip-card-front .icon-gradient,
.flip-card-front .icon-gradient-light,
.flip-card-front .icon-gradient-gold {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  margin-bottom: 1rem;
  transform: scale(0.9);
}

.flip-card-front .icon-scale-90 {
  transform: scale(0.9);
}

.flip-card-front .icon-gradient {
  background: hsl(var(--blue-noble));
}

.flip-card-front .icon-gradient-light {
  background: hsl(var(--blue-soft));
}

.flip-card-front .icon-gradient-gold {
  background: hsl(var(--gold));
}

.flip-card-front .icon-gradient svg,
.flip-card-front .icon-gradient-light svg,
.flip-card-front .icon-gradient-gold svg {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
}

.flip-card-front h4 {
  font-size: 1rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.faq-hint {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  opacity: 0.7;
  margin-top: 0.75rem;
}

.flip-card-back {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotateY(180deg);
  background: linear-gradient(to bottom right, hsl(var(--blue-noble)), hsl(var(--blue-soft)));
  color: white;
  padding: 1.5rem;
}

.flip-card-back p {
  font-size: 0.875rem;
  line-height: 1.6;
  font-weight: 500;
  color: white;
  margin: 0;
}

/* Footer */
.footer {
  background: hsl(var(--blue-noble));
  padding: 4rem 1rem;
  position: relative;
  overflow: hidden;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
}

.footer-blob-1 {
  position: absolute;
  top: 0;
  left: 25%;
  width: 24rem;
  height: 24rem;
  background: hsl(var(--gold) / 0.3);
  border-radius: 50%;
  filter: blur(3rem);
}

.footer-blob-2 {
  position: absolute;
  bottom: 0;
  right: 25%;
  width: 20rem;
  height: 20rem;
  background: hsl(var(--blue-light) / 0.2);
  border-radius: 50%;
  filter: blur(3rem);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-logo-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid;
  box-shadow: 0 10px 15px -3px;
  background: linear-gradient(to bottom right, hsl(var(--gold) / 0.3), hsl(var(--gold) / 0.1));
  border-color: hsl(var(--gold) / 0.4);
  box-shadow: 0 10px 15px -3px hsl(var(--gold) / 0.1);
}

.footer-logo-icon .icon-globe {
  width: 1.75rem;
  height: 1.75rem;
  color: hsl(var(--gold-light));
}

.footer-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.footer-col h4 {
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col-nav ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1.5rem;
}

.footer-col ul li {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-col ul li:first-child {
  margin-top: 0;
}

.footer-col ul li > svg {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--gold-light));
  flex-shrink: 0;
}

.footer-col ul li > div {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid;
  background: linear-gradient(to bottom right, hsl(var(--gold) / 0.3), hsl(var(--gold) / 0.1));
  border-color: hsl(var(--gold) / 0.4);
  box-shadow: 0 4px 6px -1px hsl(var(--gold) / 0.1);
  flex-shrink: 0;
}

.footer-col ul li > div svg {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--gold-light));
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: hsl(var(--gold-light));
}

.footer-col span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  font-weight: 500;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}

.footer-social:hover {
  color: white;
}

.footer-social-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid;
  background: linear-gradient(to bottom right, hsl(var(--gold) / 0.3), hsl(var(--gold) / 0.1));
  border-color: hsl(var(--gold) / 0.4);
  box-shadow: 0 4px 6px -1px hsl(var(--gold) / 0.1);
  transition: all 0.3s;
}

.footer-social:hover .footer-social-icon {
  background: linear-gradient(to bottom right, hsl(var(--gold) / 0.5), hsl(var(--gold) / 0.2));
  transform: scale(1.05);
}

.footer-social-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--gold-light));
}

.footer-social span {
  font-weight: 500;
}

.footer-line {
  height: 4px;
  width: 100%;
  background: hsl(var(--primary));
  border-radius: 2px;
  margin-bottom: 2rem;
}

.footer-copyright {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Utility Classes */
.card-glass {
  background: linear-gradient(135deg, 
    hsl(0 0% 100% / 0.95) 0%, 
    hsl(0 0% 100% / 0.9) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 1.5rem;
  border: 1px solid hsl(0 0% 100% / 0.9);
  box-shadow: 
    0 20px 60px hsl(220 50% 50% / 0.15),
    0 8px 24px hsl(220 50% 50% / 0.1),
    inset 0 1px 0 hsl(0 0% 100% / 1),
    inset 0 -1px 0 hsl(220 50% 80% / 0.2);
  position: relative;
  overflow: hidden;
}

.card-modern {
  border-radius: 1rem;
  transition: all 0.3s;
  background: linear-gradient(145deg, 
    hsl(210 60% 98% / 0.75) 0%, 
    hsl(220 55% 95% / 0.55) 50%,
    hsl(225 50% 92% / 0.45) 100%
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 
    0 8px 32px hsl(220 50% 50% / 0.12),
    inset 0 1px 0 hsl(0 0% 100% / 0.7);
  border: 1px solid hsl(0 0% 100% / 0.5);
  position: relative;
  overflow: hidden;
}

.card-modern:hover {
  background: linear-gradient(145deg, 
    hsl(210 65% 97% / 0.85) 0%, 
    hsl(220 60% 93% / 0.65) 50%,
    hsl(225 55% 90% / 0.55) 100%
  );
  box-shadow: 
    0 16px 48px hsl(220 50% 50% / 0.18),
    0 8px 24px hsl(220 50% 50% / 0.1),
    inset 0 1px 0 hsl(0 0% 100% / 0.9);
  transform: translateY(-4px);
  border-color: hsl(0 0% 100% / 0.7);
}

.icon-gradient {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--blue-noble));
  box-shadow: 0 4px 12px hsl(var(--blue-noble) / 0.2);
}

.icon-gradient svg {
  width: 1.75rem;
  height: 1.75rem;
  color: white;
}

.icon-gradient-light {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--blue-soft));
  box-shadow: 0 4px 12px hsl(var(--blue-soft) / 0.2);
}

.icon-gradient-light svg {
  width: 1.75rem;
  height: 1.75rem;
  color: white;
}

.icon-gradient-gold {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--gold));
  box-shadow: 0 4px 12px hsl(var(--gold) / 0.2);
}

.icon-gradient-gold svg {
  width: 1.75rem;
  height: 1.75rem;
  color: white;
}

@keyframes float {
  0%, 100% { 
    transform: translateY(0px); 
  }
  50% { 
    transform: translateY(-10px); 
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-slow {
  animation: float 8s ease-in-out infinite;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
