/* --- VARIABLES --- */
:root {
  --color-bg: #f4f4f4; /* Off-white paper look */
  --color-text: #1a1a1a; /* Deep Black */
  --color-accent: #0047ab; /* Electric Blue */
  --color-border: #d1d1d1; /* Light Grey for grid lines */
  --color-white: #ffffff;

  --font-main: "Inter", sans-serif;

  --spacing-container: 120px; /* Big gutters */
  --spacing-section: 6rem;

  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

body,
html {
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* --- UTILS --- */
.container,
.header__container,
.footer__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons (Swiss Style: Square, Bordered or Solid) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
}

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  border: 1px solid var(--color-accent);
}

.btn--primary:hover {
  background-color: transparent;
  color: var(--color-accent);
  transform: translateY(-2px);
}

/* --- HEADER --- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(244, 244, 244, 0.95);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(5px);
}

.header__container {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.header__logo-icon {
  color: var(--color-accent);
}

.header__nav {
  display: none; /* Mobile first hidden */
}

/* Desktop Nav */
@media (min-width: 992px) {
  .header__nav {
    display: block;
  }

  .header__menu {
    display: flex;
    gap: 40px;
  }

  .header__link {
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    position: relative;
  }

  .header__link::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--color-accent);
    transition: var(--transition);
  }

  .header__link:hover {
    color: var(--color-accent);
  }

  .header__link:hover::after {
    width: 100%;
  }
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__burger {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
}

@media (min-width: 992px) {
  .header__burger {
    display: none;
  }
}

/* Mobile Menu (Overlay) */
.mobile-menu {
  position: fixed;
  top: 90px; /* Header height */
  left: 0;
  width: 100%;
  height: calc(100vh - 90px);
  background-color: var(--color-bg);
  padding: 40px 20px;
  transform: translateX(100%);
  transition: transform 0.4s ease-in-out;
  z-index: 999;
  border-top: 1px solid var(--color-border);
}

.mobile-menu.is-active {
  transform: translateX(0);
}

.mobile-menu__link {
  display: block;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--color-text);
}

/* --- MAIN --- */
.main {
  min-height: 60vh; /* Temporary */
}

/* --- FOOTER --- */
.footer {
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding-top: 80px;
}

.footer__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 60px;
}

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

@media (min-width: 1200px) {
  .footer__container {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr; /* 4 columns */
  }
}

.footer__logo-text {
  font-weight: 800;
  font-size: 1.5rem;
  display: block;
  margin-bottom: 20px;
}

.footer__desc {
  color: #555;
  font-size: 0.9rem;
  max-width: 300px;
  line-height: 1.6;
}

.footer__title {
  font-size: 12px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 24px;
  letter-spacing: 0.1em;
}

.footer__list li {
  margin-bottom: 12px;
}

.footer__link {
  font-size: 14px;
  color: var(--color-text);
}

.footer__link:hover {
  color: var(--color-accent);
  padding-left: 5px; /* Micro-interaction: shift */
}

.footer__contacts {
  margin-bottom: 20px;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
}

.footer__icon {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
}

.footer__note {
  font-size: 12px;
  color: #888;
  margin-top: 16px;
  border-left: 2px solid var(--color-accent);
  padding-left: 10px;
}

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding: 24px 20px;
  text-align: center;
  font-size: 12px;
  color: #888;
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 90px); /* Full viewport minus header */
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
}

.hero__grid {
  display: flex;
  width: 100%;
  flex-direction: column;
}

@media (min-width: 992px) {
  .hero__grid {
    flex-direction: row;
  }
}

/* Left Content */
.hero__content {
  flex: 1;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--color-border);
  background-color: var(--color-bg);
  z-index: 2;
}

@media (min-width: 1200px) {
  .hero__content {
    padding: 80px 60px;
    flex: 1.2; /* Slightly wider */
  }
}

.hero__label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.hero__badge {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  background: rgba(0, 71, 171, 0.1);
  padding: 6px 12px;
}

.hero__badge-line {
  flex-grow: 1;
  height: 1px;
  background-color: var(--color-border);
  max-width: 100px;
}

