/* CSS Variables */
:root {
  --color-gray: #56494e;
  --color-light: #f6f4f2;
  --color-red: #a62639;
  --color-darkred: #6b001a;
  --color-white: #ffffff;
  --color-black: #111111;
  --color-text: #333333;

  --font-heading: "Montserrat", sans-serif;
  --font-body: "Inter", sans-serif;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-light);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-gray);
  line-height: 1.2;
}

ul {
  list-style: none;
}

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

.section-title {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 3rem;
  color: var(--color-gray);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--color-red);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-darkred);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--color-red);
  color: var(--color-red);
}

.btn-secondary:hover {
  background-color: var(--color-red);
  color: var(--color-white);
}

/* Header */
.header {
  background-color: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-gray);
}

.nav-menu a:hover {
  color: var(--color-red);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-switcher a {
  font-size: 0.95rem;
  font-weight: 600;
  color: #888;
  transition: color 0.2s;
}

.lang-switcher a.active {
  color: var(--color-gray);
}

.lang-switcher .divider {
  color: #ddd;
  font-size: 0.95rem;
}

.nav-menu .cta-nav {
  background-color: var(--color-red);
  color: var(--color-white);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
}

.nav-menu .cta-nav:hover {
  background-color: var(--color-darkred);
  color: var(--color-white);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--color-gray);
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  padding: 100px 24px;
  text-align: center;
  background-color: var(--color-light);
}

.hero-container {
  max-width: 800px;
  margin: 0 auto;
}

.hero-section h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-gray);
}

.hero-section p {
  font-size: 1.125rem;
  color: var(--color-text);
  margin-bottom: 2.5rem;
}

/* Certifications */
.certifications-section {
  padding: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background-color: var(--color-white);
}

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

.cert-logos {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cert-item img {
  height: 32px;
  width: auto;
}

.cert-item span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-gray);
}

/* Comparison Section */
.comparison-section {
  padding: 100px 0;
  background-color: var(--color-light);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.comparison-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.comparison-card-content {
  padding: 48px;
  position: relative;
  z-index: 1;
}

.comparison-card.mad-octopus {
  background-color: var(--color-red);
  position: relative;
  transform: scale(1.03);
  border: 3px solid #6b001a;
  box-shadow: 0 20px 40px rgba(107, 0, 26, 0.4);
  z-index: 2;
}

.comparison-card.mad-octopus::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -80px;
  width: 500px;
  height: 500px;
  background-image: url("./public/Logo-elements-600x600-v1.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top right;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.comparison-card.big-agencies {
  background-color: var(--color-gray);
  box-shadow: none;
  border: none;
}

.comparison-card h3 {
  color: var(--color-white);
  font-size: 1.75rem;
  margin-bottom: 32px;
  text-align: center;
}

.comparison-card .list-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.comparison-card .list-item:last-child {
  margin-bottom: 0;
}

.comparison-card .icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-top: 2px;
}

.comparison-card.mad-octopus .icon {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
}

.comparison-card.big-agencies .icon {
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

.comparison-card strong {
  display: block;
  font-size: 1.125rem;
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

.comparison-card p {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Services */
.services-section {
  padding: 100px 0;
  background-color: var(--color-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.service-card {
  background-color: var(--color-light);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
}

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

.service-icon-wrap {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
}

.service-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--color-text);
}

/* Pricing */
.pricing-section {
  padding: 100px 0;
  background-color: var(--color-light);
}

.pricing-slider-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-carousel {
  overflow: hidden;
  padding: 24px 8px; /* Extra padding top for badge, padding bottom for shadow */
  margin-bottom: 24px;
}

.pricing-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  transition: transform 0.4s ease-in-out;
}

.pricing-track > .pricing-card {
  flex: 0 0 calc(33.3333% - 16px);
  opacity: 1; /* override default card styles if needed, ensures visibility */
  /* Ensure cards don't shrink below their content unreasonably */
  min-width: 0;
}

.discount-badge {
  background-color: var(--color-red);
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 16px;
  vertical-align: middle;
  margin-left: 12px;
}

.pricing-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-card.highlighted {
  border: 2px solid var(--color-red);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-red);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 1px;
}

.pricing-header {
  text-align: center;
  margin-bottom: 32px;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--color-gray);
}

