@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;400;500;700;800&family=Inria+Sans:wght@700&display=swap');

:root {

  --color-primary: #2D264B;
  --color-dark-bg: #202632;
  --color-text-dark: #1e2532;
  --color-text-hero: #121721;
  --color-text-gray: #636363;
  --color-text-gray-2: #888;
  --color-text-gray-3: #999;
  --color-text-gray-4: #9fa2a8;
  --color-text-nav: #62666f;
  --color-text-body: #dedede;
  --color-accent: #6b424a;
  --color-white: #ffffff;
  --color-off-white: #fbfbfb;
  --color-light-bg: #fcfcfd;
  --color-light-pink: #f0e5e7;
  --color-light-gray: #eee;
  --color-faq-answer: #6d6d6d;
  --color-btn-dark: #2a303b;
  --color-btn-outline: #949599;
  --color-brand-gray: #929397;
  --color-step-num: #666d7b;
  --color-project-text: #1e1e1e;
  --color-check: #363636;

  --badge-premium: #d9d9d9;
  --badge-premium-text: #555961;
  --badge-services: #d2dde4;
  --badge-services-text: #535f6f;
  --badge-projects: #d2e4de;
  --badge-projects-text: #536f66;
  --badge-process: #f0ede5;
  --badge-process-text: #82806a;
  --badge-about: #f0e5e7;
  --badge-about-text: #6b424a;
  --badge-tag-blue: #d2d9e4;
  --badge-tag-pink: #f0e5e7;
  --badge-tag-green: #d2e4de;

  --footer-gradient: linear-gradient(168deg, rgb(32, 38, 50) 29.7%, rgb(48, 60, 83) 114.1%);

  --font-primary: 'Inter', sans-serif;
  --font-body: 'Inria Sans', serif;

  --radius-sm: 5px;
  --radius-badge: 9.63px;
  --radius-btn: 16px;
  --radius-btn-sm: 11px;
  --radius-card: 15px;
  --radius-card-lg: 20px;
  --radius-container: 22px;
  --radius-pill: 26px;

  --header-bg: rgba(217, 217, 217, 0.2);
  --header-border: rgba(0, 0, 0, 0.24);
}

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

html {
  scroll-behavior: smooth;
  zoom: 1.5;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text-dark);
  background: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul, ol {
  list-style: none;
}

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

.header {
  position: fixed;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid var(--header-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  padding: 0 12px;
  height: 34px;
  gap: 6px;
}

.header-logo {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 12px;
  color: black;
  margin-right: 8px;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  gap: 4px;
  position: relative;
}

.header-nav > a,
.header-nav .nav-dropdown > a {
  background: var(--header-bg);
  backdrop-filter: blur(2px);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 10px;
  color: var(--color-text-nav);
  text-align: center;
  white-space: nowrap;
  display: inline-block;
}

.header-nav > a:hover,
.header-nav .nav-dropdown > a:hover {
  background: rgba(217, 217, 217, 0.4);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > a::after {
  content: ' ▾';
  font-size: 8px;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--header-border);
  border-radius: var(--radius-sm);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  z-index: 100;
  list-style: none;
  margin: 4px 0 0;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu li a {
  display: block;
  padding: 8px 16px;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 11px;
  color: var(--color-text-dark);
  transition: background 0.2s;
  white-space: nowrap;
}

.nav-dropdown-menu li a:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--color-text-hero);
}

.header-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header-hamburger svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-text-dark);
}

.footer {
  background: var(--footer-gradient);
  padding: 60px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  max-width: 1300px;
  margin: 0 auto;
}

.footer-brand {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 40px;
  color: var(--color-white);
}

.footer-col h3 {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 20px;
  color: var(--color-white);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 12px;
  color: var(--color-text-gray-3);
  margin-bottom: 10px;
  transition: color 0.2s;
}

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

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

.footer-social a {
  display: inline-flex;
  width: 28px;
  height: 28px;
  opacity: 0.2;
  transition: opacity 0.3s;
}

.footer-social a:hover {
  opacity: 0.6;
}

.footer-social svg {
  width: 100%;
  height: 100%;
  fill: white;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 16px;
  border-radius: var(--radius-badge);
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 8px;
  letter-spacing: 0.02em;
}

.badge--premium {
  background: var(--badge-premium);
  color: var(--badge-premium-text);
}

.badge--services {
  background: var(--badge-services);
  color: var(--badge-services-text);
  font-size: 9px;
}

.badge--projects {
  background: var(--badge-projects);
  color: var(--badge-projects-text);
  font-size: 9px;
}

.badge--process {
  background: var(--badge-process);
  color: var(--badge-process-text);
}

