/* --------- RESET BÁSICO --------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #000;
  color: #f5f5f5;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

/* --------- NAVBAR --------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #000;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: visible;
}

.navbar::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.9) 40%,
    rgba(200,200,200,0.9) 60%,
    rgba(255,255,255,0) 100%
  );
  filter: blur(1px);
  animation: light-scan 6s linear infinite;
  opacity: 0.9;
  pointer-events: none;
}

@keyframes light-scan {
  0% {
    transform: translateX(-50%);
  }
  50% {
    transform: translateX(50%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.navbar-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10000;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.logo-img {
  width: 92px;
  height: auto;
  border-radius: 16px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 8px rgba(255,255,255,0.7))
    drop-shadow(0 0 24px rgba(150,150,150,0.8));
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(120deg, #ffffff, #dcdcdc, #9f9f9f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* MENÚ DESKTOP */
.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  position: relative;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffffff, #bfbfbf);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease-out;
  box-shadow: 0 0 6px rgba(255,255,255,0.6);
}

.nav-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* HAMBURGER (MÓVIL) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  position: relative;
  z-index: 11000;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #f5f5f5;
  border-radius: 999px;
  margin: 4px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* --------- HERO --------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  padding: 0 1.5rem;
  padding-top: 100px;
  overflow: hidden;
  z-index: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,0.32), transparent 60%),
    radial-gradient(circle at 80% 100%, rgba(180,180,180,0.25), transparent 55%),
    linear-gradient(to bottom, rgba(0,0,0,0.65), rgba(0,0,0,0.95));
  mix-blend-mode: screen;
  z-index: -1;
}

