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

:root {
  --bg: #05070d;
  --panel: #0b0e16;
  --panel-2: #0f1320;
  --line: #222838;
  --text: #f5f6fb;
  --muted: #9ca3b4;
  --violet: #7b4dff;
  --violet-2: #4b22df;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at 70% 10%, rgba(108, 47, 255, .12), transparent 30%),
    linear-gradient(180deg, #05070d 0%, #03050a 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: 45px 45px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

.header {
  height: 76px;
  padding: 0 5%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 6, 12, .9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.logo {
  text-decoration: none;
  color: white;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -1.2px;
}

.logo span {
  color: var(--violet);
}

.logo b {
  color: var(--violet);
  font-size: 19px;
  margin-left: 7px;
}

.nav {
  display: flex;
  gap: 38px;
}

.nav a {
  color: #cfd2dc;
  text-decoration: none;
  font-size: 14px;
  padding: 28px 6px 24px;
  border-bottom: 2px solid transparent;
  transition: .25s;
}

.nav a:hover,
.nav a.active {
  color: #8f69ff;
  border-color: #8f69ff;
}

.cotiza {
  justify-self: end;
  color: white;
  text-decoration: none;
  border: 1px solid #643cf0;
  border-radius: 7px;
  padding: 11px 18px;
  font-size: 12px;
  font-weight: 700;
  transition: .25s;
}

.cotiza:hover {
  background: rgba(111, 72, 255, .15);
  box-shadow: 0 0 30px rgba(112, 68, 255, .18);
}

main {
  width: min(1400px, 92%);
  margin: auto;
}

.hero {
  min-height: 330px;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  align-items: center;
  gap: 30px;
  position: relative;
}

.hero-text {
  padding: 40px 0 30px;
  z-index: 2;
}

.eyebrow,
.works-head > div:first-child > span,
.budget-copy > span,
.contact > div:first-child > span {
  color: #8e64ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
}

.hero h1 {
  font-size: clamp(44px, 4.7vw, 73px);
  line-height: .98;
  letter-spacing: -3.3px;
  margin: 17px 0 18px;
  max-width: 650px;
}

.hero h1 span {
  display: block;
  color: #784aff;
}

.hero p {
  color: #c0c4cf;
  font-size: 15px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 26px;
}

.btn {
  min-height: 43px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  text-decoration: none;
  color: white;
  font-size: 13px;
  font-weight: 700;
  transition: .25s;
}

.primary {
  background: linear-gradient(135deg, #7648ff, #4d1fdc);
  box-shadow: 0 10px 30px rgba(98, 52, 255, .2);
}

.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 38px rgba(98, 52, 255, .35);
}

.secondary {
  border: 1px solid #6440da;
  background: rgba(9, 12, 20, .7);
}

.secondary:hover {
  background: rgba(112, 74, 255, .11);
}

.hero-image-wrap {
  height: 330px;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
}

.hero-glow {
  position: absolute;
  width: 540px;
  height: 270px;
  right: 5%;
  top: 20px;
  background: #5c20ff;
  filter: blur(110px);
  opacity: .25;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: screen;
  filter: contrast(1.05) saturate(1.1);
  mask-image: linear-gradient(to right, transparent 0%, black 12%, black 100%);
}

.benefits {
  margin-top: 3px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(180deg, rgba(13,17,27,.95), rgba(7,10,17,.95));
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 21px 26px;
  min-height: 102px;
}

.benefit:not(:last-child) {
  border-right: 1px solid var(--line);
}

.benefit-icon {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #8f66ff;
  font-size: 23px;
  background: radial-gradient(circle, rgba(124,76,255,.18), rgba(123,76,255,.06));
}

.benefit h3 {
  font-size: 14px;
  margin-bottom: 6px;
}

.benefit p {
  color: #aeb3bf;
  font-size: 12px;
  line-height: 1.55;
}

.works {
  padding: 36px 0 11px;
}

.works-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 16px;
}

.works-head h2 {
  margin-top: 7px;
  font-size: 28px;
  letter-spacing: -1px;
}

.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.filter {
  min-width: 95px;
  border: 1px solid #2b3141;
  background: transparent;
  color: white;
  border-radius: 7px;
  padding: 10px 17px;
  font-size: 12px;
  cursor: pointer;
  transition: .25s;
}

.filter:hover,
.filter.active {
  border-color: #6b3bf0;
  background: linear-gradient(135deg, #6f42f4, #471ecf);
}

.cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 11px;
}

.card {
  background: linear-gradient(180deg, #0d111b, #080b13);
  border: 1px solid #252a38;
  border-radius: 9px;
  overflow: hidden;
  min-width: 0;
  transition: .3s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #5632b7;
  box-shadow: 0 20px 40px rgba(0,0,0,.3);
}

.card-image {
  height: 140px;
  position: relative;
  overflow: hidden;
  background: #151923;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-image span {
  position: absolute;
  top: 9px;
  left: 9px;
  font-size: 10px;
  font-weight: 700;
  background: linear-gradient(135deg, #7b4eff, #4b21d1);
  padding: 5px 8px;
  border-radius: 6px;
}

.card-body {
  padding: 11px 13px 13px;
}

.card-body h3 {
  font-size: 12px;
  margin-bottom: 7px;
}

.card-body p {
  min-height: 40px;
  color: #adb2be;
  font-size: 10.5px;
  line-height: 1.5;
}

.card-body button {
  margin-top: 9px;
  padding: 7px 12px;
  color: #9c75ff;
  border: 1px solid #5635bd;
  background: transparent;
  border-radius: 5px;
  font-size: 10px;
  cursor: pointer;
}

.card-body button:hover {
  color: white;
  background: #5d35ce;
}

.budget {
  margin: 10px 0;
  min-height: 102px;
  display: grid;
  grid-template-columns: 300px 1fr auto;
  align-items: center;
  gap: 30px;
  border: 1px solid #5b32d1;
  border-radius: 10px;
  background:
    radial-gradient(circle at 10% 50%, rgba(111,52,255,.2), transparent 25%),
    linear-gradient(100deg, #140b31, #0d0d28 60%, #180c42);
  overflow: hidden;
  padding: 8px 25px 8px 8px;
}

.spool-wrap {
  height: 86px;
  overflow: hidden;
  border-radius: 8px;
}

.spool-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: screen;
}

.budget-copy h2 {
  font-size: 20px;
  margin: 5px 0 4px;
}

.budget-copy p {
  color: #bdc1cc;
  font-size: 10px;
  line-height: 1.5;
  max-width: 650px;
}

.budget-btn {
  white-space: nowrap;
}

.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 7px 0 12px;
}

.contact h2 {
  font-size: 22px;
  margin: 3px 0;
}

.contact p {
  color: #9ca3b0;
  font-size: 11px;
}

.contact-actions {
  display: flex;
  gap: 15px;
}

.contact-actions a {
  min-width: 235px;
  min-height: 42px;
  border-radius: 7px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: white;
  font-size: 12px;
  font-weight: 700;
}

.whatsapp {
  background: #0eb74c;
}

.instagram {
  border: 1px solid #343a48;
  background: rgba(12,15,23,.75);
}

footer {
  width: min(1400px, 92%);
  margin: auto;
  min-height: 55px;
  border-top: 1px solid rgba(255,255,255,.05);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  color: #7d8390;
  font-size: 10px;
}

footer p:nth-child(2) {
  text-align: center;
}

footer p:last-child {
  text-align: right;
}

@media (max-width: 1200px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .budget {
    grid-template-columns: 230px 1fr;
  }

  .budget-btn {
    grid-column: 1 / -1;
    justify-self: center;
    margin-bottom: 8px;
  }
}

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

  .nav {
    display: none;
  }

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

  .hero-text {
    text-align: center;
  }

  .hero p {
    margin: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image-wrap {
    height: 300px;
  }

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

  .benefit:nth-child(2) {
    border-right: none;
  }

  .benefit:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .works-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .filters {
    justify-content: flex-start;
  }

  .contact {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-actions {
    justify-content: center;
  }
}

@media (max-width: 650px) {
  .cotiza {
    display: none;
  }

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

  .hero h1 {
    font-size: 44px;
  }

  .hero-image-wrap {
    height: 220px;
  }

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

  .benefit {
    border-right: none !important;
    border-bottom: 1px solid var(--line);
  }

  .benefit:last-child {
    border-bottom: 0;
  }

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

  .card-image {
    height: 250px;
  }

  .budget {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 18px;
  }

  .spool-wrap {
    height: 130px;
  }

  .contact-actions {
    flex-direction: column;
  }

  .contact-actions a {
    min-width: 100%;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: center;
    padding: 18px 0;
  }

  footer p:nth-child(2),
  footer p:last-child {
    text-align: center;
  }
}

/* Enlace destacado a la galería */
.gallery-teaser{margin:38px 0 50px;display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center;padding:32px;background:linear-gradient(125deg,#15102d,#090c16);border:1px solid #5036a5;border-radius:17px}
.gallery-teaser-copy>span{color:#a68bff;font-size:12px;font-weight:800;letter-spacing:1.4px}
.gallery-teaser h2{font-size:clamp(26px,3vw,38px);line-height:1.12;margin:13px 0}
.gallery-teaser p{color:#aeb4c3;font-size:14px;line-height:1.7;margin-bottom:23px}
.gallery-teaser-photos{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;min-width:0}
.gallery-teaser-photos img{width:100%;height:180px;object-fit:cover;border-radius:12px;border:1px solid #38324f}
@media(max-width:800px){.gallery-teaser{grid-template-columns:1fr;padding:22px}.gallery-teaser-photos img{height:135px}}