.badge--about {
  background: var(--badge-about);
  color: var(--badge-about-text);
}

.badge--tag {
  padding: 2px 10px;
  font-size: 6px;
}

.badge--tag-blue {
  background: var(--badge-tag-blue);
  color: var(--color-project-text);
}

.badge--tag-pink {
  background: var(--badge-tag-pink);
  color: var(--color-project-text);
}

.badge--tag-green {
  background: var(--badge-tag-green);
  color: var(--color-project-text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  border-radius: var(--radius-btn);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  text-decoration: none;
}

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

.btn--primary:hover {
  background: var(--color-text-dark);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--color-btn-outline);
  color: #3b404a;
}

.btn--outline:hover {
  background: rgba(0, 0, 0, 0.05);
}

.btn--white {
  background: var(--color-white);
  color: var(--color-text-dark);
}

.btn--white:hover {
  background: #f0f0f0;
}

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

.btn--dark:hover {
  background: #2d3440;
}

.btn--black {
  background: black;
  color: white;
  border-radius: var(--radius-btn-sm);
  padding: 10px 40px;
}

.btn--black:hover {
  background: #222;
}

.section {
  max-width: 1300px;
  margin: 0 auto;
  padding: 60px 60px;
  text-align: center;
}

.section--full {
  max-width: none;
  padding: 0;
}

.section--full > .section__inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 60px 60px;
}

.section__badge {
  margin-bottom: 16px;
}