.hero-content {
  max-width: 1080px;
  text-align: left;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-kicker {
  font-size: 0.8rem;
  color: #d6d6d6;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.05;
  margin-bottom: 1rem;
  background: linear-gradient(120deg, #ffffff, #e2e2e2, #9e9e9e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 0 18px rgba(255,255,255,0.5),
    0 0 40px rgba(160,160,160,0.75);
}

.hero-subtitle {
  font-size: 0.98rem;
  color: #e0e0e0;
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.btn-primary {
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff, #bdbdbd);
  color: #000;
  box-shadow:
    0 0 10px rgba(255,255,255,0.7),
    0 0 35px rgba(150,150,150,0.9);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn-primary:hover {
  transform: translateY(-1px) scale(1.02);
  filter: brightness(1.08);
  box-shadow:
    0 0 14px rgba(255,255,255,0.9),
    0 0 40px rgba(180,180,180,1);
}

.btn-secondary {
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(0,0,0,0.5);
  cursor: pointer;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f5f5f5;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-1px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  font-size: 0.8rem;
  opacity: 0.9;
}

.metric {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(100,100,100,0.06));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
}

.metric-value {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
  background: linear-gradient(120deg, #ffffff, #cfcfcf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.metric-label {
  font-size: 0.75rem;
  color: #d0d0d0;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* --------- BLOQUE DE VALOR: UN SOLO DEGRADADO --------- */
.value-zone {
  background:
    radial-gradient(circle at 15% 0%, rgba(255,255,255,0.35), transparent 55%),
    radial-gradient(circle at 85% 100%, rgba(180,180,180,0.35), transparent 55%),
    linear-gradient(135deg, #000000 0%, #ffffff 40%, #b3b3b3 70%, #000000 100%);
  color: #000;
  padding: 4rem 1.5rem 4.5rem;
}

.value-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* --------- ¿POR QUÉ ELEGIRNOS? --------- */
.why-section {
  margin-bottom: 3.5rem;
  color: #111;
}

.why-title {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(120deg, #000000, #4d4d4d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.why-subtitle {
  font-size: 0.98rem;
  color: #222;
  max-width: 40rem;
  margin-bottom: 2rem;
}

.why-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2.5rem;
}

.why-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #111;
  background: rgba(255,255,255,0.75);
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  box-shadow:
    0 16px 40px rgba(0,0,0,0.18),
    0 0 18px rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0,0,0,0.05);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.why-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.0) 0%,
    rgba(255,255,255,0.55) 45%,
    rgba(255,255,255,0.0) 100%
  );
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.why-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.25),
    0 0 22px rgba(255,255,255,0.8);
  border-color: rgba(0,0,0,0.25);
  background: rgba(255,255,255,0.95);
}

.why-item:hover::after {
  transform: translateX(120%);
  opacity: 1;
}

.why-emoji {
  font-size: 1.4rem;
  line-height: 1;
  margin-top: 0.1rem;
}

.why-text-strong {
  font-weight: 600;
  display: block;
  margin-bottom: 0.15rem;
}

@media (max-width: 900px) {
  .why-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --------- TESTIMONIOS (CARRUSEL) --------- */
.testimonials {
  margin-bottom: 3.5rem;
  text-align: center;
  color: #111;
}

.testimonials-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(120deg, #000000, #4d4d4d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.testimonials-subtitle {
  font-size: 0.98rem;
  color: #222;
  max-width: 38rem;
  margin: 0 auto 2.5rem;
}

.testimonial-carousel {
  position: relative;
  max-width: 700px;
  margin: 0 auto 2rem;
  overflow: hidden;
  border-radius: 1.5rem;
}

.testimonial-track {
  display: flex;
  transition: transform 0.4s ease;
}

.testimonial-card {
  position: relative;
  flex: 0 0 100%;
  background: radial-gradient(circle at top, rgba(255,255,255,0.95), rgba(235,235,235,0.9));
  border-radius: 1.5rem;
  padding: 1.6rem 1.6rem 1.8rem;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  text-align: center;
  color: #111;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(245,197,66,0.25), transparent 55%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 26px 55px rgba(0,0,0,0.45);
  border-color: rgba(0,0,0,0.25);
  background: radial-gradient(circle at top, #ffffff, #f4f4f4);
}

.testimonial-card:hover::before {
  opacity: 1;
}

.testimonial-text {
  font-size: 0.95rem;
  color: #222;
  max-width: 32rem;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.98rem;
  margin-top: 0.3rem;
  color: #111;
}

.testimonial-role {
  font-size: 0.78rem;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.stars {
  color: #f5c542;
  font-size: 1.3rem;
  letter-spacing: 2px;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.testimonial-arrow {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.4);
  background: rgba(255,255,255,0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #111;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.testimonial-arrow:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 0 14px rgba(0,0,0,0.3);
}

/* --------- PREGUNTAS FRECUENTES (ACORDEÓN) --------- */
.faq-section {
  color: #111;
}

.faq-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(120deg, #000000, #4d4d4d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.faq-subtitle {
  font-size: 0.98rem;
  color: #222;
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  position: relative;
  border-radius: 1rem;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(0,0,0,0.12);
  padding: 0.9rem 1.2rem;
  overflow: hidden;
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
  box-shadow: 0 14px 35px rgba(0,0,0,0.18);
}

.faq-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.0) 0%,
    rgba(255,255,255,0.5) 40%,
    rgba(255,255,255,0.0) 100%
  );
  opacity: 0;
  transform: translateX(-25%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.faq-item.open,
.faq-item:hover {
  background: rgba(255,255,255,0.97);
  border-color: rgba(0,0,0,0.4);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  transform: translateY(-4px);
}

.faq-item.open::before,
.faq-item:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 0.75rem;
}

.faq-question {
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 0.1rem;
  color: #111;
}

.faq-toggle {
  font-size: 1.2rem;
  line-height: 1;
  color: #111;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-toggle {
  transform: rotate(90deg);
}

.faq-answer-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.25s ease;
  opacity: 0;
}

.faq-item.open .faq-answer-wrapper {
  max-height: 200px;
  opacity: 1;
}

.faq-answer {
  font-size: 0.9rem;
  color: #333;
  padding-top: 0.4rem;
  padding-bottom: 0.1rem;
}

/* --------- FOOTER --------- */
.footer {
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 2.5rem 1.5rem 1.5rem;
  color: #b5b5b5;
  font-size: 0.9rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand {
  max-width: 260px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.footer-logo-img {
  width: 70px;
  height: auto;
  border-radius: 14px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 6px rgba(255,255,255,0.6))
    drop-shadow(0 0 18px rgba(150,150,150,0.7));
}

.footer-logo-text {
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.85rem;
  background: linear-gradient(120deg, #ffffff, #dcdcdc, #9f9f9f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-brand-title {
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  display: none;
}

.footer-brand-text {
  font-size: 0.9rem;
  color: #d0d0d0;
}

.footer-column-title {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin-bottom: 0.7rem;
  color: #f5f5f5;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-links a {
  color: #b5b5b5;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.social-links {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.social-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.social-icon:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
  box-shadow: 0 0 10px rgba(255,255,255,0.35);
}

.social-icon svg {
  width: 15px;
  height: 15px;
  fill: #f5f5f5;
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: #808080;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links a {
  color: #a0a0a0;
  text-decoration: none;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* --------- RESPONSIVE --------- */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr);
    text-align: left;
  }

  .hero-metrics {
    margin-top: 0.75rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(0,0,0,0.97);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-direction: column;
    padding: 0 1.5rem;
    gap: 0.9rem;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    transform-origin: top;
    transform: translateY(-18px);
    transition:
      max-height 0.3s ease,
      opacity 0.25s ease,
      transform 0.28s ease;
    z-index: 10000;
  }

  .nav-links.open {
    padding: 0.75rem 1.5rem 1.25rem;
    max-height: 260px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero {
    padding-top: 100px;
  }

  .footer-inner {
    flex-direction: column;
  }
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}




/* --------- SECCIÓN QUIÉNES SOMOS / MISIÓN / VISIÓN --------- */
.about-section {
  position: relative;
  padding: 4rem 1.5rem 4.5rem;
  background:
    radial-gradient(circle at 10% 0%, rgba(255,255,255,0.25), transparent 55%),
    radial-gradient(circle at 90% 100%, rgba(180,180,180,0.3), transparent 55%),
    linear-gradient(135deg, #000000 0%, #ffffff 40%, #b3b3b3 70%, #000000 100%);
  color: #000;
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

/* Columna de texto */
.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Card base */
.about-card {
  position: relative;
  padding: 1.4rem 1.5rem;
  border-radius: 1.25rem;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.22),
    0 0 18px rgba(255,255,255,0.55);
  backdrop-filter: blur(8px);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.about-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.0) 0%,
    rgba(255,255,255,0.5) 40%,
    rgba(255,255,255,0.0) 100%
  );
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.about-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    0 24px 55px rgba(0,0,0,0.3),
    0 0 22px rgba(255,255,255,0.85);
  border-color: rgba(0,0,0,0.2);
  background: rgba(255,255,255,0.96);
}

.about-card:hover::after {
  transform: translateX(120%);
  opacity: 1;
}

/* Card principal (Quiénes somos) un poco más marcada */
.about-card-main {
  border-left: 3px solid #000;
  padding-top: 1.6rem;
  padding-bottom: 1.6rem;
}

/* Textos */
.about-card-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 0.35rem;
}

.about-card-title {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
  background: linear-gradient(120deg, #000000, #333333);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-card-subtitle {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #111;
}

.about-card-text {
  font-size: 0.95rem;
  color: #222;
  line-height: 1.55;
}

/* Iconos Misión / Visión */
.about-card-icon {
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
}

/* Bullets */
.about-list {
  margin: 0.4rem 0 0.6rem;
  padding-left: 1.2rem;
  font-size: 0.95rem;
  color: #222;
}

.about-list li {
  margin-bottom: 0.25rem;
}

/* Columna de imagen */
.about-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-media-glow {
  position: absolute;
  width: 90%;
  height: 80%;
  border-radius: 2rem;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,0.6), transparent 60%),
    radial-gradient(circle at 80% 100%, rgba(150,150,150,0.4), transparent 60%);
  filter: blur(10px);
  opacity: 0.65;
  z-index: 0;
}

