/* 
    Aver-site || Rusification Landing Page
    Premium SaaS Style: Airy, Light Blue/Turquoise gradients, Green mint CTA.
*/

:root {
  /* Colors */
  --color-bg: #f5fafe;
  --color-surface: #ffffff;
  --color-text-main: #1b2533;
  --color-text-muted: #64748b;

  --color-primary: #1cc678; /* Mint Green from reference */
  --color-primary-hover: #15a462;
  --color-secondary: #0ea5e9; /* Light blue accent */
  --color-accent-red: #ef4444; /* Soft Red for risk */

  --color-gradient-blue: linear-gradient(135deg, #e0f2fe 0%, #f0fdfa 100%);
  --color-gradient-green: linear-gradient(135deg, #34d399 0%, #10b981 100%);

  /* Shadows */
  --shadow-soft: 0 10px 40px -10px rgba(14, 165, 233, 0.1);
  --shadow-hover: 0 20px 50px -10px rgba(14, 165, 233, 0.15);

  /* Radii */
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --radius-pill: 999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Outfit", sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Utilities */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

.section {
  padding: 100px 0;
  position: relative;
  z-index: 10;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
}

.light-blue-bg {
  background: linear-gradient(180deg, #f0f9ff 0%, #f8fafc 100%);
}
.soft-red-bg {
  background: linear-gradient(180deg, #fef2f2 0%, #fdf8f6 100%);
}
.soft-green-bg {
  background: linear-gradient(180deg, #ecfdf5 0%, #f8fafc 100%);
}

/* Typography */
a {
  text-decoration: none;
  color: inherit;
}
h1,
h2,
h3,
h4,
h5 {
  color: var(--color-text-main);
  font-weight: 600;
}

/* Buttons & Interactive */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(28, 198, 120, 0.39);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(28, 198, 120, 0.4);
}

/* Button Shine Effect */
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: shine 4s infinite;
}

@keyframes shine {
  0% {
    left: -100%;
  }
  20% {
    left: 200%;
  }
  100% {
    left: 200%;
  }
}

.btn-secondary {
  background-color: white;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn-secondary:hover {
  background-color: #f0fdfa;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-text-main);
  border: 1px solid #e2e8f0;
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* Cards shared */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: var(--transition-smooth);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(14, 165, 233, 0.2);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-fast);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-secondary);
  letter-spacing: -0.5px;
}

.site-logo {
  height: 48px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  color: var(--color-text-muted);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-text-main);
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: 8px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  transition: var(--transition-fast);
}

.social-icon:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

.contact-link.phone {
  font-weight: 600;
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-bg-blobs {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  opacity: 0.6;
  filter: blur(60px);
}

.blob-1 {
  top: -10%;
  left: -5%;
  width: 600px;
  animation: float 12s ease-in-out infinite alternate;
}

.blob-2 {
  bottom: 10%;
  right: -5%;
  width: 500px;
  animation: float 15s ease-in-out infinite alternate-reverse;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(30px, 40px) scale(1.05);
  }
}

.hero-container {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-flex;
  padding: 4px 12px;
  background: #fff0f2;
  color: #e11d48;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-title span {
  color: var(--color-accent-red);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  max-width: 90%;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-contacts-inline {
  display: flex;
  gap: 24px;
}

.inline-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.inline-contact:hover { color: var(--color-primary); }

/* Abstract UI wrapper */
.visual-wrapper {
  position: relative;
  width: 100%;
  height: 600px;
}

.main-ui {
  width: 95%;
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.floating-card {
    position: absolute;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(255,255,255,0.6);
    transition: transform 0.3s ease-out;
}

.floating-card:hover {
    transform: scale(1.05) !important;
    z-index: 20;
}

.sequence-card {
    top: 70%; /* Start aligned near the bottom texts/arrow */
    left: 50%;
    margin-left: -140px; 
    width: 280px;
    z-index: 10;
    opacity: 0;
    /* 15s total duration for a smooth conveyor loop */
    animation: conveyor-flow 15s linear infinite;
}

@keyframes conveyor-flow {
    0% { opacity: 0; transform: translateY(50px); }
    10% { opacity: 1; transform: translateY(-30px); }
    15% { opacity: 1; transform: translateY(-80px); }
    25% { opacity: 0; transform: translateY(-160px); }
    100% { opacity: 0; transform: translateY(-160px); }
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.error-icon {
  background: #fee2e2;
  color: #ef4444;
}
.alert-icon {
  background: #ffedd5;
  color: #f97316;
}
.time-icon {
  background: #e0f2fe;
  color: #0ea5e9;
}

.card-text {
  display: flex;
  flex-direction: column;
}
.card-title {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}
.card-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-main);
}
.card-value small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

/* Grid 3 */
.law-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.modern-icon img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
  max-width: 120px;
  border-radius: 50%;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-desc {
  color: var(--color-text-muted);
}

/* Grid 4 - Violations */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.violation-item {
    background: white;
    padding: 24px 24px 32px;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}
.violation-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.violation-item:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 10px 25px rgba(14, 165, 233, 0.05);
}

.violation-tag {
  display: inline-block;
  padding: 4px 10px;
  background: #f1f5f9;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.violation-name {
  margin-bottom: 8px;
  font-size: 1.1rem;
}
.violation-example {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Splits */
.container-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.container-split.reverse .split-content {
  order: 2;
}
.container-split.reverse .split-visual {
  order: 1;
}

.risk-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.risk-item {
  display: flex;
  gap: 16px;
}

.risk-icon {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.risk-text h4 {
  margin-bottom: 4px;
}
.risk-text p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.visual-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.floating-animation {
    animation: float-y 6s ease-in-out infinite;
}
.floating-animation-alt {
    animation: float-y 8s ease-in-out infinite alternate-reverse;
}

@keyframes float-y {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

/* Steps */
.steps-list {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step-item {
  display: flex;
  gap: 20px;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.step-info h5 {
  font-size: 1.125rem;
  margin-bottom: 4px;
}
.step-info p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Pricing */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: center;
}

.pricing-card {
  position: relative;
  padding: 40px 32px;
}

.pricing-card.recommended {
  transform: scale(1.05);
  border: 2px solid var(--color-primary);
  box-shadow: 0 20px 40px rgba(28, 198, 120, 0.15);
}
.pricing-card.recommended:hover {
  transform: scale(1.05) translateY(-5px);
}

.recommended-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: white;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
}

.plan-name {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.plan-price {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.plan-price .calc-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.plan-desc {
  color: var(--color-text-muted);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.plan-features {
  list-style: none;
  margin-bottom: 40px;
}

.plan-features li {
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
}
.plan-features li::before {
  content: "✓";
  color: var(--color-primary);
  font-weight: bold;
  margin-right: 12px;
}

.plan-btn {
  width: 100%;
}

/* FAQ */
.faq-container {
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid #e2e8f0;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 24px 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-secondary);
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Arbitrary large value */
}

.faq-answer p {
  padding-bottom: 24px;
  color: var(--color-text-muted);
}

/* Lead Form */
.form-wrapper {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.form-content {
  padding: 48px;
}

.form-contacts {
    background: #f8fafc;
    padding: 48px;
    border-left: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}

.form-group {
  margin-bottom: 20px;
}


.form-select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition-fast);
  background-color: #ffffff;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}

.form-select:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition-fast);
}

.form-group input:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.recaptcha-wrapper {
  margin: 24px 0;
}

.btn-submit {
  width: 100%;
  margin-bottom: 16px;
}

.form-policy {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-align: center;
}
.form-policy a {
  color: var(--color-secondary);
  text-decoration: underline;
}

.fc-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}
.fc-value {
  font-size: 1.25rem;
  font-weight: 600;
}
.fc-value.phone {
  color: var(--color-primary);
}
.fc-messengers {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}
.success-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}
.form-success h3 {
  margin-bottom: 12px;
}
.form-success p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
}
.hidden {
  display: none;
}

/* Footer */
.footer {
  background: #0f172a;
  color: white;
  padding: 80px 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand .logo-text {
  color: white;
}
.footer-desc {
  color: #94a3b8;
  margin-top: 16px;
  max-width: 300px;
}

.footer h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-links,
.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a,
.footer-contact-link {
  color: #94a3b8;
  transition: var(--transition-fast);
}

.footer-links a:hover,
.footer-contact-link:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  color: #64748b;
  font-size: 0.9rem;
}

.fb-container {
  display: flex;
  justify-content: space-between;
}

/* Animations for Observer */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(4px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal-up.zoom-in {
  transform: translateY(40px) scale(0.9);
}
.reveal-up.zoom-in.active {
  transform: translateY(0) scale(1);
}

.reveal-up.slide-right {
  transform: translateX(-40px);
}
.reveal-up.slide-right.active {
  transform: translateX(0);
}

.badge.badge-red-style {
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--color-accent-red) 0%, #dc2626 100%);
  color: white;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.2);
}

/* ============================================================
   Responsive
   ============================================================ */

/* ---------- Tablet & small desktop (≤ 1024px) ---------- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-actions,
  .hero-contacts-inline {
    justify-content: center;
  }
  .floating-card {
    position: relative;
    inset: auto;
    margin-bottom: 16px;
    display: inline-flex;
  }
  .visual-wrapper {
    height: 420px;
    text-align: center;
    margin-top: 40px;
    position: relative;
    display: block;
  }
  .sequence-card {
    position: absolute !important;
    top: 70% !important;
    left: 50% !important;
    margin-left: -140px !important;
    margin-bottom: 0;
  }
  .main-ui {
    position: relative;
    transform: none;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 500px;
    margin-bottom: 24px;
  }
  .container-split {
    grid-template-columns: 1fr;
  }
  .container-split.reverse .split-visual,
  .container-split.reverse .split-content {
    order: 0;
  }
  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  .pricing-card.recommended {
    transform: none;
  }
  .pricing-card.recommended:hover {
    transform: translateY(-5px);
  }
  .form-wrapper {
    grid-template-columns: 1fr;
  }
  .form-contacts {
    border-left: none;
    border-top: 1px solid #e2e8f0;
  }
  /* Hide nav and phone text at this breakpoint already */
  .nav {
    display: none;
  }
  .contact-link.phone {
    display: none;
  }
}

/* ---------- Mobile (≤ 768px) ---------- */
@media (max-width: 768px) {
  /* --- Container breathing room --- */
  .container {
    padding: 0 20px;
  }

  /* --- Sections --- */
  .section {
    padding: 48px 0;
  }

  /* --- Header: logo + socials + CTA --- */
  .header-container {
    height: 60px;
    gap: 8px;
  }
  .site-logo {
    height: 36px;
  }
  .header-contacts {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .header-socials {
    gap: 6px;
    margin-right: 0;
  }

  /* --- Hero --- */
  .hero {
    padding-top: 100px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .badge.badge-red-style {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
  .grid-4,
  .law-cards {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
  }
  .visual-wrapper {
    height: 320px;
  }
  .sequence-card {
    width: 220px !important;
    margin-left: -110px !important;
  }

  /* --- Section titles --- */
  .section-title {
    font-size: 1.75rem;
  }

  /* --- FAQ & SEO: extra side breathing room --- */
  .faq-container {
    padding: 0 20px;
  }
  .faq-accordion {
    padding: 0 10px;
  }
  #seo .container {
    padding: 0 36px;
  }

  /* --- Footer: single column, centered --- */
  .footer {
    padding: 48px 0 0;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-desc {
    max-width: none;
    margin: 12px auto 0;
  }
  .footer-links,
  .footer-contacts {
    align-items: center;
  }
  .fc-messengers {
    justify-content: center;
  }
  .fb-container {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }

  /* --- Form contacts section on mobile --- */
  .form-contacts {
    text-align: center;
  }
  .form-contacts .fc-messengers {
    justify-content: center;
  }
}

/* ---------- Small phones (≤ 480px) ---------- */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero-title {
    font-size: 1.6rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .section {
    padding: 40px 0;
  }
  .card {
    padding: 20px;
  }
  .visual-wrapper {
    height: 260px;
  }
  .sequence-card {
    width: 200px !important;
    margin-left: -100px !important;
    font-size: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