.section__title {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 24px;
  color: var(--color-text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.section__subtitle {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 13px;
  color: var(--color-text-dark);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.slider {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 320px;
  margin: 30px auto 0;
  overflow: hidden;
  border-radius: var(--radius-card);
}

.slider__track {
  display: flex;
  width: 500%;
  animation: slideAnim 25s ease-in-out infinite;
}

.slider__slide {
  width: 20%;
  flex-shrink: 0;
}

.slider__slide img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.slider input[type="radio"] {
  display: none;
}

.slider__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.slider__dots label {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.slider__dots label:hover {
  background: rgba(255, 255, 255, 0.8);
}

#slide1:checked ~ .slider__dots label[for="slide1"],
#slide2:checked ~ .slider__dots label[for="slide2"],
#slide3:checked ~ .slider__dots label[for="slide3"],
#slide4:checked ~ .slider__dots label[for="slide4"],
#slide5:checked ~ .slider__dots label[for="slide5"] {
  background: white;
  transform: scale(1.2);
}

@keyframes slideAnim {
  0%    { transform: translateX(0%); }
  15%   { transform: translateX(0%); }
  20%   { transform: translateX(-20%); }
  35%   { transform: translateX(-20%); }
  40%   { transform: translateX(-40%); }
  55%   { transform: translateX(-40%); }
  60%   { transform: translateX(-60%); }
  75%   { transform: translateX(-60%); }
  80%   { transform: translateX(-80%); }
  95%   { transform: translateX(-80%); }
  100%  { transform: translateX(0%); }
}

.hero {
  position: relative;
  text-align: center;
  padding: 120px 40px 60px;
  overflow: hidden;
  min-height: 420px;
  max-width: 1300px;
  margin: 0 auto;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('../imagenes/hero-abstract 1.png') center center / cover no-repeat;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
}

.hero .badge {
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 48px;
  color: var(--color-text-hero);
  line-height: 1.15;
  margin-bottom: 4px;
}

.hero__title span {
  color: var(--color-text-dark);
}

.hero__subtitle {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 13px;
  color: var(--color-text-dark);
  max-width: 378px;
  margin: 20px auto;
  line-height: 1.6;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 40px;
}

.hero__trust {
  margin-top: 24px;
}

.hero__trust-label {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 8px;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.hero__trust-logos {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__trust-logos span {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 10px;
  color: var(--color-brand-gray);
}

.services {
  background: var(--color-light-bg);
  border-radius: var(--radius-card);
  padding: 40px;
}

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

.service-card {
  background: var(--color-white);
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 24px;
  text-align: left;
}

.service-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.service-card__icon {
  width: 24px;
  height: 24px;
  margin-bottom: 12px;
  color: var(--color-text-dark);
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.service-card__title {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 15px;
  color: black;
  margin-bottom: 6px;
}

.service-card__desc {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 10px;
  color: var(--color-text-gray-2);
  line-height: 1.5;
}

.projects {
  background: var(--color-light-bg);
  border-radius: var(--radius-card);
  padding: 40px;
}

.projects__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
  text-align: left;
}

.projects__header .section__title {
  margin-bottom: 0;
}

.projects__link {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 10px;
  color: #7e7e7e;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.projects__link svg {
  width: 16px;
  height: 16px;
}

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

.project-card {
  text-align: left;
}

.project-card__image {
  width: 100%;
  height: 150px;
  background: linear-gradient(135deg, #e0e5ec, #c8d0db);
  border-radius: var(--radius-card);
  margin-bottom: 12px;
  overflow: hidden;
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card__tag {
  margin-bottom: 6px;
}

.project-card__title {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 10px;
  color: var(--color-project-text);
  margin-bottom: 4px;
}

.project-card__desc {
  font-family: var(--font-primary);
  font-weight: 200;
  font-size: 7px;
  color: black;
}

.process {
  background: linear-gradient(180deg, #f5f5f8 0%, #e8e6f0 100%);
  border-radius: var(--radius-card);
  padding: 50px 40px 40px;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 50px;
  position: relative;
  align-items: start;
}

.process__steps::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: #c8c8d0;
  z-index: 0;
}

  .process__steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    max-width: 100%;
    overflow-x: auto;
    padding: 0 20px;
    margin: 0 auto;
  }

  .process-step {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0;
    flex: 1;
    max-width: 500px;
  }

  .process-step__number {
    width: 60px;
    height: 60px;
    background: var(--color-white);
    border: 1.5px solid #d8d8e0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 22px;
    color: var(--color-step-num);
    margin: 0 auto 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }

  .process-step__title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 13px;
    color: black;
    margin-bottom: 6px;
  }

  .process-step__desc {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 11px;
    color: var(--color-text-gray-2);
    line-height: 1.6;
  }

.status {
  background: var(--color-dark-bg);
  padding: 24px 60px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
}

.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 24px;
  color: #f9fafb;
  margin-bottom: 4px;
}

.stat__label {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 10px;
  color: var(--color-text-gray-4);
}

.about {
  text-align: left;
  background: linear-gradient(180deg, #f8f8fa 0%, #edeef2 100%);
  max-width: none;
  padding: 0;
}

.about__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 60px 60px;
}

.about__info .section__title {
  text-align: left;
}

.about__info .section__badge {
  text-align: left;
}

.about__text {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 13px;
  color: var(--color-text-dark);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 380px;
}

.about__checklist {
  margin-bottom: 24px;
}

.about__checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 12px;
  color: var(--color-text-dark);
  margin-bottom: 10px;
}

.about__checklist li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #e8f5e9;
  border-radius: 50%;
  font-size: 10px;
  color: #4caf50;
  flex-shrink: 0;
}

.about__team {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: relative;
  padding: 20px 0;
}

.team-card {
  background: var(--color-white);
  border: 1px solid #e8e8e8;
  border-radius: var(--radius-card-lg);
  padding: 24px 32px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 2;
}

.team-card--top {
  align-self: flex-start;
  margin-right: 40px;
}

.team-card--bottom {
  align-self: flex-end;
  margin-top: -10px;
}

.team-card__photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d0d5dd, #9ba3af);
  overflow: hidden;
  flex-shrink: 0;
}

.team-card__photo--dark {
  background: linear-gradient(135deg, #2d264b, #1e2532);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__name {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 14px;
  color: black;
  margin-bottom: 2px;
}

.team-card__role {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 11px;
  color: var(--color-text-gray);
}

.cta {
  background: url('../imagenes/card%20design.png') center center / cover no-repeat;
  border-radius: var(--radius-card);
  padding: 60px 40px;
  text-align: center;
  max-width: 1100px;
  margin: 20px auto;
}

.cta__title {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 24px;
  color: var(--color-white);
  margin-bottom: 16px;
  line-height: 1.3;
}

.cta__subtitle {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 12px;
  color: var(--color-text-body);
  max-width: 500px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.cta__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-content {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 60px 20px 40px;
}

.legal-card {
  position: relative;
  background: #2a2f3a;
  border-radius: var(--radius-card);
  overflow: hidden;
  max-width: 900px;
  width: 100%;
}

.legal-card__inner {
  position: relative;
  z-index: 1;
  padding: 40px 60px;
}

.legal-card__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1e2532 0%, #2d3444 50%, #3a4255 100%);
  border-radius: var(--radius-card);
}

.legal-card__title {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 24px;
  color: var(--color-off-white);
  margin-bottom: 24px;
  text-align: center;
}

.legal-card__text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  color: var(--color-text-body);
  line-height: 1.8;
  text-align: left;
}

.legal-card__text p {
  margin-bottom: 16px;
}

.faq-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.faq-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px 40px;
}

.faq-content .section__title {
  margin-bottom: 30px;
}