.pricing-header .subtitle {
  font-size: 0.875rem;
  color: var(--color-text);
}

.flexible-label {
  display: block;
  font-size: 0.9rem;
  color: var(--color-red);
  margin-bottom: 12px;
}

.pricing-features {
  flex-grow: 1;
  margin-bottom: 32px;
}

.pricing-features li {
  font-size: 0.9rem;
  margin-bottom: 16px;
  padding-left: 24px;
  position: relative;
}

.pricing-features li::before {
  content: "•";
  color: var(--color-red);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.25rem;
  line-height: 1.2;
}

.pricing-footer {
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 24px;
}

.flexible-footer {
  border-top: none;
  padding-top: 0;
  margin-top: auto;
}

.price {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 12px;
}

.old-price {
  position: relative;
  text-decoration: none;
  color: #888;
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 8px;
  display: inline-block;
}

.old-price::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -5%;
  width: 110%;
  height: 2px;
  background-color: var(--color-red);
  transform: translateY(-50%) rotate(-10deg);
}

.new-price {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-gray);
  font-family: var(--font-heading);
  line-height: 1;
}

.per-month {
  font-size: 1.125rem;
  font-weight: 500;
  color: #666;
  margin-left: 4px;
}

.discount-note {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text);
  margin-bottom: 24px;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
  width: 100%;
}

.info-section {
  background-color: var(--color-white);
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.info-section h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.info-section ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-section li {
  font-size: 0.95rem;
  position: relative;
  padding-left: 20px;
}

.info-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-red);
}

/* Ecosystem Slider */
.client-ecosystem {
  padding: 100px 0;
  background-color: var(--color-white);
}

.slider-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.nav-btn {
  background-color: var(--color-light);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-gray);
  transition: var(--transition);
  flex-shrink: 0;
}

.nav-btn:hover {
  background-color: var(--color-red);
  color: var(--color-white);
}

.slider-container {
  flex-grow: 1;
  overflow: hidden;
  background-color: var(--color-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  min-height: 250px;
  display: flex;
  align-items: center;
}

.slide-content {
  display: none;
  align-items: center;
  gap: 48px;
  width: 100%;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-content.active {
  display: flex;
}

.slide-icon {
  flex-shrink: 0;
  width: 100px;
}

.slide-text h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--color-gray);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ddd;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--color-red);
  transform: scale(1.2);
}

