/* ── ANIMATED GRID BACKGROUND ───────────────────────── */
@keyframes gridMove {
  0%   { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}

.section {
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(28, 100, 120, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 100, 120, .03) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridMove 8s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.section > * {
  position: relative;
  z-index: 1;
}

/* ── SERVICES ───────────────────────────────────────── */
#servicios {
  background: var(--gray-50);
}

.services-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(28, 100, 120, .08);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease, background .4s ease, backdrop-filter .4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.service-card:hover {
  background: rgba(255,255,255,0.7) !important;
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-color: rgba(28, 100, 120, .2) !important;
  box-shadow: 0 8px 32px rgba(28,100,120,.12), 0 1px 0 rgba(255,255,255,.8) inset !important;
}

/* barra superior gradiente */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--pink));
  opacity: 0;
  transition: opacity .3s;
}

/* número decorativo de fondo */
.service-card::after {
  content: attr(data-index);
  position: absolute;
  bottom: -4px;
  right: 14px;
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--gray-100);
  pointer-events: none;
  transition: color .25s;
}

.service-card:hover {
  transform: translateY(-5px);
  background: #f0f8fb;
  border-color: rgba(28, 100, 120, .18);
  box-shadow: 0 16px 40px rgba(28, 100, 120, .13), 0 2px 8px rgba(28, 100, 120, .07);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover::after {
  color: rgba(28, 100, 120, .08);
}

/* icono con gradiente sutil */
.service-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal-pale) 0%, #d0edf5 100%);
  border: 1px solid rgba(28, 100, 120, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background .25s, border-color .25s, transform .25s;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  border-color: transparent;
  transform: rotate(-4deg) scale(1.08);
}

.service-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  transition: filter .25s;
}

.service-card:hover .service-icon img {
  filter: brightness(0) invert(1);
}

/* título con flecha */
.service-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}


.service-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0;
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex: 1;
}

.service-title::after {
  content: '→';
  font-size: .9rem;
  color: var(--pink);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .2s, transform .2s;
  flex-shrink: 0;
}

.service-card:hover .service-title::after {
  opacity: 1;
  transform: translateX(0);
}

.service-desc {
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ── WHY US ─────────────────────────────────────────── */
#nosotros {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-light));
  padding: 56px 40px;
  color: var(--white);
}

.why-visual-pattern {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 32px 32px;
}

.why-visual-content {
  position: relative;
  z-index: 1;
}

.why-visual-num {
  font-size: 5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, .15);
  line-height: 1;
  margin-bottom: 8px;
}

.why-visual-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.why-visual-text {
  font-size: .95rem;
  color: rgba(255, 255, 255, .75);
  line-height: 1.7;
}

.why-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.why-pill {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .9);
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.why-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.why-item-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal-pale);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-item-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.why-item-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.why-item-text {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ── PROCESS ────────────────────────────────────────── */
#proceso {
  background: var(--gray-50);
}

.process-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 64px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

/* línea base (gris) */
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  background: var(--gray-200);
  z-index: 0;
  border-radius: 999px;
}

/* línea de progreso animada */
.process-steps::after {
  content: '';
  position: absolute;
  top: 28px;
  left: 12.5%;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--pink));
  z-index: 1;
  border-radius: 999px;
  transition: width 1.2s cubic-bezier(.4, 0, .2, 1);
}

.process-steps.progress-animated::after {
  width: 75%; /* cubre de paso 1 a paso 4 */
}

.process-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 2;
}

.process-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gray-400);
  margin: 0 auto 20px;
  box-shadow: var(--shadow-sm);
  transition: border-color .4s ease, color .4s ease, box-shadow .4s ease;
}

.process-step.step-active .process-num {
  border-color: var(--teal);
  color: var(--teal);
  box-shadow: 0 0 0 6px rgba(28, 100, 120, .12);
}

.process-step:last-child.step-active .process-num {
  border-color: var(--pink);
  color: var(--pink);
  box-shadow: 0 0 0 6px rgba(224, 55, 138, .12);
}

.process-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-400);
  transition: color .4s ease;
}

.process-step.step-active .process-title {
  color: var(--gray-800);
}

.process-text {
  font-size: .85rem;
  color: var(--gray-400);
  line-height: 1.6;
  transition: color .4s ease;
}

