/* @import url("https://fonts.googleapis.com/css2?family=Borel&display=swap"); */
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Outfit:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible+Mono:ital,wght@0,200..800;1,200..800&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Allura&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Outfit&display=swap");
:root {
  --bg: #f4f6ff;
  --blue: #2f80ff;
  --dark: #0b1220;
  --dark2: #090f1a;
  --muted: #94a3b8;
  --line: rgba(0, 0, 0, 0.08);
  --max: 1100px;
}

* {
  box-sizing: border-box;
}

body {
  padding: 0;
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: var(--bg);
}

/* ========= HERO (FULL BG + CONTENIDO CENTRADO) ========= */
.hero-wrap {
  padding: 0;
}

.hero-dark {
  width: 100%;
  height: 100vh;
  background: #000; /* como tu referencia */
  box-shadow: 0 18px 50px rgba(11, 18, 32, 0.18);

  /* IMPORTANTE: sin padding lateral aquí */
  padding: 18px 0 70px;
  overflow: hidden;
}

/* Contenedor que iguala el ancho de Servicios */
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 26px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Top pill nav */
.topbar {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.logo {
  display: flex;
  gap: 16px;
  font-family: "Borel", cursive;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: rgba(0, 0, 0, 0.85);
  padding: 8px 10px;
  text-decoration: none;
  align-items: center;
}

.nav {
  display: flex;
  gap: 12px;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav a {
  /* font-family: "Inter", sans-serif; */
  color: rgba(0, 0, 0, 0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 999px;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.chip-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chip {
  font-size: 12px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.75);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  text-decoration: none;
  white-space: nowrap;
}
.chip:hover {
  font-size: 12px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.75);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(75, 73, 73, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  text-decoration: none;
  white-space: nowrap;
}
svg {
  color: #000;
} /* negro */
/* svg { color: #7b1fa2; }  violeta místico */
/* svg { color: #ad1457; }  rosa oscuro */
/* svg { color: #c9a227; }  dorado */
.witch-knot {
  width: 60px;
  height: 60px;
}

.chip.primary {
  background: rgba(0, 0, 0, 0.92);
  color: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.92);
  /* font-family: "Inter", sans-serif; */
}

.chip.primary:hover {
  border: 1.5px solid rgba(0, 0, 0, 0.92);

  background: rgba(255, 255, 255, 0.95);
  color: rgba(0, 0, 0, 0.92);
}

/* Hero body */
.hero-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: end;
  gap: 26px;
}

.hello {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  font-weight: 500;
}

.headline {
  font-family: "Outfit", sans-serif;
  margin: 0;
  font-size: 72px; /* controlado */
  line-height: 0.98;
  /* letter-spacing: 0.1em; */
  /* letter-spacing: 0.1px; */
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
}

/* IMPORTANTE: quitar el font-size gigante de .soft */
.headline .soft {
  font-family: "Outfit", sans-serif;
  display: block;
  font-size: inherit;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

/* Columna derecha: imagen + texto */
.side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  padding-bottom: 8px;
}

.img-persona img {
  width: 260px;
  max-width: 100%;
  height: auto;
  display: block;
}

.side p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
  max-width: 620px;
  text-align: right;
}

.side p strong {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 900;
}

/* ========= SERVICIOS (tu sección) ========= */
.svc {
  padding: 120px 0 130px;
  /* background: var(--bg); */
  background: white;
}

.svc-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 26px;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
  align-items: start;
}

.svc-title {
  margin: 0 0 18px;
  font-size: 44px;
  line-height: 1;
  letter-spacing: 0.2px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.8);
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 360px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgb(29, 29, 29);
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: white;
  font-size: 12px;
  font-weight: 500;
  user-select: none;
}

.svc-intro {
  margin: 4px 0 22px;
  max-width: 520px;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(15, 23, 42, 0.6);
}

.svc-list {
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  max-width: 560px;
}

.svc-item {
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  padding: 14px 0;
}

.svc-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  padding: 8px 0;
}
.svc-item summary::-webkit-details-marker {
  display: none;
}

.svc-item summary span {
  font-size: 28px;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: rgba(15, 23, 42, 0.7);
}

.chev {
  width: 18px;
  height: 18px;
  border-right: 2px solid rgba(15, 23, 42, 0.45);
  border-bottom: 2px solid rgba(15, 23, 42, 0.45);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
  flex: 0 0 auto;
}
details[open] .chev {
  transform: rotate(-135deg);
}

.svc-content {
  padding: 8px 0 2px;
}
.svc-content p {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(15, 23, 42, 0.55);
  max-width: 520px;
}