/* About Us */
.about-us {
  padding: 100px 0;
  background-color: var(--color-light);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.about-top-row {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.founder-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.founder-caption {
  font-weight: 600;
  color: var(--color-gray);
  font-size: 1rem;
}

.profile-img {
  width: 400px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

.about-top-row .text-content h3,
.about-bottom-row h3 {
  font-size: 1.75rem;
  margin-bottom: 24px;
}

.about-features {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-features li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  background-color: var(--color-red);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-bottom-row {
  display: flex;
  align-items: center;
  gap: 48px;
}

.bottom-text-content {
  flex: 1;
}

.bottom-text-content p {
  margin-bottom: 16px;
}

.schema-container {
  flex: 1;
  display: flex;
  justify-content: center;
}

.diagram-img {
  max-width: 100%;
}

/* FAQ Section */
.faq-section {
  padding: 100px 0;
  background-color: var(--color-white);
}

.accordion {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media screen and (min-width: 1024px) {
  .faq-question {
    white-space: nowrap;
  }
}

.faq-item {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 24px;
  font-size: 1.125rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.faq-question:hover {
  background-color: var(--color-light);
}

.faq-icon {
  color: var(--color-red);
  font-size: 1.5rem;
  font-weight: 400;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: var(--color-white);
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 24px 24px 24px;
  color: var(--color-text);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* Contact Form Section */
.section-contact-form {
  padding: 100px 0;
  background-color: var(--color-light);
}

.form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--color-white);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-intro {
  text-align: center;
  margin-bottom: 32px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-gray);
}

.required {
  color: var(--color-red);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus {
  outline: none;
  border-color: var(--color-red);
}

.checkbox-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

/* Custom Checkbox */
.checkbox-container {
  display: block;
  position: relative;
  padding-left: 32px;
  margin-bottom: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  user-select: none;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 24px;
  width: 24px;
  background-color: #eee;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkbox-container:hover input ~ .checkmark {
  background-color: #ccc;
}

.checkbox-container input:checked ~ .checkmark {
  background-color: var(--color-red);
}

.checkmark:after {
  content: "";
  display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 3px;
}

.form-message {
  padding: 16px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 600;
}

.error-message {
  background-color: #fee2e2;
  color: #991b1b;
}

.success-message {
  background-color: #dcfce7;
  color: #166534;
  margin-top: 16px;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 2rem;
  line-height: 1;
  background: none;
  border: none;
  color: var(--color-gray);
  cursor: pointer;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-red);
  color: var(--color-white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  transform: translateY(20px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-gray);
  transform: translateY(-5px);
}

/* Footer */
.footer {
  background-color: var(--color-gray);
  color: var(--color-white);
  padding: 64px 24px 32px 24px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 32px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.footer-contacts {
  text-align: right;
}

.footer-logo {
  height: 48px;
  filter: brightness(0) invert(1);
}

.footer-contacts p,
.footer-contacts a {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
  display: block;
}

.footer-contacts a:hover {
  color: var(--color-white);
}

.company-name {
  font-weight: 600;
  color: var(--color-white) !important;
  font-size: 1.1rem;
}

.footer-bottom {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.privacy-link:hover {
  color: var(--color-white);
}

/* --- Responsive Media Queries --- */

/* Tablet & Smaller Desktop */
@media screen and (max-width: 1024px) {
  .hero-section h1 {
    font-size: 3rem;
  }

  .pricing-track > .pricing-card {
    flex: 0 0 calc(50% - 12px);
  }

  .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: var(--color-white);
    box-shadow: var(--shadow-md);
  }

  .about-top-row,
  .about-bottom-row {
    flex-direction: column;
    align-items: center;
  }

  .about-bottom-row {
    flex-direction: column-reverse;
  }

  .profile-img,
  .schema-container {
    width: 100%;
    max-width: 500px;
  }

  .slider-container {
    padding: 32px;
  }

  .slide-content {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
}

/* Mobile */
@media screen and (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    flex-direction: column;
    gap: 0;
    box-shadow: var(--shadow-md);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    padding: 16px 24px;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-menu .lang-switcher {
    padding: 16px 24px;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    justify-content: flex-start;
  }

  .nav-menu .lang-switcher a {
    width: auto;
    padding: 0;
    border-bottom: none;
  }

  .nav-menu .cta-nav {
    margin: 16px 24px;
    text-align: center;
    border-radius: var(--radius-sm);
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-section h1 {
    font-size: 2.25rem;
  }

  .cert-logos {
    gap: 24px;
    flex-direction: column;
    align-items: center;
  }

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

  .comparison-card-content {
    padding: 32px;
  }

  .pricing-track > .pricing-card {
    flex: 0 0 100%;
  }

  .slider-wrapper {
    position: relative;
  }

  .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: var(--color-white);
    box-shadow: var(--shadow-md);
  }

  .prev-btn {
    left: -16px;
  }

  .next-btn {
    right: -16px;
  }

  .form-wrapper {
    padding: 32px 24px;
  }

  .footer-top {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-contacts {
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
  }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  padding: 16px 24px;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.4s ease-in-out;
  display: flex;
  justify-content: center;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cookie-content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.5;
  text-align: center;
}

.cookie-content a {
  color: var(--color-red);
  text-decoration: underline;
  font-weight: 600;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
}

.cookie-btn {
  padding: 8px 16px;
  font-size: 0.9rem;
}

@media screen and (min-width: 768px) {
  .cookie-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .cookie-content p {
    text-align: left;
  }
}