.about-image {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  border-radius: 1.8rem;
  object-fit: cover;
  box-shadow:
    0 20px 50px rgba(0,0,0,0.45),
    0 0 22px rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.25);
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image:hover {
  transform: translateY(-6px);
  box-shadow:
    0 26px 65px rgba(0,0,0,0.55),
    0 0 26px rgba(255,255,255,0.95);
}

/* Responsive */
@media (max-width: 900px) {
  .about-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-media {
    order: -1;
    margin-bottom: 1.5rem;
  }
}



/* --------- SECCIÓN SERVICIOS (CARDS SOBRE FONDO DEGRADADO CLARO) --------- */
.services-section {
  padding: 4rem 1.5rem 4.5rem;
  /* fondo degradado claro, no negro */
  background:

  color: #000;
}

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.services-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.services-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(120deg, #000000, #4d4d4d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.services-subtitle {
  font-size: 0.98rem;
  color: #222;
}

/* GRID ORDENADO */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.7rem;
}

/* CARD CLARA INDEPENDIENTE */
.service-card {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.22),
    0 0 18px rgba(255,255,255,0.55);
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.0) 0%,
    rgba(255,255,255,0.5) 40%,
    rgba(255,255,255,0.0) 100%
  );
  opacity: 0;
  transform: translateX(-120%);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow:
    0 24px 55px rgba(0,0,0,0.3),
    0 0 22px rgba(255,255,255,0.85);
  border-color: rgba(0,0,0,0.2);
  background: rgba(255,255,255,0.96);
}