.faq-container {
  background: var(--color-white);
  border-radius: var(--radius-container);
  padding: 30px;
  max-width: 845px;
  width: 100%;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.faq-item {
  background: var(--color-light-gray);
  border-radius: var(--radius-btn);
  padding: 24px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: background 0.2s;
}

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

.faq-item:hover {
  background: #e5e5e5;
}

.faq-item__question {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 15px;
  color: black;
  margin-bottom: 8px;
}

.faq-item__answer {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 15px;
  color: var(--color-faq-answer);
  line-height: 1.5;
}

.faq-cta {
  margin-top: 30px;
}

.clients-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.clients-content {
  flex: 1;
  padding: 60px 40px 40px;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}

.clients-content .section__title {
  text-align: center;
}

.clients-content .section__subtitle {
  text-align: center;
}

.clients__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.client-card {
  background: var(--color-white);
  border: 1px solid #e8e8e8;
  border-radius: var(--radius-card-lg);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.client-card__photo {
  width: 46px;
  height: 49px;
  border-radius: var(--radius-card-lg);
  background: linear-gradient(135deg, #d0d5dd, #9ba3af);
  flex-shrink: 0;
  overflow: hidden;
}

.client-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-card__info {
  flex: 1;
}

.client-card__name {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 10px;
  color: black;
  margin-bottom: 6px;
}

.client-card__quote {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 8px;
  color: var(--color-text-gray-2);
  line-height: 1.6;
}

.affiliates-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.affiliates-content {
  flex: 1;
  padding: 60px 40px 40px;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}

.affiliates-content .section__title {
  text-align: center;
}

.affiliates-content .section__subtitle {
  text-align: center;
}

.affiliates__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.affiliate-card {
  background: var(--color-white);
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 20px;
  text-align: left;
}

.affiliate-card--centered {
  grid-column: 1 / -1;
  max-width: 300px;
  margin: 0 auto;
}

.affiliate-card__title {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 12px;
  color: black;
  margin-bottom: 8px;
}

.affiliate-card__desc {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 10px;
  color: var(--color-text-gray-2);
  line-height: 1.5;
}

.page-wrapper {
  max-width: 1300px;
  margin: 0 auto;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
  background: var(--color-white);
  border-radius: var(--radius-container);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

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

.form-group label {
  display: block;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 12px;
  color: var(--color-text-dark);
  margin-bottom: 6px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-primary);
  font-size: 12px;
  color: var(--color-text-dark);
  background: #fafafa;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-text-dark);
  background: var(--color-white);
}

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

.form-group select {
  cursor: pointer;
}

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

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

.form-checks label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  font-size: 12px;
  cursor: pointer;
}

.form-checks input[type="checkbox"],
.form-checks input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-text-dark);
  cursor: pointer;
}

.form-buttons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.form-buttons button {
  flex: 1;
}

@media (max-width: 1300px) {
  .section {
    padding: 50px 40px;
  }

  .footer {
    padding: 50px 50px;
  }

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

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

@media (max-width: 600px) {

  .header {
    width: calc(100% - 20px);
    max-width: 537px;
  }

  .hero {
    padding: 100px 20px 40px;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero__trust-logos {
    gap: 16px;
  }

  .section {
    padding: 40px 20px;
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .services {
    padding: 30px 20px;
  }

  .projects__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .projects {
    padding: 30px 20px;
  }

  .process__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .process__steps::before {
    display: none;
  }

  .process {
    padding: 30px 20px;
  }

  .status {
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 30px;
  }

  .stat {
    width: 40%;
  }

  .about__content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about__team {
    align-items: center;
  }

  .team-card--top {
    margin-right: 0;
  }

  .team-card--bottom {
    align-self: center;
  }

  .team-card {
    max-width: 280px;
    width: 100%;
  }

  .cta {
    margin: 10px 10px;
    padding: 40px 20px;
  }

  .cta__buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .footer {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 40px 30px;
  }

  .footer-brand {
    font-size: 20px;
    grid-column: 1 / -1;
  }

  .footer-col h3 {
    font-size: 15px;
  }

  .footer-col a {
    font-size: 10px;
  }

  .legal-card__inner {
    padding: 30px 24px;
  }

  .legal-card__title {
    font-size: 15px;
  }

  .legal-card__text {
    font-size: 11px;
    text-align: center;
  }

  .faq-item__question {
    font-size: 12px;
  }

  .faq-item__answer {
    font-size: 11px;
  }

  .clients__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .affiliates__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .affiliate-card--centered {
    max-width: 100%;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: 40px;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--header-border);
    border-radius: var(--radius-sm);
    flex-direction: column;
    padding: 8px;
    min-width: 160px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  }

  .header-nav.open {
    display: flex;
  }

  .header-hamburger {
    display: block;
    margin-left: auto;
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 12px;
  }

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

  .slider__slide img {
    height: 250px;
    object-fit: cover;
  }
}