.process-step.step-active .process-text {
  color: var(--gray-600);
}

@media (max-width: 700px) {
  .process-steps {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }

  .process-steps::before,
  .process-steps::after {
    display: none;
  }

  .process-step.step-active .process-num {
    border-color: var(--teal);
    color: var(--teal);
  }
}

/* ── TECH STACK ─────────────────────────────────────── */
.tech-strip {
  background: var(--white);
  padding: 48px 0;
}

.tech-label {
  text-align: center;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 28px;
}

.tech-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.tech-badge {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-600);
  transition: all .2s;
}

.tech-badge:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-pale);
}

/* ── TRUST / TESTIMONIALS STATIC ───────────────────── */
#testimonios {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  padding: 80px 0;
}

.trust-header {
  text-align: center;
  margin-bottom: 56px;
}

.trust-header h2 {
  color: var(--white);
}

.trust-header p {
  color: rgba(255, 255, 255, .7);
  margin-top: 12px;
}

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

.trust-card {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.trust-quote {
  font-size: 2.4rem;
  color: var(--pink);
  font-family: Georgia, serif;
  line-height: 1;
  flex-shrink: 0;
  margin-top: -8px;
}

.trust-text {
  font-size: .9rem;
  color: rgba(255, 255, 255, .85);
  line-height: 1.6;
  grid-column: 1 / -1;
  margin: 0 0 16px 0;
}

.trust-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--white);
  font-size: .9rem;
}

.trust-name {
  font-weight: 700;
  color: var(--white);
  font-size: .9rem;
}

.trust-role {
  font-size: .8rem;
  color: rgba(255, 255, 255, .5);
}

@media (max-width: 900px) {
  .trust-cards {
    grid-template-columns: 1fr;
  }
}

/* ── TESTIMONIALS CAROUSEL ──────────────────────────── */
.testimonials-section {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  padding: 80px 0;
  color: #fff;
}

.testimonials-grid {
  display: grid;
  gap: 24px;
}

.testimonial-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .1);
}

.testimonials-wrapper {
  display: flex;
  transition: transform .5s ease;
}

.testimonial-card {
  flex: 0 0 100%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.8;
  font-style: italic;
  opacity: 0.95;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: 1rem;
}

.testimonial-role {
  font-size: .85rem;
  opacity: 0.8;
}

.testimonials-nav {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  justify-content: center;
}

.testimonials-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .3);
  cursor: pointer;
  transition: background .3s;
}

.testimonials-dot.active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .testimonial-card {
    padding: 30px;
    min-height: 240px;
  }

  .testimonial-text {
    font-size: 1rem;
  }
}

/* ── TEAM ───────────────────────────────────────────── */
.team-section {
  padding: 80px 0;
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.team-grid.team-single {
  grid-template-columns: 1fr;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.team-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 50px;
}

.team-photo-side {
  display: flex;
  justify-content: center;
}

.team-avatar-large {
  width: 320px;
  height: 320px;
  object-fit: contain;
  display: block;
}

.team-photo-side.alt {
  order: 2;
}

.team-info-side h3 {
  font-size: 2rem;
  color: var(--teal-dark);
  margin-bottom: 8px;
}

.team-info-side .role {
  font-size: 1.15rem;
  color: var(--pink);
  font-weight: 600;
  margin-bottom: 24px;
}

.team-info-side p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 24px;
}

.team-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.skill-tag {
  background: var(--teal-pale);
  color: var(--teal-dark);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--teal-light);
}

.team-card {
  text-align: center;
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px);
}

.team-avatar {
  width: 140px;
  height: 140px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--teal), var(--pink));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  box-shadow: 0 8px 24px rgba(28, 100, 120, 0.15);
}

.team-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 6px;
}

.team-role {
  font-size: 0.95rem;
  color: var(--pink);
  font-weight: 600;
  margin-bottom: 12px;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .team-two-column {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .team-avatar-large {
    width: 240px;
    height: 240px;
  }

  .team-info-side h3 {
    font-size: 1.6rem;
  }

  .team-photo-side.alt {
    order: 0;
  }
}

/* ── CASOS DE ÉXITO ─────────────────────────────────── */
.cases-section {
  padding: 80px 0;
  background: var(--white);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 50px;
}

.case-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--pink));
}

