/* Base layout */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

:root {
  --color-primary: #2C343B;
  --color-accent: #5DADE2;
  --color-bg: #ffffff;
  --color-bg-alt: #f8f9fa;
  --color-text: #2C343B;
  --color-text-light: #6b7280;
  --border-radius: 12px;
  --border-radius-sm: 8px;
}

body {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}

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

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 720px) {
  .container {
    padding: 0 16px;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 0 rgba(44, 52, 59, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

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

.logo img {
  height: 52px;
  max-width: 100%;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
}

.main-nav a {
  position: relative;
  padding-bottom: 4px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transition: width 0.2s ease-out;
}

.main-nav a:hover::after {
  width: 100%;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lang-switch__item {
  font-weight: 600;
  cursor: pointer;
}

.lang-switch__item--active {
  color: var(--color-primary);
}

.lang-switch a.lang-switch__item:hover {
  color: var(--color-accent);
}


.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 30;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero */
.hero {
  padding: 80px 0 56px;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-panel {
  padding: 10px 0 0;
  max-width: 920px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin: 0 0 16px;
  border-radius: var(--border-radius-sm);
  background: rgba(93, 173, 226, 0.1);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.hero-text h1 {
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.15;
  margin: 0 0 20px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.hero-text p {
  max-width: 640px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text-light);
  margin: 0 0 28px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease-out;
  white-space: nowrap;
  font-family: "Montserrat", sans-serif;
}

.btn-primary {
  background: var(--color-accent);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(93, 173, 226, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(93, 173, 226, 0.4);
  background: #4a9dd1;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 12px rgba(93, 173, 226, 0.3);
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

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

.section-header.align-left {
  text-align: left;
}

.section-header h2 {
  margin: 0 0 12px;
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

.section-header p {
  margin: 0;
  font-size: 16px;
  color: var(--color-text-light);
  font-weight: 400;
}

/* Clients */
.clients-section {
  padding-top: 24px;
}

.clients-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
  row-gap: 18px;
}

.client-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  opacity: 0.9;
  transition: opacity 0.15s ease-out, transform 0.12s ease-out;
}

.client-logo img {
  max-height: 36px;
  max-width: 100%;
  width: auto;
  display: block;
}

.client-logo:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.client-logo--boost img {
  transform: scale(1.25);
  transform-origin: center;
}

.client-logo--tmobile img {
  transform: scale(2);
  transform-origin: center;
}

/* Cards grid (Services) */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.card {
  padding: 28px 24px;
  border-radius: var(--border-radius);
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(44, 52, 59, 0.08);
  border: 1px solid rgba(44, 52, 59, 0.06);
  transition: all 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(44, 52, 59, 0.12);
}

.card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
}

.card p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-light);
}

.card-meta {
  font-size: 14px;
  color: var(--color-accent);
  font-weight: 500;
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 920px;
  margin: 0 auto;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step {
  position: relative;
  padding: 28px 28px 28px 80px;
  background: #ffffff;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px rgba(44, 52, 59, 0.08);
  border: 1px solid rgba(44, 52, 59, 0.06);
  transition: all 0.2s ease;
}

.step:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(93, 173, 226, 0.15);
  border-color: rgba(93, 173, 226, 0.2);
}

.step h3 {
  margin: 0 0 10px;
  font-size: 19px;
  color: var(--color-primary);
  font-weight: 700;
}

.step h3::before {
  content: attr(data-number);
  position: absolute;
  left: 28px;
  top: 28px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: #ffffff;
  border-radius: var(--border-radius-sm);
  font-size: 18px;
  font-weight: 700;
}

.step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-light);
}

.process-illustration img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  display: block;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  background: #ffffff;
}

/* Testimonials */
.testimonials-section {
  background: #f9fafb;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.testimonial {
  background: #ffffff;
  border-radius: var(--border-radius);
  padding: 32px;
  box-shadow: 0 2px 12px rgba(44, 52, 59, 0.08);
  border: 1px solid rgba(44, 52, 59, 0.06);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: all 0.2s ease;
}

.testimonial:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(44, 52, 59, 0.12);
}

.testimonial-content {
  flex: 1;
}

.testimonial-content p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
  font-style: italic;
  position: relative;
}