.hero__title {
  font-size: 3rem;
  line-height: 0.95;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
  color: var(--color-text);
}

/* Outline text effect */
.text-outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--color-text);
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 5rem;
  }
  .text-outline {
    -webkit-text-stroke: 3px var(--color-text);
  }
}

@media (min-width: 1400px) {
  .hero__title {
    font-size: 7rem; /* Huge Typography */
  }
}

.hero__subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 500px;
  margin-bottom: 48px;
  color: #444;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.hero__note {
  font-size: 12px;
  color: #888;
  font-style: italic;
}

/* Right Visual (Canvas) */
.hero__visual {
  flex: 1;
  position: relative;
  background-color: #fafafa;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Decorative Swiss Box */
.hero__deco-box {
  position: relative;
  z-index: 5;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
  padding: 30px;
  width: 200px;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero__stat {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-accent);
}

.hero__stat-desc {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 600;
}

/* --- SECTIONS COMMON --- */
.section {
  padding: var(--spacing-section) 0;
  border-bottom: 1px solid var(--color-border);
}

.section-header {
  margin-bottom: 60px;
  max-width: 800px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--color-text);
}

.text-accent {
  color: var(--color-accent);
}

.section-desc {
  font-size: 1.125rem;
  color: #555;
  line-height: 1.6;
}

/* --- BENTO GRID --- */
.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px; /* Creates the border effect */
  background-color: var(--color-border); /* Color of the gap lines */
  border: 1px solid var(--color-border);
}

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

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

.bento__item {
  background-color: var(--color-white);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  min-height: 300px;
  position: relative;
  overflow: hidden;
}

/* Grid Spanning */
@media (min-width: 992px) {
  .bento__item--large {
    grid-column: span 1;
    grid-row: span 2;
  }
  .bento__item--wide {
    grid-column: span 2;
  }
}

/* Icons */
.bento__icon-box {
  width: 50px;
  height: 50px;
  background-color: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}

.bento__icon-box i {
  width: 24px;
  height: 24px;
  color: var(--color-text);
  transition: var(--transition);
}

/* Text */
.bento__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.bento__text {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

.text-white {
  color: #fff;
}
.text-white-70 {
  color: rgba(255, 255, 255, 0.8);
}

/* Accent Item */
.bento__item--accent {
  background-color: var(--color-accent);
  color: #fff;
}

.bento__arrow-link {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0; /* Strict square */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-top: 20px;
  align-self: flex-start;
}

.bento__arrow-link:hover {
  background-color: #fff;
  color: var(--color-accent);
}

/* Stat Item */
.bento__row {
  display: flex;
  align-items: center;
  gap: 24px;
}

.bento__stat-num {
  font-size: 4rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}

.bento__stat-desc {
  font-size: 1rem;
  font-weight: 600;
  max-width: 300px;
}

/* --- HOVER EFFECTS (Micro-animations) --- */
.bento__item:hover {
  background-color: #fafafa;
}

.bento__item--accent:hover {
  background-color: #00388a; /* Darker blue */
}

/* Icon Animation: Scale & Rotate slightly */
.bento__item:hover .bento__icon-box {
  background-color: var(--color-accent);
  transform: scale(1.1);
}

.bento__item:hover .bento__icon-box i {
  color: #fff;
  transform: rotate(-10deg);
}

/* Translate effect for title */
.bento__item:hover .bento__title {
  color: var(--color-accent);
  transform: translateX(5px);
  transition: var(--transition);
}
.bento__item--accent:hover .bento__title {
  color: #fff;
  transform: translateX(5px);
}

/* --- SERVICES LIST (Accordion) --- */
.services-list {
  border-top: 1px solid var(--color-border);
}

.service-item {
  border-bottom: 1px solid var(--color-border);
  transition: background-color 0.3s ease;
}

.service-item__header {
  display: flex;
  align-items: center;
  padding: 32px 0;
  cursor: pointer;
  position: relative;
}

/* Numeration */
.service-item__num {
  font-size: 1.5rem;
  font-weight: 300;
  color: #999;
  margin-right: 40px;
  width: 40px;
  transition: var(--transition);
}

/* Title */
.service-item__title {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  flex-grow: 1;
  transition: var(--transition);
}

@media (min-width: 768px) {
  .service-item__title {
    font-size: 2rem;
  }
  .service-item__header {
    padding: 40px 0;
  }
}

/* Toggle Button (Icon) */
.service-item__btn {
  background: none;
  border: 1px solid var(--color-border);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--color-text);
}