.case-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

.case-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--teal), var(--pink));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.case-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 12px;
}

.case-description {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.case-result {
  background: var(--teal-pale);
  border-left: 4px solid var(--teal);
  padding: 12px 16px;
  margin-top: 16px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal-dark);
}

/* ── FAQ ────────────────────────────────────────────── */
.faq-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 24px;
  margin-top: 50px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--pink-light);
}

.faq-question {
  width: 100%;
  padding: 20px;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--teal-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  font-family: var(--font);
}

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

.faq-toggle {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--pink);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

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

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

.faq-answer-content {
  padding: 20px;
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.8;
}

/* ── BLOG ───────────────────────────────────────────── */
.blog-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 50px;
}

.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .12);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--teal), var(--pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255, 255, 255, .3);
}

.blog-card-content {
  padding: 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-date {
  font-size: .85rem;
  color: var(--pink);
  font-weight: 600;
  margin-bottom: 8px;
}

.blog-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-card-excerpt {
  font-size: .95rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-card-link {
  color: var(--pink);
  font-weight: 600;
  text-decoration: none;
  transition: color .2s;
}

.blog-card-link:hover {
  color: var(--pink-light);
}

/* ── CLIENTS / PARTNERS ─────────────────────────────── */
.clients-section {
  padding: 72px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}

.clients-header {
  text-align: center;
}

.clients-header .heading-lg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.clients-header .divider {
  color: var(--pink);
  font-weight: 300;
  opacity: 0.6;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  justify-items: center;
  align-items: center;
  gap: 72px 96px;
}

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

.client-item-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-item-logo {
  max-height: 10px;
  object-fit: contain;
  display: block;
  filter: grayscale(0) saturate(1) sepia(0) hue-rotate(0deg) brightness(1);
  transition: filter .4s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-item:hover .client-item-logo {
  filter: grayscale(1) saturate(0.4) sepia(0.15) hue-rotate(200deg) brightness(0.9);
}

/* Logo customers sizing */
.logo_customers {
  max-height: 40px;
  width: auto;
}

.client-item-name {
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray-600);
  text-align: center;
  max-width: 90px;
  line-height: 1.4;
  transition: color .3s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-item:hover .client-item-name {
  color: var(--teal);
}

@media (max-width: 768px) {
  .clients-grid {
    gap: 56px 72px;
  }
}

@media (max-width: 600px) {
  .service-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
  }

  .service-header {
    display: contents;
  }

  .service-icon {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: start;
    margin-bottom: 0;
  }

  .service-title {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    margin-bottom: 4px;
  }

  .service-desc {
    grid-column: 2;
    grid-row: 2;
  }

  .clients-header .heading-lg {
    flex-direction: column;
    gap: 8px;
  }

  .carousel-wrapper {
    gap: 12px;
  }

  .carousel-nav {
    width: 36px;
    height: 36px;
  }

  .clients-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 20px 0;
  }

  .client-item-logo {
    max-width: 150px;
  }

  .client-item-name {
    font-size: .68rem;
  }
}

/* ── FOOTER ─────────────────────────────────────────── */
footer {
  background: var(--gray-800);
  color: rgba(255, 255, 255, .7);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 34px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1) opacity(.8);
}

.footer-brand p {
  font-size: .88rem;
  line-height: 1.7;
  max-width: 260px;
}

.footer-col-title {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: .88rem;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, .6);
  transition: color .2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: .82rem;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: .82rem;
  color: rgba(255, 255, 255, .4);
  transition: color .2s;
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, .7);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-col-title {
    margin-bottom: 10px;
  }

  .footer-col a {
    margin-bottom: 6px;
  }

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

@media (max-width: 480px) {
  footer {
    padding: 28px 0 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
  }

  .footer-brand img {
    margin-bottom: 8px;
  }

  .footer-brand p {
    font-size: .8rem;
    line-height: 1.5;
  }

  .footer-col-title {
    margin-bottom: 6px;
  }

  .footer-col a {
    margin-bottom: 3px;
    font-size: .82rem;
  }

  .footer-bottom {
    padding-top: 14px;
  }
}
