@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Open+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --primary-dark: #0B2545;
  --primary: #13518D;
  --primary-light: #1B6BB5;
  --accent: #2196F3;
  --accent-light: #64B5F6;
  --accent-glow: #4DA8DA;
  --bg-light: #F0F7FB;
  --bg-white: #FFFFFF;
  --bg-dark: #061225;
  --text-dark: #1a1a2e;
  --text: #333333;
  --text-light: #555555;
  --text-muted: #888888;
  --border: #e0e0e0;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  background: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

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

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

ul { list-style: none; }

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

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

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary-light));
  border-radius: 2px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 20px auto 0;
}

/* ===================== NAVBAR ===================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 12px 0;
  transition: var(--transition);
  background: #fff;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.06);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.navbar-brand img {
  height: 50px;
  width: auto;
  transition: var(--transition);
}

.navbar.scrolled .navbar-brand img {
  height: 40px;
}

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

.nav-links a {
  padding: 8px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  position: relative;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-links .btn-nav {
  background: var(--accent);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
}

.nav-links .btn-nav:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 14px;
}

.lang-flag {
  text-decoration: none;
  opacity: 0.5;
  transition: var(--transition);
  line-height: 1;
  display: flex;
}

.lang-flag:hover,
.lang-flag.active {
  opacity: 1;
  transform: scale(1.1);
}

.flag {
  display: inline-block;
  width: 24px;
  height: 16px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 1px rgba(0,0,0,0.3);
  position: relative;
}

.flag-ro {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 4'%3E%3Crect fill='%23002B7F' width='2' height='4'/%3E%3Crect fill='%23FCD116' x='2' width='2' height='4'/%3E%3Crect fill='%23CE1126' x='4' width='2' height='4'/%3E%3C/svg%3E") center/cover no-repeat;
}

.flag-gb {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='a'%3E%3Cpath d='M0 0v30h60V0z'/%3E%3C/clipPath%3E%3CclipPath id='b'%3E%3Cpath d='M30 15h30v15zv15H0zH0V0zV0h30z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23a)'%3E%3Cpath d='M0 0v30h60V0z' fill='%23012169'/%3E%3Cpath d='M0 0l60 30m0-30L0 30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0 0l60 30m0-30L0 30' clip-path='url(%23b)' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/g%3E%3C/svg%3E") center/cover no-repeat;
}

.flag-de {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 3'%3E%3Crect fill='%23000' width='5' height='1'/%3E%3Crect fill='%23D00' y='1' width='5' height='1'/%3E%3Crect fill='%23FFCE00' y='2' width='5' height='1'/%3E%3C/svg%3E") center/cover no-repeat;
}

.flag-hu {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 3'%3E%3Crect fill='%23CE2939' width='6' height='1'/%3E%3Crect fill='%23fff' y='1' width='6' height='1'/%3E%3Crect fill='%23477050' y='2' width='6' height='1'/%3E%3C/svg%3E") center/cover no-repeat;
}

.nav-close {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--primary-dark);
  border-radius: 3px;
  transition: var(--transition);
}

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

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

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

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-dark);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(11, 37, 69, 0.93) 0%, rgba(19, 81, 141, 0.82) 45%, rgba(27, 107, 181, 0.45) 100%);
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
  padding-top: 80px;
}

.hero-content {
  max-width: 700px;
}

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

.hero-badge i {
  font-size: 0.75rem;
}

.hero-tagline {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  text-transform: none;
  background: rgba(30, 136, 229, 0.35);
  border-left: 4px solid var(--accent-light);
  padding: 12px 20px;
  border-radius: 0 8px 8px 0;
  line-height: 1.5;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero h1 span {
  background: linear-gradient(90deg, var(--accent-light), #81D4FA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(33, 150, 243, 0.5);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

.hero-stats {
  display: inline-flex;
  gap: 0;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: 24px 10px;
  margin-top: 10px;
}

.hero-stat {
  text-align: center;
  padding: 0 32px;
  position: relative;
}

.hero-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 50px;
  width: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.hero-stat-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.6rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 6px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===================== ABOUT ===================== */