.service-card:hover::after {
  opacity: 1;
  transform: translateX(120%);
}

/* MEDIA: IMAGEN + TAG */
.service-media {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.service-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  transform: scale(1.03);
  filter: saturate(1.02) contrast(1.02) brightness(0.98);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.service-card:hover .service-image {
  transform: scale(1.08);
  filter: saturate(1.15) contrast(1.08) brightness(1);
}

.service-tag {
  position: absolute;
  left: 14px;
  bottom: 12px;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.75);
  color: #f5f5f5;
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
}

/* BODY */
.service-body {
  padding: 1.1rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.service-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
  background: linear-gradient(120deg, #000000, #333333);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.service-text {
  font-size: 0.9rem;
  color: #222;
  line-height: 1.55;
}

.service-ideal {
  font-size: 0.85rem;
  color: #444;
  margin-top: 0.15rem;
}

.service-ideal span {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: #111;
  display: block;
  margin-bottom: 0.1rem;
}

/* ACCIONES */
.service-actions {
  margin-top: 0.5rem;
}

/* BOTÓN "CONTÁCTANOS" */
.service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.7);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(135deg, #000000, #3a3a3a);
  color: #f5f5f5;
  cursor: pointer;
  box-shadow:
    0 0 10px rgba(0,0,0,0.45),
    0 12px 24px rgba(0,0,0,0.55);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.service-btn:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow:
    0 0 14px rgba(0,0,0,0.6),
    0 16px 32px rgba(0,0,0,0.8);
  border-color: #000;
  background: linear-gradient(135deg, #050505, #505050);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .services-section {
    padding: 3.2rem 1.25rem 3.5rem;
  }

  .service-image {
    height: 180px;
  }
}


/* --------- PORTAFOLIO --------- */
.portfolio-section {

}

.portfolio-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.portfolio-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(120deg, #ffffff, #dcdcdc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.portfolio-subtitle {
  font-size: 0.98rem;
  color: #000;
}

/* Filtros */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.2rem;
}

.filter-btn {
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  padding: 0.45rem 1.1rem;
  background: rgba(0,0,0,0.6);
  color: #f5f5f5;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.filter-btn:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-1px);
  box-shadow: 0 0 10px rgba(255,255,255,0.15);
}

.filter-btn.is-active {
  background: linear-gradient(135deg, #ffffff, #bdbdbd);
  color: #000;
  border-color: transparent;
  box-shadow:
    0 0 12px rgba(255,255,255,0.65),
    0 0 30px rgba(160,160,160,0.85);
}

/* GRID */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

/* CARD */
.portfolio-card {
  position: relative;
  border-radius: 1.3rem;
  overflow: hidden;
  background: radial-gradient(circle at top, #202020, #0d0d0d);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow:
    0 20px 45px rgba(0,0,0,0.7),
    0 0 20px rgba(255,255,255,0.06);
  transform: translateY(0);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 26px 60px rgba(0,0,0,0.9),
    0 0 26px rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.22);
  background: radial-gradient(circle at top, #2a2a2a, #101010);
}

/* MEDIA */
.portfolio-media {
  position: relative;
  overflow: hidden;
}

.portfolio-image {
  width: 100%;
  height: 190px;
  display: block;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.05) brightness(0.95);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.portfolio-card:hover .portfolio-image {
  transform: scale(1.09);
  filter: saturate(1.18) contrast(1.1) brightness(1);
}

/* OVERLAY */
.portfolio-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  align-items: center;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.1),
    rgba(0,0,0,0.85)
  );
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* BOTONES OVERLAY */
.portfolio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.7);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.6);
  color: #f5f5f5;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.portfolio-btn:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-1px);
  box-shadow: 0 0 10px rgba(255,255,255,0.28);
  border-color: #ffffff;
}

/* INFO */
.portfolio-info {
  padding: 1rem 1.2rem 1.2rem;
}