@media (max-width: 900px) {
  .svc-wrap {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .svc-title {
    font-size: 34px;
  }
  .svc-item summary span {
    font-size: 22px;
  }
}

:root {
  --bg: #f4f6ff;
  --dark: #0b1220;
  --dark2: #090f1a;
  --line: rgba(255, 255, 255, 0.1);
  --textW: rgba(255, 255, 255, 0.92);
  --mutedW: rgba(255, 255, 255, 0.62);
  --max: 1100px;
}

/* ===== STRIP ===== */
.strip {
  background: white;
  padding: 58px 0 48px;
}

.strip-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 26px;
}

.marquee {
  border-radius: 999px;
  background: white;
  /* border: 1px solid rgba(15, 23, 42, 0.08); */
  overflow: hidden;
  padding: 10px 0;
  position: relative;
}

/* fade edges */
.marquee:before,
.marquee:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  /* pointer-events: none; */
  z-index: 2;
}
/* .marquee:before {
  left: 0;
  background: linear-gradient(
    90deg,
    rgba(244, 246, 255, 1),
    rgba(244, 246, 255, 0)
  );
} */
/* .marquee:after {
  right: 0;
  background: linear-gradient(
    270deg,
    rgba(244, 246, 255, 1),
    rgba(244, 246, 255, 0)
  );
} */

.marquee-track {
  display: flex;
  gap: 69px;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: marquee 14s linear infinite;
  padding-left: 26px;
}

.marquee-track span {
  font-size: 32px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.95);
  letter-spacing: 0.02em;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

/* ===== CONTACT DARK ===== */
.contact-dark {
  background: black;
  padding: 70px 0 80px;
}

.contact-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 26px;
  text-align: center;
}

.contact-inner h2 {
  margin: 0 0 10px;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  /* font-family: "Allura", cursive; */
  font-weight: 600;
  color: var(--textW);
  letter-spacing: 0.2px;
}

.contact-sub {
  margin: 0 auto 18px;
  max-width: 520px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--mutedW);
}

.contact-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 14px 0 24px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  font-family: "Poppins", sans-serif;
  background: rgba(255, 255, 255, 0.92);
  color: rgba(11, 18, 32, 0.95);
  font-weight: 500;
  font-size: 12px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.92);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  font-family: "Poppins", sans-serif;

  font-weight: 500;
  font-size: 12px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.c-item {
  text-decoration: none;
  color: inherit;
  background: transparent; /* sin relleno */
  border: none; /* sin borde general */
  border-right: 2px solid rgba(255, 255, 255, 0.25); /* solo línea derecha */
  border-radius: 0; /* sin bordes redondeados */
  padding: 8px 12px; /* padding mínimo */
  text-align: left;
  transition:
    transform 0.16s ease,
    border-color 0.16s ease;
  font-family: "Poppins", sans-serif;
}

.c-item:hover {
  transform: translateY(-2px);
  border-right-color: rgba(255, 255, 255, 0.6);
}

.c-item .k {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 4px;
}
.c-item .v {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-mini {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 16px;
  font-weight: 500;
  font-family: "Allura", cursive;
}
.footer-mini .dot {
  opacity: 0.6;
}

@media (max-width: 900px) {
  .contact-inner h2 {
    font-size: 34px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== PROYECTOS ===== */
.proj {
  padding: 70px 0 90px;
  background: black;
}

.proj-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 26px;
}

.proj-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.proj-title {
  margin: 0;
  font-size: 44px;
  line-height: 1;
  letter-spacing: 0.2px;
  font-weight: 700;
  color: white;
}

.proj-controls {
  display: flex;
  gap: 10px;
}

.proj-btn {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: rgba(15, 23, 42, 0.75);
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease;
}
.proj-btn:hover {
  transform: translateY(-2px);
  color: rgba(255, 255, 255, 0.75);

  background-color: #111111;
  border-color: rgba(255, 255, 255, 0.35);
}

/* viewport */
.proj-viewport {
  overflow: hidden;
  border-radius: 22px;
}

.proj-track {
  margin-top: 30px;
  display: flex;
  gap: 10px;
  will-change: transform;
  transition: transform 0.28s ease;
}

/* card */
.proj-card {
  flex: 0 0 340px; /* tamaño “cuadrado alto” */
  height: 420px;
  border-radius: 26px;
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  padding: 16px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
  cursor: pointer;
}

.proj-card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 128, 255, 0.3);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12);
}

/* tags arriba */
.proj-tags {
  display: flex;
  gap: 10px;
  align-items: center;
  position: relative;
  z-index: 2;
  margin-bottom: 10px;
}

.proj-tag {
  font-size: 11px;
  font-weight: 500;
  color: white;
  background: black;
  border: 1px solid rgba(15, 23, 42, 0.12);
  padding: 7px 12px;
  border-radius: 999px;
  user-select: none;
}