/* Body (Hidden by default) */
.service-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-item__content {
  padding: 0 0 40px 80px; /* Indent to align with title */
  max-width: 800px;
}

@media (max-width: 768px) {
  .service-item__content {
    padding: 0 0 30px 0;
  }
}

.service-item__desc {
  margin-bottom: 24px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.service-item__features {
  margin-bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-item__features li {
  font-size: 14px;
  font-weight: 600;
  background: #f0f0f0;
  padding: 8px 16px;
  text-transform: uppercase;
}

/* --- ACTIVE STATE (JS controlled) --- */
.service-item.is-active {
  background-color: #fafafa;
}

.service-item.is-active .service-item__num {
  color: var(--color-accent);
  transform: translateX(10px); /* Shift animation */
}

.service-item.is-active .service-item__title {
  color: var(--color-accent);
  padding-left: 10px; /* Shift title too */
}

.service-item.is-active .service-item__btn {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: white;
  transform: rotate(45deg); /* Plus becomes Cross */
}

.service-item.is-active .service-item__body {
  max-height: 500px; /* Enough height to show content */
}

/* --- BLOG HEADER --- */
.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.blog-nav {
  display: flex;
  gap: 12px;
}

.blog-nav__btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-border);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--color-text);
}

.blog-nav__btn:hover {
  background-color: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

/* --- BLOG TRACK (Slider) --- */
.blog-wrapper {
  width: 100%;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.blog-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  /* Hide scrollbar */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE */
}

.blog-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* --- BLOG CARD --- */
.blog-card {
  min-width: 300px;
  width: 85vw; /* Mobile width */
  max-width: 400px; /* Desktop width */
  flex-shrink: 0;
  border-right: 1px solid var(--color-border);
  scroll-snap-align: start;
  background-color: var(--color-white);
  transition: var(--transition);
}

.blog-card__link {
  display: block;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card__image-box {
  height: 240px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--color-border);
}

.blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%); /* B&W by default */
  transition: transform 0.6s ease, filter 0.6s ease;
}

.blog-card__cat {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--color-white);
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 2;
}

.blog-card__content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card__meta {
  font-size: 12px;
  color: #888;
  margin-bottom: 12px;
  font-weight: 600;
}

.blog-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--color-text);
}

.blog-card__excerpt {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 24px;
  flex-grow: 1;
}

.blog-card__read-more {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.blog-card__read-more::after {
  content: "→";
  transition: transform 0.3s;
}

/* --- HOVER EFFECTS --- */
.blog-card:hover .blog-card__img {
  filter: grayscale(0%); /* Color on hover */
  transform: scale(1.05);
}

.blog-card:hover .blog-card__read-more::after {
  transform: translateX(5px);
}

.blog-card:hover {
  background-color: #fafafa;
}

/* --- MARQUEE (Running Text) --- */
.marquee-container {
  width: 100%;
  overflow: hidden;
  background-color: var(--color-text);
  color: var(--color-white);
  padding: 20px 0;
  margin-bottom: 60px;
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  animation: marquee 20s linear infinite;
}

.marquee-content span {
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-right: 40px;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --- REVIEWS GRID --- */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
}

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

/* --- REVIEW CARD --- */
.review-card {
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 350px;
  position: relative;
  background-color: var(--color-white);
}

.review-card__quote-icon {
  font-size: 6rem;
  line-height: 1;
  font-family: serif; /* Contrast font for quote mark */
  color: var(--color-accent);
  opacity: 0.2;
  position: absolute;
  top: 20px;
  left: 20px;
  pointer-events: none;
}

.review-card__text {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}

.review-card__author {
  margin-top: auto;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.review-card__name {
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.review-card__role {
  font-size: 0.9rem;
  color: #888;
  margin-top: 4px;
}

/* Accent Card Style */
.review-card--accent {
  background-color: var(--color-text); /* Black background */
  color: var(--color-white);
}

.review-card--accent .review-card__author {
  border-top-color: rgba(255, 255, 255, 0.2);
}

/* --- CONTACT GRID --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 120px; /* Big gap for airy feel */
  }
}

/* --- CONTACT INFO (Left) --- */
.contact-details {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  margin-bottom: 8px;
  display: block;
}

.contact-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}