.testimonial-content p::before {
  content: """;
  position: absolute;
  left: -12px;
  top: -8px;
  font-size: 48px;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.25;
  font-family: Georgia, serif;
}

.testimonial-author {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.author-info {
  flex: 1;
}

.author-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.author-title {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 2px;
}

.author-company {
  font-size: 14px;
  color: var(--color-accent);
  font-weight: 600;
}

.company-logo {
  flex-shrink: 0;
  max-width: 120px;
  opacity: 0.7;
  display: flex;
  align-items: center;
}

.company-logo img {
  max-height: 36px;
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

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

  .testimonial:first-child {
    grid-column: 1 / -1;
  }
}

/* FAQ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px rgba(44, 52, 59, 0.08);
  border: 1px solid rgba(44, 52, 59, 0.06);
  transition: all 0.2s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 20px rgba(44, 52, 59, 0.1);
}

.faq-item[open] {
  box-shadow: 0 4px 20px rgba(93, 173, 226, 0.15);
  border-color: rgba(93, 173, 226, 0.2);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary);
  flex: 1;
  padding-right: 16px;
}

.faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: #ffffff;
  border-radius: var(--border-radius-sm);
  font-size: 20px;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 24px;
  color: #4b5563;
  line-height: 1.7;
}

.faq-answer p {
  margin: 0 0 16px;
  font-size: 15px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer strong {
  color: var(--color-primary);
  font-weight: 700;
}

.faq-answer ol,
.faq-answer ul {
  margin: 12px 0;
  padding-left: 24px;
}

.faq-answer li {
  margin-bottom: 8px;
  font-size: 15px;
}

/* Social Mission */
.mission-content {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.mission-content p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.7;
  color: #4b5563;
}

.mission-content p:last-child {
  margin-bottom: 0;
}

.mission-link {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(93, 173, 226, 0.3);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.2s ease-out;
}

.mission-link:hover {
  text-decoration-color: var(--color-accent);
}

/* Contact block */
.contact-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 28px;
  border-radius: var(--border-radius);
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(44, 52, 59, 0.1);
  border: 1px solid rgba(44, 52, 59, 0.06);
}

.contact-block h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
}

.contact-block p {
  margin: 0;
  font-size: 15px;
  color: var(--color-text-light);
  max-width: 480px;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  background: var(--color-primary);
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

/* Responsive */
@media (min-width: 640px) {
  .hero {
    padding-top: 96px;
  }

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

@media (max-width: 720px) {
  .header-inner {
    padding: 14px 16px;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 68px;
    right: -100%;
    width: 240px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    box-shadow: -2px 0 20px rgba(15, 23, 42, 0.1);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    transition: right 0.3s ease;
    height: calc(100vh - 68px);
    z-index: 25;
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav a {
    font-size: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  }

  .main-nav a::after {
    display: none;
  }

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

@media (min-width: 960px) {
  .hero-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ====================================
   Cookie Consent Banner & Modal
   ==================================== */

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-bg);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  border-top: 3px solid var(--color-accent);
}

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

.cookie-banner--hidden {
  transform: translateY(100%);
}

.cookie-banner__content {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner__text {
  flex: 1;
}

.cookie-banner__text strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.cookie-banner__text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-light);
}

.cookie-banner__link {
  color: var(--color-accent);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.cookie-banner__link:hover {
  color: var(--color-primary);
}

.cookie-banner__buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal--active {
  display: flex;
}

.cookie-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.cookie-modal__content {
  position: relative;
  background: var(--color-bg);
  border-radius: var(--border-radius);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

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

.cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.cookie-modal__header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: var(--color-primary);
}

.cookie-modal__close {
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: var(--color-text-light);
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-sm);
  transition: all 0.2s ease;
}

.cookie-modal__close:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}

.cookie-modal__body {
  padding: 24px;
}

.cookie-category {
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.cookie-category:last-child {
  border-bottom: none;
}

.cookie-category__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.cookie-category__header strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.cookie-category__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-light);
}

/* Cookie Toggle Switch */
.cookie-toggle {
  flex-shrink: 0;
}

.cookie-toggle input[type="checkbox"] {
  position: relative;
  appearance: none;
  width: 52px;
  height: 28px;
  background: #ddd;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.3s ease;
  outline: none;
}

.cookie-toggle input[type="checkbox"]:checked {
  background: var(--color-accent);
}

.cookie-toggle input[type="checkbox"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--color-accent);
}

.cookie-toggle input[type="checkbox"]::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-toggle input[type="checkbox"]:checked::before {
  transform: translateX(24px);
}

.cookie-toggle label {
  display: block;
  font-size: 12px;
  color: var(--color-text-light);
  margin-top: 4px;
  text-align: center;
}

.cookie-modal__footer {
  padding: 16px 24px 24px;
  display: flex;
  justify-content: flex-end;
}

.cookie-modal__footer .btn {
  min-width: 160px;
}

/* Footer Legal Links */
.footer-legal {
  display: flex;
  gap: 24px;
  justify-content: center;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: white;
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .cookie-banner__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .cookie-banner__buttons {
    width: 100%;
    flex-direction: column;
  }

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

  .cookie-modal__content {
    max-height: 95vh;
  }

  .cookie-modal__header {
    padding: 20px 16px 12px;
  }

  .cookie-modal__header h2 {
    font-size: 20px;
  }

  .cookie-modal__body {
    padding: 16px;
  }

  .cookie-category {
    padding: 16px 0;
  }

  .cookie-category__header {
    flex-direction: column;
    gap: 12px;
  }

  .cookie-toggle {
    align-self: flex-start;
  }

  .cookie-modal__footer {
    padding: 12px 16px 20px;
  }

  .cookie-modal__footer .btn {
    width: 100%;
  }

  .footer-legal {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}