/* thumb (placeholder) */
.proj-thumb {
  height: 255px;
  pointer-events: none;
  border-radius: 20px;
  background: radial-gradient(
      500px 220px at 70% 10%,
      rgba(47, 128, 255, 0.18),
      transparent 55%
    ),
    linear-gradient(120deg, rgba(15, 23, 42, 0.05), rgba(255, 255, 255, 0.12));
  border: 1px solid rgba(15, 23, 42, 0.08);
  margin-top: 6px;
}
.proj-thumb.alt {
  background: radial-gradient(
      520px 240px at 25% 0%,
      rgba(15, 23, 42, 0.08),
      transparent 60%
    ),
    linear-gradient(120deg, rgba(47, 128, 255, 0.1), rgba(255, 255, 255, 0.1));
}

/* Swiper: permitir que tus cards se vean igual */
.proj-swiper {
  padding-top: 30px;
}
.proj-swiper .swiper-wrapper {
  align-items: stretch;
}
.proj-swiper .swiper-slide {
  height: 27rem;
}

/* Ya no necesitas estas dos con Swiper (opcional eliminarlas):
.proj-viewport { ... }
.proj-track { ... }
*/

/* texto abajo */
.proj-body {
  pointer-events: none;
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
}

.proj-body h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(0, 0, 0, 0.85);
}

.proj-body p {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(15, 23, 42, 0.55);
}

/* barra inferior (progreso) */
.proj-progress {
  margin-top: 16px;
  height: 2px;
  background: rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
}
.proj-progress .bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 25%; /* JS lo ajusta */
  background: rgba(98, 99, 102, 0.55);
  border-radius: 999px;
  transition:
    width 0.2s ease,
    transform 0.28s ease;
  transform: translateX(0%);
}

/* responsive */
@media (max-width: 900px) {
  .proj-title {
    font-size: 34px;
  }
  .proj-card {
    flex-basis: 290px;
    height: 390px;
  }
}
@media (max-width: 640px) {
  .proj-head {
    align-items: center;
  }
  .proj-title {
    font-size: 28px;
  }
  .proj-card {
    flex-basis: 82vw;
    height: 420px;
  }
}

/* CONTENEDOR de la imagen dentro de la card */
.proj-thumb {
  height: 255px; /* misma altura del diseño */
  border-radius: 20px;
  overflow: hidden; /* CLAVE: recorta dentro del radio */
  border: 1px solid rgba(15, 23, 42, 0.08);
  margin-top: 6px;
  background: #eef2ff; /* fallback si la imagen tarda */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* IMAGEN: que siempre cuadre sin deformarse */
.proj-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover; /* llena el cuadro (sin deformar) */
  object-position: top; /* muestra más la parte superior */
}

/* si en lugar de recortar quieres que se vea COMPLETA */
.proj-thumb.is-contain img {
  object-fit: contain;
  background: #fff;
}

/* CONTENEDOR DEL CARRUSEL (marco redondeado) */
.shots {
  margin-top: 14px;
}

.shots-swiper {
  border-radius: 18px; /* redondeado */
  overflow: hidden; /* recorta todo dentro del borde */
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  padding: 14px 14px 34px; /* espacio interno */
}

/* SLIDE */
.shot-card {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #f8fafc; /* fondo suave tipo “marco” */
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.shot-card img {
  width: 100%;
  height: 460px; /* alto para que se vea completo */
  object-fit: contain; /* NO recorta: muestra toda la UI */
  display: block;
  background: #f1f5f9; /* relleno si sobra espacio */
}

/* TEXTO ABAJO */
.shot-card figcaption {
  padding: 10px 12px;
  font-size: 0.95rem;
  opacity: 0.9;
  background: #fff;
}

/* FLECHAS A LOS COSTADOS (fuera del marco interno) */
.shots-swiper .swiper-button-prev,
.shots-swiper .swiper-button-next {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

/* separarlas un poco hacia afuera */
.shots-swiper .swiper-button-prev {
  left: 10px;
}
.shots-swiper .swiper-button-next {
  right: 10px;
}

/* tamaño del ícono */
.shots-swiper .swiper-button-prev::after,
.shots-swiper .swiper-button-next::after {
  font-size: 16px;
  font-weight: 700;
}

/* PUNTOS */
.shots-swiper .swiper-pagination {
  bottom: 10px !important;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .shot-card img {
    height: 300px;
  }
}

@media (max-width: 920px) {
  .img-persona img {
    width: 10rem;
  }

  .nav {
    display: none;
  }
  .topbar {
    justify-content: space-between;
  }
  .hero-body {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .headline {
    font-size: 48px;
  }
  .side {
    align-items: center;
  }
  .side p {
    text-align: center;
  }
  .hello,
  h1 {
    text-align: center;
  }
  /* h1{
    text-align: center;
 
 
    } */

  .proj-swiper .swiper-slide {
    height: 29rem;
  }
  .proj-tags {
    flex-wrap: wrap;
  }
}