.about {
  padding: 100px 0;
  background: var(--bg-white);
}

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

.about-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.about-image-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--accent);
  color: #fff;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.about-image-badge .number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  display: block;
}

.about-image-badge .label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content h2 {
  font-size: 2.2rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.about-content .lead {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 16px;
}

.about-content p {
  margin-bottom: 16px;
  color: var(--text-light);
}

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

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
}

.about-feature i {
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.about-feature span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* ===================== SERVICES ===================== */
.services {
  padding: 100px 0;
  background: var(--bg-light);
}

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

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

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

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-light), #dbeefe);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  color: #fff;
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

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

/* ===================== PRODUCTS ===================== */
.products {
  padding: 100px 0;
  background: var(--bg-white);
}

.products-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}

.products-intro-text h3 {
  font-size: 1.8rem;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.products-intro-text p {
  color: var(--text-light);
  margin-bottom: 12px;
}

.products-intro-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.products-intro-image img {
  width: 100%;
  height: auto;
}

.products-subtitle {
  text-align: center;
  font-size: 1.4rem;
  color: var(--primary-dark);
  margin-bottom: 36px;
  position: relative;
}

.products-subtitle::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 12px auto 0;
  border-radius: 2px;
}

.products-subtitle-secondary {
  margin-top: 60px;
  font-size: 1.2rem;
  color: var(--text-light);
}

.products-subtitle-secondary::after {
  width: 40px;
  background: var(--border);
}

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