.portfolio-project-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.portfolio-tags {
  font-size: 0.85rem;
  color: #b5b5b5;
}

/* HIDE (para filtros) */
.portfolio-item.is-hidden {
  display: none;
}

/* MODAL / LIGHTBOX */
.portfolio-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.portfolio-modal.is-open {
  display: flex;
}

.portfolio-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
}

.portfolio-modal-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  border-radius: 1.2rem;
  overflow: hidden;
  background: #050505;
  box-shadow:
    0 24px 70px rgba(0,0,0,0.9),
    0 0 24px rgba(255,255,255,0.18);
  display: flex;
  flex-direction: column;
}

.portfolio-modal-image {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  background: #000;
}

.portfolio-modal-title {
  padding: 0.7rem 1rem 0.9rem;
  font-size: 0.9rem;
  color: #e0e0e0;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.portfolio-modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.7rem;
  border: none;
  background: rgba(0,0,0,0.65);
  color: #f5f5f5;
  border-radius: 999px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.8);
  transition: background 0.18s ease, transform 0.18s ease;
}

.portfolio-modal-close:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
  .portfolio-section {
    padding: 3.2rem 1.25rem 3.5rem;
  }

  .portfolio-image {
    height: 180px;
  }

  .portfolio-modal-content {
    width: 92%;
  }
}


/* --------- CONTACTO --------- */
.contact-section {
  padding: 4rem 1.5rem 4.5rem;
  background:
    radial-gradient(circle at 10% 0%, rgba(255,255,255,0.14), transparent 55%),
    radial-gradient(circle at 90% 100%, rgba(255,255,255,0.14), transparent 55%),
    linear-gradient(135deg, #000000 0%, #101010 35%, #1c1c1c 70%, #000000 100%);
  color: #f5f5f5;
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.7rem;
}

.contact-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(120deg, #ffffff, #dcdcdc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-subtitle {
  font-size: 0.98rem;
  color: #cfcfcf;
}

/* GRID */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
}

/* CARDS */
.contact-card {
  position: relative;
  border-radius: 1.4rem;
  padding: 1.6rem 1.7rem;
  background: radial-gradient(circle at top, rgba(255,255,255,0.04), rgba(0,0,0,0.85));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 22px 60px rgba(0,0,0,0.85),
    0 0 20px rgba(255,255,255,0.06);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0% 0%, rgba(255,255,255,0.17), transparent 55%);
  opacity: 0;
  transform: translate3d(-10px, -10px, 0);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 28px 70px rgba(0,0,0,0.95),
    0 0 26px rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.22);
  background: radial-gradient(circle at top, rgba(255,255,255,0.08), rgba(0,0,0,0.9));
}

.contact-card:hover::before {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.contact-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-field--split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.contact-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a0a0a0;
  margin-bottom: 0.2rem;
}

.contact-input {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.6);
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
  color: #f5f5f5;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    transform 0.15s ease;
}

.contact-input::placeholder {
  color: transparent;
}

.contact-textarea {
  border-radius: 1rem;
  resize: vertical;
  min-height: 110px;
}

.contact-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #f5f5f5 50%),
    linear-gradient(135deg, #f5f5f5 50%, transparent 50%);
  background-position:
    calc(100% - 14px) calc(50% - 3px),
    calc(100% - 9px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.contact-field:focus-within .contact-input {
  border-color: rgba(255,255,255,0.6);
  background: rgba(0,0,0,0.85);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.5),
    0 0 12px rgba(255,255,255,0.4);
  transform: translateY(-1px);
}

.contact-field:focus-within .contact-label {
  color: #ffffff;
}

/* BOTÓN */
.contact-submit {
  margin-top: 0.5rem;
  align-self: flex-start;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  border: none;
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  background: linear-gradient(135deg, #ffffff, #bdbdbd);
  color: #000;
  cursor: pointer;
  box-shadow:
    0 0 10px rgba(255,255,255,0.6),
    0 0 26px rgba(160,160,160,0.9);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.contact-submit:hover {
  transform: translateY(-1px) scale(1.02);
  filter: brightness(1.05);
  box-shadow:
    0 0 14px rgba(255,255,255,0.9),
    0 0 32px rgba(190,190,190,1);
}

.contact-form-note {
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: #a8a8a8;
}

.contact-form-feedback {
  margin-top: 0.4rem;
  font-size: 0.8rem;
}

/* INFO DE CONTACTO */
.contact-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}

.contact-list-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  box-shadow: 0 0 10px rgba(0,0,0,0.7);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 16px;
  height: 16px;
  fill: #f5f5f5;
}

.contact-list-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #bdbdbd;
}