/* --- FORM (Right) --- */
.contact-form-wrapper {
  position: relative;
  padding: 40px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
}

.form-group {
  margin-bottom: 32px;
  position: relative;
}

.form-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
  color: var(--color-text);
}

.form-input {
  width: 100%;
  padding: 16px 0;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--color-border);
  font-family: var(--font-main);
  font-size: 1.1rem;
  color: var(--color-text);
  transition: var(--transition);
  border-radius: 0;
}

.form-input:focus {
  outline: none;
  border-bottom-color: var(--color-accent);
}

.form-input::placeholder {
  color: #ccc;
}

/* Error State */
.form-input.is-invalid {
  border-bottom-color: #ff3333;
}

.form-error {
  font-size: 12px;
  color: #ff3333;
  position: absolute;
  bottom: -20px;
  left: 0;
  opacity: 0;
  transition: var(--transition);
}

.form-input.is-invalid + .form-error {
  opacity: 1;
}

/* Custom Checkbox */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.custom-checkbox {
  appearance: none;
  -webkit-appearance: none;
  min-width: 20px;
  height: 20px;
  border: 2px solid var(--color-border);
  background-color: transparent;
  cursor: pointer;
  position: relative;
  margin-top: 2px;
  transition: var(--transition);
}

.custom-checkbox:checked {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

/* Checkmark imitation */
.custom-checkbox:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 6px;
  width: 4px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.check-label {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
  cursor: pointer;
}

.link-underlined {
  text-decoration: underline;
  color: var(--color-text);
}

/* Captcha Box Style */
.captcha-box {
  background-color: #f9f9f9;
  padding: 16px;
  border: 1px solid #ddd;
  width: fit-content;
  border-radius: 4px; /* Slight radius for "I'm not a robot" feel */
}

.check-label--captcha {
  font-weight: 600;
  color: var(--color-text);
}

.form-btn {
  width: 100%;
  margin-top: 16px;
}

/* Success Message Overlay */
.form-success {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}

.form-success.is-visible {
  opacity: 1;
  visibility: visible;
}

.success-icon {
  width: 80px;
  height: 80px;
  background-color: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.success-icon i {
  width: 40px;
  height: 40px;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transform: translateY(150%); /* Hidden by default */
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  max-width: 1440px;
  margin: 0 auto;
}

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

.cookie-banner__text {
  font-size: 0.9rem;
  color: var(--color-text);
}

.cookie-banner__btn {
  padding: 12px 24px;
  font-size: 12px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    bottom: 0;
    left: 0;
    right: 0;
    border-width: 1px 0 0 0;
  }

  .cookie-banner__btn {
    width: 100%;
  }
}

/* --- LEGAL PAGES STYLES --- */
.pages {
  padding: 80px 0;
  min-height: 60vh;
}

.pages h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 60px;
  text-transform: uppercase;
  border-bottom: 2px solid var(--color-text);
  padding-bottom: 20px;
}

.pages h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--color-text);
}

.pages p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
  color: #444;
  max-width: 800px; /* Optimal reading width */
}

.pages ul {
  margin-bottom: 24px;
  padding-left: 20px;
  list-style-type: square; /* Swiss style bullet */
}

.pages li {
  margin-bottom: 12px;
  color: #444;
}

.pages a {
  color: var(--color-accent);
  text-decoration: underline;
}

.pages a:hover {
  text-decoration: none;
}

/* Specific styling for list items highlighting */
.pages strong {
  color: var(--color-text);
  font-weight: 700;
}