.products-grid-featured {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.product-card-featured {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card-featured .product-image {
  background: #f8fafc;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  overflow: hidden;
}

.product-card-featured .product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-card-featured:hover .product-image img {
  transform: scale(1.05);
}

.product-card-featured .product-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card .product-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #fff;
  font-size: 1.3rem;
}

.product-card h3 {
  font-size: 1.15rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

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

.product-card-featured p {
  flex: 1;
}

.product-tag {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 14px;
  background: var(--bg-light);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* ===================== ADVANTAGES ===================== */
.advantages {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
}

.advantages .section-header h2 {
  color: #fff;
}

.advantages .section-header h2::after {
  background: linear-gradient(90deg, var(--accent-light), #81D4FA);
}

.advantages .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

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

.advantage-card {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.advantage-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.advantage-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
  color: var(--accent-light);
}

.advantage-card h3 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 8px;
}

.advantage-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

/* ===================== PORTFOLIO ===================== */
.portfolio {
  padding: 100px 0;
  background: var(--bg-light);
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border: 2px solid var(--border);
  background: var(--bg-white);
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

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

.portfolio-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: #ddd;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover img {
  transform: scale(1.08);
}

.portfolio-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(11, 37, 69, 0.85) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.portfolio-item:hover .portfolio-item-overlay {
  opacity: 1;
}

.portfolio-item-info h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.portfolio-item-info span {
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 500;
}

.portfolio-item.video-item::after {
  content: '\f04b';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(33, 150, 243, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  z-index: 2;
  transition: var(--transition);
  padding-left: 4px;
  line-height: 56px;
  text-align: center;
}

.portfolio-item.video-item:hover::after {
  background: var(--accent);
  transform: translate(-50%, -50%) scale(1.1);
}

/* ===================== LIGHTBOX ===================== */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-content img,
.lightbox-content video {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-family: 'Montserrat', sans-serif;
}

/* ===================== PROCESS ===================== */
.process {
  padding: 100px 0;
  background: var(--bg-white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary-light));
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.process-step h3 {
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ===================== CTA ===================== */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  text-align: center;
  color: #fff;
}

.cta h2 {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 16px;
}

.cta p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 30px;
}

.cta .btn-primary {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta .btn-primary:hover {
  background: var(--accent-light);
  color: #fff;
}

/* ===================== CONTACT ===================== */
.contact {
  padding: 100px 0;
  background: var(--bg-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info h3 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--text-light);
  margin-bottom: 30px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail h4 {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.contact-detail p,
.contact-detail a {
  font-size: 0.9rem;
  color: var(--text-light);
}

.contact-detail a:hover {
  color: var(--accent);
}

.contact-company-info {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.contact-company-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-company small {
  color: var(--text-muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

.contact-form {
  background: var(--bg-light);
  padding: 40px;
  border-radius: var(--radius);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--bg-white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.contact-form .btn {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: 1rem;
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 45px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: #fff;
}

.footer-anpc {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.anpc-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid #d0d5dd;
}

.anpc-badge:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transform: translateY(-1px);
}

.anpc-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
  color: #1a3c6e;
  background: #e8edf4;
  border-radius: 4px;
  padding: 4px 6px;
  line-height: 1;
  white-space: nowrap;
}

.anpc-text {
  font-size: 0.6rem;
  color: #1a3c6e;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.anpc-btn {
  font-size: 0.55rem;
  font-weight: 700;
  color: #1a3c6e;
  border: 1.5px solid #1a3c6e;
  border-radius: 12px;
  padding: 3px 8px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 20px;
  position: relative;
}

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

.footer ul li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer ul li a:hover {
  color: var(--accent-light);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
}

.footer-contact-item i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.footer-bottom a {
  color: var(--accent-light);
}

/* ===================== PROBLEMS ===================== */
.problems {
  padding: 100px 0;
  background: var(--bg-white);
}

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

.problem-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.problem-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.problem-card-top {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.problem-card-top i {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.problem-card-top h3 {
  font-size: 1rem;
  color: #991b1b;
}

.problem-card-bottom {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.problem-card-bottom i {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.problem-card-bottom p {
  font-size: 0.9rem;
  color: #166534;
  font-weight: 500;
  line-height: 1.5;
}

.problem-card-arrow {
  text-align: center;
  padding: 6px 0;
  background: var(--bg-white);
  color: var(--accent);
  font-size: 1rem;
}

/* ===================== COMPARISON ===================== */
.comparison {
  padding: 100px 0;
  background: var(--bg-light);
}

.comparison-table-wrap {
  overflow-x: auto;
  max-width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  background: var(--bg-white);
  font-size: 0.9rem;
}

.comparison-table thead th {
  padding: 20px 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-align: center;
  color: var(--text-dark);
  border-bottom: 2px solid var(--border);
  background: var(--bg-light);
  white-space: nowrap;
}

.comparison-table thead th:first-child {
  text-align: left;
  min-width: 180px;
}

.comparison-table thead th.highlight {
  background: var(--primary-dark);
  color: #fff;
  position: relative;
}

.comparison-table thead th.highlight::before {
  content: 'RECOMANDAT';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: #22c55e;
  color: #fff;
  font-size: 0.65rem;
  padding: 3px 12px;
  border-radius: 0 0 6px 6px;
  letter-spacing: 1px;
  font-weight: 700;
}

.comparison-table tbody td {
  padding: 16px;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
  color: var(--text-light);
  vertical-align: middle;
}

.comparison-table tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text-dark);
  background: #fafbfc;
}

.comparison-table tbody tr:hover td {
  background: rgba(33, 150, 243, 0.03);
}

.comparison-table tbody tr:hover td:first-child {
  background: #f0f4f8;
}

.comparison-table .col-highlight {
  background: rgba(33, 150, 243, 0.06);
  font-weight: 600;
  color: var(--primary-dark);
}

.comparison-table tbody tr:hover .col-highlight {
  background: rgba(33, 150, 243, 0.1);
}

.comparison-table .check {
  color: #22c55e;
  font-size: 1.1rem;
}

.comparison-table .cross {
  color: #ef4444;
  font-size: 1.1rem;
}

.comparison-table .partial {
  color: #f59e0b;
  font-size: 1.1rem;
}

.comparison-note {
  text-align: center;
  margin-top: 30px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.comparison-cta {
  text-align: center;
  margin-top: 40px;
}

/* ===================== TESTIMONIALS ===================== */
.trust {
  padding: 80px 0;
  background: var(--bg-white);
}

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

.trust-item {
  text-align: center;
  padding: 30px 20px;
}

.trust-item .trust-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.trust-item .trust-label {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ===================== TRUST BAR ===================== */
.trust-bar {
  padding: 24px 0;
  background: var(--bg-white);
  border-bottom: 1px solid #eee;
}

.trust-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.trust-bar-item i {
  font-size: 1.3rem;
  color: var(--primary);
}

.trust-bar-item img {
  height: 28px;
  opacity: 0.7;
  filter: grayscale(40%);
  transition: var(--transition);
}

.trust-bar-item:hover img {
  opacity: 1;
  filter: grayscale(0%);
}

/* ===================== GUARANTEE ===================== */
.guarantee {
  padding: 80px 0;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  overflow: hidden;
}

.guarantee-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 50px;
  align-items: center;
}

.guarantee-badge {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.3), inset 0 0 0 8px rgba(255,255,255,0.2);
  flex-shrink: 0;
  position: relative;
}

.guarantee-badge::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 2px dashed rgba(255,255,255,0.3);
}

.guarantee-badge i {
  font-size: 2.2rem;
  margin-bottom: 6px;
}

.guarantee-badge .guarantee-years {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.guarantee-badge .guarantee-text {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 2px;
}

.guarantee-content h2 {
  font-size: 2rem;
  color: #166534;
  margin-bottom: 16px;
}

.guarantee-content > p {
  color: #15803d;
  margin-bottom: 24px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.guarantee-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.guarantee-point {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.7);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: #166534;
}

.guarantee-point i {
  color: #22c55e;
  font-size: 1rem;
}

/* ===================== FAQ ===================== */
.faq {
  padding: 100px 0;
  background: var(--bg-white);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.faq-intro h3 {
  font-size: 1.6rem;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.faq-intro p {
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.7;
}

.faq-cta-box {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 30px;
  border-radius: var(--radius);
  color: #fff;
}

.faq-cta-box h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.faq-cta-box p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.faq-cta-box .btn {
  background: #fff;
  color: var(--primary-dark);
  font-size: 0.85rem;
  padding: 12px 24px;
}

.faq-cta-box .btn:hover {
  background: var(--accent-light);
  color: #fff;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: var(--transition);
  overflow: hidden;
}

.faq-item.active {
  border-color: var(--accent);
  background: var(--bg-white);
  box-shadow: var(--shadow);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  cursor: pointer;
  gap: 12px;
}

.faq-question h4 {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

.faq-item.active .faq-question h4 {
  color: var(--primary);
}

.faq-question .faq-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 0.8rem;
  transition: var(--transition);
}

.faq-item.active .faq-toggle {
  background: var(--accent);
  color: #fff;
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 20px 20px;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===================== TESTIMONIALS ===================== */
.testimonials {
  padding: 100px 0;
  background: var(--bg-light);
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  margin: 0 15px;
  background: var(--bg-white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s, transform 0.3s;
  position: relative;
  flex-shrink: 0;
  box-sizing: border-box;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--accent);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-author-info h5 {
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.testimonial-author-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

.testimonial-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.testimonial-arrow:hover {
  background: var(--primary);
  color: #fff;
}

.testimonials-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.testimonial-dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 5px;
}

/* ===================== FLOATING BUTTONS ===================== */
.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}

.float-btn-whatsapp {
  background: #25D366;
}

.float-btn-phone {
  background: var(--accent);
}

.float-btn-phone.pulse {
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(33, 150, 243, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(33, 150, 243, 0); }
  100% { box-shadow: 0 0 0 0 rgba(33, 150, 243, 0); }
}

/* ===================== CERTIFICATIONS ===================== */
.certifications {
  padding: 60px 0;
  background: var(--bg-light);
}

.cert-header {
  text-align: center;
  margin-bottom: 30px;
}

.cert-header h3 {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

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

.cert-item {
  text-align: center;
  padding: 24px 16px;
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.cert-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.cert-item i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 10px;
  display: block;
}

.cert-item h4 {
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.cert-item p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===================== PARTNERS ===================== */
.partners-section {
  padding: 90px 0;
  background: var(--bg-light);
}

.partners-header {
  text-align: center;
  margin-bottom: 50px;
}

.partners-header h2 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.partners-header p {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.partners-flow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}

.partner-card {
  flex: 1;
  max-width: 300px;
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}

.partner-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.partner-card-main {
  border-color: var(--primary);
  box-shadow: 0 4px 24px rgba(19, 81, 141, 0.12);
  position: relative;
  z-index: 1;
}

.partner-logo-wrap {
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
}

.partner-logo-img {
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
}

.partner-logo-img img {
  max-height: 55px;
  width: auto;
  object-fit: contain;
}

.partner-card h4 {
  font-size: 1.15rem;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.partner-role {
  display: inline-block;
  padding: 3px 14px;
  background: var(--bg-light);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.partner-card-main .partner-role {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
}

.partner-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

.partner-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  flex-shrink: 0;
  position: relative;
}

.connector-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border);
}

.partner-connector i {
  position: relative;
  z-index: 1;
  color: var(--accent);
  font-size: 0.9rem;
  background: var(--bg-light);
  padding: 4px;
}

/* ===================== SCROLL TOP ===================== */
.scroll-top {
  position: fixed;
  bottom: 160px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-dark);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  z-index: 997;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.scroll-top.visible {
  display: flex;
}

.scroll-top:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* ===================== ANIMATIONS ===================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

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

  .products-grid-featured {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .problems-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .cert-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .partners-flow {
    flex-wrap: wrap;
    gap: 20px;
  }

  .partner-connector {
    display: none;
  }

  .partner-card {
    max-width: none;
    flex: 1 1 250px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .guarantee-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .guarantee-badge {
    margin: 0 auto;
  }

  .guarantee-points {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

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

@media (max-width: 768px) {
  .navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .hamburger {
    display: flex;
    order: 1;
    flex-shrink: 0;
  }

  .navbar-brand {
    order: 2;
    flex-shrink: 1;
    min-width: 0;
  }

  .navbar-brand img {
    max-width: 130px;
    height: 36px;
  }

  .navbar.scrolled .navbar-brand img {
    height: 32px;
  }

  .lang-switcher {
    order: 3;
    flex-shrink: 0;
    gap: 4px;
    margin-left: auto;
  }

  .lang-switcher .flag {
    width: 20px;
    height: 14px;
  }

  .lang-switcher .lang-flag {
    padding: 2px;
  }

  .nav-links {
    order: 4;
    position: fixed;
    top: 0;
    left: -100%;
    width: 75%;
    max-width: 350px;
    height: 100vh;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 80px 30px 30px;
    gap: 4px;
    transition: var(--transition);
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.3);
    z-index: 1001;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
  }

  .nav-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
  }

  .nav-links a {
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 12px 16px;
    width: 100%;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
  }

  .hero-tagline {
    font-size: 1rem;
    padding: 10px 16px;
  }

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

  .hero-description {
    font-size: 1rem;
  }

  .hero-stats {
    flex-direction: row;
    padding: 18px 6px;
    gap: 0;
    width: 100%;
  }

  .hero-stat {
    padding: 0 16px;
  }

  .hero-stat-value {
    font-size: 1.8rem;
  }

  .hero-stat-label {
    font-size: 0.7rem;
  }

  .about-grid,
  .products-intro,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .services-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .products-grid-featured {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .footer-grid > * {
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .footer-anpc {
    flex-wrap: wrap;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

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

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .problems-grid {
    grid-template-columns: 1fr;
  }

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

  .comparison-table {
    font-size: 0.82rem;
  }

  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-bar .container {
    gap: 24px;
    justify-content: flex-start;
  }

  .floating-buttons {
    bottom: 16px;
    right: 16px;
  }

  .float-btn {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .products-grid-featured {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
    width: 100%;
  }

  .contact-form {
    padding: 24px;
  }

  .portfolio-filters {
    gap: 6px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}