.contact-list-value {
  font-size: 0.9rem;
  color: #ffffff;
}

.contact-list-value a,
.contact-list-value {
  text-decoration: none;
}

.contact-list-value:hover {
  text-decoration: underline;
}

/* PILL */
.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 0.75rem;
  color: #e0e0e0;
}

.contact-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #4ade80;
  box-shadow: 0 0 10px rgba(74,222,128,0.9);
}

/* MAPA */
.contact-card--map {
  padding-bottom: 1.3rem;
}

.map-wrapper {
  position: relative;
  margin-top: 0.5rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    0 18px 45px rgba(0,0,0,0.9),
    0 0 20px rgba(140,140,140,0.35);
}

.contact-map {
  width: 100%;
  height: 230px;
  border: 0;
  filter: grayscale(30%) contrast(1.05) brightness(0.95);
  transition: filter 0.25s ease, transform 0.25s ease;
}

.map-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 20% 0%, rgba(255,255,255,0.25), transparent 55%);
  opacity: 0.4;
  mix-blend-mode: screen;
}

.map-wrapper:hover .contact-map {
  filter: grayscale(0%) contrast(1.1) brightness(1.02);
  transform: scale(1.02);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 3.2rem 1.25rem 3.5rem;
  }

  .contact-field--split {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* HERO PORTAFOLIO CON IMAGEN */
.hero.hero--portafolio {
  position: relative;
  height: 90vh;
  min-height: 380px;      /* por si el viewport es pequeño */
  max-height: 720px;      /* para que no se descontrole en pantallas muy grandes */
  padding-top: 100px;     /* ajuste por la navbar fija que ya manejas */
  padding-left: 1.5rem;
  padding-right: 1.5rem;

  background-image: url("hero-portafolio.jpg"); /* pon aquí tu imagen */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Si antes usabas video en .hero, asegúrate de ocultarlo en esta variante si existiera */
.hero--portafolio .hero-video {
  display: none;
}


.wa-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
  z-index: 9999;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.wa-float svg{
  width: 30px;
  height: 30px;
  fill: #fff;
}

.wa-float:hover{
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
  filter: brightness(1.03);
}

.wa-float:active{
  transform: translateY(0) scale(.98);
}


/* ============== COOKIE BAR ============== */
.cookie-bar{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9998;
  display: none;
}

.cookie-bar.is-visible{ display:block; }

.cookie-bar__inner{
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(16, 16, 20, .92);
  color: #fff;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
}

.cookie-bar__text p{
  margin: 6px 0 0;
  line-height: 1.35;
  opacity: .9;
  max-width: 760px;
}

.cookie-bar__text a{
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-bar__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-btn{
  border: 0;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.cookie-btn--primary{
  background: #25D366; /* puedes cambiar a tu color brand */
  color: #0b0b0f;
}

.cookie-btn--ghost{
  background: rgba(255,255,255,.10);
  color: #fff;
}

.cookie-btn:active{ transform: scale(.98); }

/* ============== COOKIE MODAL ============== */
.cookie-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.cookie-modal.is-visible{ display:block; }

.cookie-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}

.cookie-modal__card{
  position: relative;
  margin: 10vh auto 0;
  width: min(620px, calc(100% - 32px));
  border-radius: 18px;
  background: #121218;
  color: #fff;
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
  overflow: hidden;
}

.cookie-modal__header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.cookie-modal__header h3{
  margin: 0;
  font-size: 18px;
}

.cookie-modal__close{
  border: 0;
  background: rgba(255,255,255,.10);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
}

.cookie-modal__body{
  padding: 14px 16px;
}

.cookie-opt{
  display: flex;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  margin-bottom: 10px;
}

.cookie-opt p{
  margin: 6px 0 0;
  opacity: .85;
  line-height: 1.35;
}

.cookie-modal__footer{
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 14px 16px;
  border-top: 1px solid rgba(255,255,255,.10);
}

@media (max-width: 720px){
  .cookie-bar__inner{ flex-direction: column; align-items: flex-start; }
  .cookie-bar__actions{ width:100%; justify-content: flex-start; }
}

